heartleo

    heartleo/zlib

    A command-line tool for Z-Library. Search, download, send to Kindle, and integrate with AI agents.

    ai
    cli
    annas-archive
    book
    calibre
    calibre-plugin
    calibre-web
    Go
    MIT
    1.2K stars
    94 forks
    1.2K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 5 days ago, with 3 contributors on GitHub.

    Peaked at #44 in the weekly ranking the week of Oct 18, its best in the past year.

    Use Cases & Benefits

    • Provides a command-line interface to search, download, and send books from Z-Library to Kindle and AI agents.
    • Enables seamless integration with AI agents like Claude Code and Codex for automated book retrieval and management.
    • Use for quickly searching and downloading ebooks from Z-Library directly in the terminal with advanced filtering options.
    • Use for sending downloaded ebooks to a Kindle device via configured email for convenient reading.
    • Use for integrating ebook search and download capabilities into AI workflows or chatbots using agent plugins.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A Z-Library CLI to search, download, and send books to Kindle, for you and AI agents like Claude Code and Codex.

    🔍 Search — filter by year, language, and format; sort results
    📚 Browse — favorites, recommendations, popular books, and download history
    📥 Download — view book details and choose a download directory
    📖 Send to Kindle — deliver files to your Kindle address
    🕒 Profile — check your daily download quota
    🎨 Themes — switch color themes with /theme
    🌐 Network — find working mirrors with zlib doctor, or use a proxy
    🤖 AI Agent Integration — integrate with Claude Code and Codex through Agent plugins

    macOS / Linux with the install script (installs to /usr/local/bin, may ask for sudo):

    Or download a binary from Releases and put it on your PATH. See Installation for Go installation, source builds, and upgrades.

    Excerpt from the heartleo/zlib README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    94+10

    Open issues

    2-4

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    heartleo/zlib compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40—
    heygen-com/hyperframes79.6K+4.1K45today
    heartleo/zlib1.2K—425 days ago
    Category median98.1K+5.2K45—

    Discover Repositories

    Search across tracked repositories by name or description