Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

opdscli

bởi rafadc

Search & Research
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Browse, search, and download ebooks from OPDS catalogs using the opdscli CLI.

Mô tả

Kỹ năng này làm gì

opdscli browses, searches, and downloads ebooks from OPDS catalog servers via the command line. It supports multiple catalogs with basic auth or bearer token authentication. All catalog config is managed through subcommands stored in ~/.config/opdscli.yaml.

A CLI approach enables scripting and headless ebook retrieval without running a full GUI ebook manager like Calibre.

Khi nào nên dùng

  • Downloading a specific book from Project Gutenberg without opening a browser
  • Searching a private library's OPDS catalog for titles by author
  • Browsing the 50 latest additions to a self-hosted ebook server
  • Managing multiple OPDS catalog endpoints from a single config
  • Downloading books in PDF format to a chosen local directory

Quy trình ví dụ

ĐẦU VÀO

User asks: download Don Quixote as a PDF from Project Gutenberg

AGENT
  1. 1

    Verify the CLI is available: opdscli --version

  2. 2

    Add the Gutenberg catalog: opdscli catalog add gutenberg https://m.gutenberg.org/ebooks.opds/

  3. 3

    Set it as the default: opdscli catalog set-default gutenberg

  4. 4

    Search for the title: opdscli search "don quixote"

  5. 5

    Download in PDF format: opdscli download "Don Quixote" --format pdf --output ~/Books

ĐẦU RA

Don Quixote downloaded as a PDF file to ~/Books

Yêu cầu

  • opdscli CLI installed (available via: brew install rafadc/opdscli/opdscli)

Cài đặt

clawhub install rafadc/opdscli

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết