teng-lin

    teng-lin/notebooklm-py

    Unofficial Python API and agentic skill for Google Gemini Notebook. Full programmatic access to Gemini Notebook's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw.

    20.2K stars
    2.7K forks
    87 GitHub watchers
    Updated Nov 10, 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 12 days ago, with 38 contributors on GitHub.

    Peaked at #16 in the weekly ranking the week of Mar 8, its best in the past year.

    Use Cases & Benefits

    • Provides an unofficial Python API and CLI for full programmatic access to Google NotebookLM features, including those not exposed in the web UI.
    • Enables advanced automation and integration with AI agents like Claude Code, offering capabilities beyond the official interface for research and content generation.
    • Use for building custom research pipelines that bulk-import and analyze diverse sources like URLs, PDFs, and YouTube videos programmatically.
    • Use for automating content creation workflows to generate audio, video, quizzes, flashcards, slide decks, and mind maps with fine-grained control over formats.
    • Use for integrating NotebookLM capabilities into AI agents or CI/CD pipelines to enable natural language automation and batch artifact downloads.

    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

    Comprehensive Python API for Google NotebookLM. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—from Python or the command line.

    ⚠️ Unofficial Library - Use at Your Own Risk

    This library uses undocumented Google APIs that can change without notice.

    • Not affiliated with Google - This is a community project
    • APIs may break - Google can change internal endpoints anytime
    • Rate limits apply - Heavy usage may be throttled

    Best for prototypes, research, and personal projects. See Troubleshooting for debugging tips.

    🤖 AI Agent Tools - Integrate NotebookLM into Claude Code or other LLM agents. Ships with Claude Code skills for natural language automation (notebooklm skill install), or build your own integrations with the async Python API.

    📚 Research Automation - Bulk-import sources (URLs, PDFs, YouTube, Google Drive), run web/Drive research queries with auto-import, and extract insights programmatically. Build repeatable research pipelines.

    🎙️ Content Generation - Generate Audio Overviews (podcasts), videos, slide decks, quizzes, flashcards, infographics, data tables, mind maps, and study guides. Full control over formats, styles, and output.

    📥 Downloads & Export - Download all generated artifacts locally (MP3, MP4, PDF, PNG, CSV, JSON, Markdown). Export to Google Docs/Sheets. Features the web UI doesn't offer: batch downloads, quiz/flashcard export in multiple formats, mind map JSON extraction.

    Excerpt from the teng-lin/notebooklm-py 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

    Sep 3: +16

    +1,428 stars over 85 days across 8 snapshot days; best day +16 on Sep 3.

    Forks

    2.7K+156

    Open issues

    28-1

    Compared with peers in API

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

    teng-lin/notebooklm-py compared with API repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/claude-quickstarts20.5K+73375—
    vxcontrol/pentagi33.9K+7197536 days ago
    N4darae/shrt2.6K+5298—
    agentgateway/agentgateway6.1K+1877514 days ago
    teng-lin/notebooklm-py20.2K—7512 days ago
    BenedictKing/ccx4.0K—32117 days ago
    Category median6.1K+62475—

    Discover Repositories

    Search across tracked repositories by name or description