lfnovo / open-notebook
An Open Source implementation of Notebook LM with more flexibility and features
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing lfnovo/open-notebook in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
Preview<a id="readme-top"></a>
<!-- [![Contributors][contributors-shield]][contributors-url] --> <!-- [![LinkedIn][linkedin-shield]][linkedin-url] --> <!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/lfnovo/open-notebook"> <img src="docs/assets/hero.svg" alt="Logo"> </a> <h3 align="center">Open Notebook</h3> <p align="center"> An open source, privacy-focused alternative to Google's Notebook LM! <br /><strong>Join our <a href="https://discord.gg/37XJPXfz2w">Discord server</a> for help, to share workflow ideas, and suggest features!</strong> <br /> <a href="https://www.open-notebook.ai"><strong>Checkout our website Β»</strong></a> <br /> <br /> <a href="docs/0-START-HERE/index.md">π Get Started</a> Β· <a href="docs/3-USER-GUIDE/index.md">π User Guide</a> Β· <a href="docs/2-CORE-CONCEPTS/index.md">β¨ Features</a> Β· <a href="docs/1-INSTALLATION/index.md">π Deploy</a> </p> </div> <p align="center"> <a href="https://trendshift.io/repositories/14536" target="_blank"><img src="https://trendshift.io/api/badge/repositories/14536" alt="lfnovo%2Fopen-notebook | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a> </p> <div align="center"> <!-- Keep these links. Translations will automatically update with the README. --> <a href="https://zdoc.app/de/lfnovo/open-notebook">Deutsch</a> | <a href="https://zdoc.app/es/lfnovo/open-notebook">EspaΓ±ol</a> | <a href="https://zdoc.app/fr/lfnovo/open-notebook">franΓ§ais</a> | <a href="https://zdoc.app/ja/lfnovo/open-notebook">ζ₯ζ¬θͺ</a> | <a href="https://zdoc.app/ko/lfnovo/open-notebook">νκ΅μ΄</a> | <a href="https://zdoc.app/pt/lfnovo/open-notebook">PortuguΓͺs</a> | <a href="https://zdoc.app/ru/lfnovo/open-notebook">Π ΡΡΡΠΊΠΈΠΉ</a> | <a href="https://zdoc.app/zh/lfnovo/open-notebook">δΈζ</a> </div>A private, multi-model, 100% local, full-featured alternative to Notebook LM

In a world dominated by Artificial Intelligence, having the ability to think π§ and acquire new knowledge π‘, is a skill that should not be a privilege for a few, nor restricted to a single provider.
Open Notebook empowers you to:
- π Control your data - Keep your research private and secure
- π€ Choose your AI models - Support for 16+ providers including OpenAI, Anthropic, Ollama, LM Studio, and more
- π Organize multi-modal content - PDFs, videos, audio, web pages, and more
- ποΈ Generate professional podcasts - Advanced multi-speaker podcast generation
- π Search intelligently - Full-text and vector search across all your content
- π¬ Chat with context - AI conversations powered by your research
- π Multi-language UI - English, Portuguese, Chinese (Simplified & Traditional), Japanese, and Russian support
Learn more about our project at https://www.open-notebook.ai
π Open Notebook vs Google Notebook LM
| Feature | Open Notebook | Google Notebook LM | Advantage |
|---|---|---|---|
| Privacy & Control | Self-hosted, your data | Google cloud only | Complete data sovereignty |
| AI Provider Choice | 16+ providers (OpenAI, Anthropic, Ollama, LM Studio, etc.) | Google models only | Flexibility and cost optimization |
| Podcast Speakers | 1-4 speakers with custom profiles | 2 speakers only | Extreme flexibility |
| Content Transformations | Custom and built-in | Limited options | Unlimited processing power |
| API Access | Full REST API | No API | Complete automation |
| Deployment | Docker, cloud, or local | Google hosted only | Deploy anywhere |
| Citations | Basic references (will improve) | Comprehensive with sources | Research integrity |
| Customization | Open source, fully customizable | Closed system | Unlimited extensibility |
| Cost | Pay only for AI usage | Free tier + Monthly subscription | Transparent and controllable |
Why Choose Open Notebook?
- π Privacy First: Your sensitive research stays completely private
- π° Cost Control: Choose cheaper AI providers or run locally with Ollama
- ποΈ Better Podcasts: Full script control and multi-speaker flexibility vs limited 2-speaker deep-dive format
- π§ Unlimited Customization: Modify, extend, and integrate as needed
- π No Vendor Lock-in: Switch providers, deploy anywhere, own your data
Built With
π Quick Start (2 Minutes)
Prerequisites
- Docker Desktop installed
- That's it! (API keys configured later in the UI)
Step 1: Get docker-compose.yml
Option A: Download directly
curl -o docker-compose.yml https://raw.githubusercontent.com/lfnovo/open-notebook/main/docker-compose.yml
Option B: Create the file manually
Copy this into a new file called docker-compose.yml:
services:
surrealdb:
image: surrealdb/surrealdb:v2
command: start --log info --user root --pass root rocksdb:/mydata/mydatabase.db
user: root
ports:
- "8000:8000"
volumes:
- ./surreal_data:/mydata
restart: always
open_notebook:
image: lfnovo/open_notebook:v1-latest
ports:
- "8502:8502"
- "5055:5055"
environment:
- OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string
- SURREAL_URL=ws://surrealdb:8000/rpc
- SURREAL_USER=root
- SURREAL_PASSWORD=root
- SURREAL_NAMESPACE=open_notebook
- SURREAL_DATABASE=open_notebook
volumes:
- ./notebook_data:/app/data
depends_on:
- surrealdb
restart: always
Step 2: Set Your Encryption Key
Edit docker-compose.yml and change this line:
- OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string
to any secret value (e.g., my-super-secret-key-123)
Step 3: Start Services
docker compose up -d
Wait 15-20 seconds, then open: http://localhost:8502
Step 4: Configure AI Provider
- Go to Settings β API Keys
- Click Add Credential
- Choose your provider (OpenAI, Anthropic, Google, etc.)
- Paste your API key and click Save
- Click Test Connection β Discover Models β Register Models
Done! You're ready to create your first notebook.
Need an API key? Get one from: OpenAI Β· Anthropic Β· Google Β· Groq (free tier)
Want free local AI? See examples/docker-compose-ollama.yml for Ollama setup
π More Installation Options
- With Ollama (Free Local AI) - Run models locally without API costs
- From Source (Developers) - For development and contributions
- Complete Installation Guide - All deployment scenarios
π Need Help?
- π€ AI Installation Assistant: CustomGPT to help you install
- π Troubleshooting: 5-minute troubleshooting guide
- π¬ Community Support: Discord Server
- π Report Issues: GitHub Issues
Star History
Provider Support Matrix
Thanks to the Esperanto library, we support this providers out of the box!
| Provider | LLM Support | Embedding Support | Speech-to-Text | Text-to-Speech |
|---|---|---|---|---|
| OpenAI | β | β | β | β |
| Anthropic | β | β | β | β |
| Groq | β | β | β | β |
| Google (GenAI) | β | β | β | β |
| Vertex AI | β | β | β | β |
| Ollama | β | β | β | β |
| Perplexity | β | β | β | β |
| ElevenLabs | β | β | β | β |
| Azure OpenAI | β | β | β | β |
| Mistral | β | β | β | β |
| DeepSeek | β | β | β | β |
| Voyage | β | β | β | β |
| xAI | β | β | β | β |
| OpenRouter | β | β | β | β |
| OpenAI Compatible* | β | β | β | β |
*Supports LM Studio and any OpenAI-compatible endpoint
β¨ Key Features
Core Capabilities
- π Privacy-First: Your data stays under your control - no cloud dependencies
- π― Multi-Notebook Organization: Manage multiple research projects seamlessly
- π Universal Content Support: PDFs, videos, audio, web pages, Office docs, and more
- π€ Multi-Model AI Support: 16+ providers including OpenAI, Anthropic, Ollama, Google, LM Studio, and more
- ποΈ Professional Podcast Generation: Advanced multi-speaker podcasts with Episode Profiles
- π Intelligent Search: Full-text and vector search across all your content
- π¬ Context-Aware Chat: AI conversations powered by your research materials
- π AI-Assisted Notes: Generate insights or write notes manually
Advanced Features
- β‘ Reasoning Model Support: Full support for thinking models like DeepSeek-R1 and Qwen3
- π§ Content Transformations: Powerful customizable actions to summarize and extract insights
- π Comprehensive REST API: Full programmatic access for custom integrations
- π Optional Password Protection: Secure public deployments with authentication
- π Fine-Grained Context Control: Choose exactly what to share with AI models
- π Citations: Get answers with proper source citations
Podcast Feature
π Documentation
Getting Started
- π Introduction - Learn what Open Notebook offers
- β‘ Quick Start - Get up and running in 5 minutes
- π§ Installation - Comprehensive setup guide
- π― Your First Notebook - Step-by-step tutorial
User Guide
- π± Interface Overview - Understanding the layout
- π Notebooks - Organizing your research
- π Sources - Managing content types
- π Notes - Creating and managing notes
- π¬ Chat - AI conversations
- π Search - Finding information
Advanced Topics
- ποΈ Podcast Generation - Create professional podcasts
- π§ Content Transformations - Customize content processing
- π€ AI Models - AI model configuration
- π MCP Integration - Connect with Claude Desktop, VS Code and other MCP clients
- π§ REST API Reference - Complete API documentation
- π Security - Password protection and privacy
- π Deployment - Complete deployment guides for all scenarios
πΊοΈ Roadmap
Upcoming Features
- Live Front-End Updates: Real-time UI updates for smoother experience
- Async Processing: Faster UI through asynchronous content processing
- Cross-Notebook Sources: Reuse research materials across projects
- Bookmark Integration: Connect with your favorite bookmarking apps
Recently Completed β
- Next.js Frontend: Modern React-based frontend with improved performance
- Comprehensive REST API: Full programmatic access to all functionality
- Multi-Model Support: 16+ AI providers including OpenAI, Anthropic, Ollama, LM Studio
- Advanced Podcast Generator: Professional multi-speaker podcasts with Episode Profiles
- Content Transformations: Powerful customizable actions for content processing
- Enhanced Citations: Improved layout and finer control for source citations
- Multiple Chat Sessions: Manage different conversations within notebooks
See the open issues for a full list of proposed features and known issues.
<p align="right">(<a href="#readme-top">back to top</a>)</p>π Need Help?
- π€ AI Installation Assistant: We have a CustomGPT built to help you install Open Notebook - it will guide you through each step!
- New to Open Notebook? Start with our Getting Started Guide
- Need installation help? Check our Installation Guide
- Want to see it in action? Try our Quick Start Tutorial
π€ Community & Contributing
Join the Community
- π¬ Discord Server - Get help, share ideas, and connect with other users
- π GitHub Issues - Report bugs and request features
- β Star this repo - Show your support and help others discover Open Notebook
Contributing
We welcome contributions! We're especially looking for help with:
- Frontend Development: Help improve our modern Next.js/React UI
- Testing & Bug Fixes: Make Open Notebook more robust
- Feature Development: Build the coolest research tool together
- Documentation: Improve guides and tutorials
Current Tech Stack: Python, FastAPI, Next.js, React, SurrealDB Future Roadmap: Real-time updates, enhanced async processing
See our Contributing Guide for detailed information on how to get started.
<p align="right">(<a href="#readme-top">back to top</a>)</p>π License
Open Notebook is MIT licensed. See the LICENSE file for details.
Community Support:
- π¬ Discord Server - Get help, share ideas, and connect with users
- π GitHub Issues - Report bugs and request features
- π Website - Learn more about the project
