Source catalog API
Author-owned HTTP(S) catalogs — not streaming platforms. Intro → plug-in tutorial. Legal → source policy.
init .\catalog --recipe source-catalogadd . --permission network:requestDeclare networkHosts (bare domains) in the outer manifest.
Handlers
Section titled “Handlers”| Handler | Returns |
|---|---|
search / browse / listCollection | { tracks, total, hasMore } |
resolve | One playable http(s) URL |
User confirms new domains; no retry loops after denial.
Network rules
Section titled “Network rules”- Host must be in
networkHosts - No custom ports (443/80)
- Prefer HTTPS; no cookies/tokens for platform bypass
snippet source-provider-searchexample network-sourceapi errors