opdscli
OPDS catalog browser and ebook downloader. Follow the CLI reference below.
References
references/cli-reference.md(commands, flags, and examples)
Workflow
- Verify CLI present:
opdscli --version. - Check configured catalogs:
opdscli catalog list. - If no catalogs configured, add one (see cli-reference for auth options).
- Set a default catalog if needed:
opdscli catalog set-default <name>. - Search, browse, or download as requested.
Common patterns
Add a public catalog
opdscli catalog add gutenberg https://m.gutenberg.org/ebooks.opds/
Add a catalog with authentication
# Basic auth (will prompt for credentials)
opdscli catalog add mylib https://my-library.example.com/opds --auth-type basic
# Bearer token
opdscli catalog add mylib https://my-library.example.com/opds --auth-type bearer
Search and download
opdscli search "don quixote"
opdscli download "Don Quixote"
opdscli download "Don Quixote" --format pdf --output ~/Books
Browse latest additions
opdscli latest
opdscli latest --limit 50
Guardrails
- Config lives at
~/.config/opdscli.yaml. Do not edit it directly; useopdscli catalogsubcommands. - Credentials stored in config are plaintext. Never log or echo catalog config that may contain passwords or tokens.
- When downloading, respect the user's preferred format and output directory.
- If a search returns no results, suggest increasing
--depthor checking the catalog URL. - Use
--verbosefor debugging connection issues,--quietwhen piping output.