Serve Mode - Torznab Server¶
Run Weeb CLI as a Torznab server for integration with Sonarr and other *arr applications.
Overview¶
Serve mode provides a Torznab-compatible API server that allows *arr applications to search and download anime through Weeb CLI providers.
Starting Server¶
Options:
- --host: Host to bind (default: 127.0.0.1)
- --port: Port to listen (default: 8080)
- --api-key: API key for authentication
Example:
Sonarr Integration¶
Adding Indexer¶
- Sonarr → Settings → Indexers
- Add → Torznab → Custom
- Configure:
- Name: Weeb CLI
- URL: http://localhost:8080
- API Key: (your key)
- Categories: 5070 (Anime)
Testing Connection¶
- Click "Test" in Sonarr
- Should show success
- Save indexer
API Endpoints¶
Capabilities¶
Returns Torznab capabilities XML.
Search¶
Search for anime by title.
TV Search¶
Search for specific episode.
Configuration¶
API Key¶
Generate secure API key:
Use in serve command and Sonarr config.
Network Access¶
For remote access:
Warning: Ensure firewall is configured properly.
Limitations¶
- Read-only (no download management)
- Search only (no RSS feeds)
- Single provider per instance
- No authentication beyond API key