Back to rankings

lfnovo/open-notebook

TypeScriptopen-notebook.ai

An Open Source implementation of Notebook LM with more flexibility and features

assistantlearningnote-takingnotebooknotes-appself-learning
Star Growth
Stars
35.8k
Forks
4.1k
Weekly Growth
β€”
Issues
91
10k20k30k
Oct 2024May 2025Dec 2025Jul 2026
Artifactsnpmnpm install open-notebook
README

Forks Stargazers Issues MIT License


Logo

Open Notebook

An open source, privacy-focused alternative to Google's Notebook LM!
Join our Discord server for help, to share workflow ideas, and suggest features!
Checkout our website Β»
Follow @lfnovo on X for updates

πŸ“š Get Started Β· πŸ“– User Guide Β· ✨ Features Β· πŸš€ Deploy

lfnovo%2Fopen-notebook | Trendshift

New Notebook

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 18+ 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, Russian, and Bengali 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 18+ 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

Python Next.js React SurrealDB LangChain

πŸš€ 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
    # Credentials default to root:root for a zero-config local setup. Before
    # exposing this instance to a network, set SURREAL_USER / SURREAL_PASSWORD
    # in a .env file (see .env.example) β€” they are applied here and to the
    # open_notebook service below, so the two always stay in sync.
    # List (exec) form so each interpolated value stays a single argument β€”
    # a password containing spaces would otherwise be split into several.
    command: ["start", "--log", "info", "--user", "${SURREAL_USER:-root}", "--pass", "${SURREAL_PASSWORD:-root}", "rocksdb:/mydata/mydatabase.db"]
    user: root  # Required for bind mounts on Linux
    ports:
      # Bound to localhost only: the open_notebook service reaches this over
      # the internal compose network regardless, so the host port is purely
      # for local debugging (e.g. Surrealist, `surreal sql`). Exposing this
      # on 0.0.0.0 would let anyone who can reach the host connect with the
      # default root:root credentials.
      - "127.0.0.1:8000:8000"
    volumes:
      - ./surreal_data:/mydata
    environment:
      - SURREAL_EXPERIMENTAL_GRAPHQL=true
    restart: always
    pull_policy: always

  open_notebook:
    image: lfnovo/open_notebook:v1-latest
    ports:
      - "8502:8502"  # Web UI
      - "5055:5055"  # REST API
    environment:
      # REQUIRED: Change this to your own secret string
      # This encrypts your API keys in the database
      - OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string

      # Database connection. SURREAL_USER / SURREAL_PASSWORD default to root:root
      # for local use; override them in a .env file before exposing the instance
      # (the same values configure the surrealdb service above).
      - SURREAL_URL=ws://surrealdb:8000/rpc
      - SURREAL_USER=${SURREAL_USER:-root}
      - SURREAL_PASSWORD=${SURREAL_PASSWORD:-root}
      - SURREAL_NAMESPACE=open_notebook
      - SURREAL_DATABASE=open_notebook
    volumes:
      - ./notebook_data:/app/data
    depends_on:
      - surrealdb
    restart: always
    pull_policy: 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

  1. Go to Models and choose your provider (OpenAI, Anthropic, Google, etc.)
  2. Click + Add Configuration
  3. Paste your API key and other info as needed and click Add Configuration
  4. Click Test to test connection
  5. Click Sync Models and check models to include
  6. Under Default Model Assignments, click Auto-Assign Defaults or manually specify which models to use for what

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


πŸ“– Need Help?


Star History

Star History Chart

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 βœ… βœ… ❌ ❌
oMLX βœ… βœ… ❌ ❌
Perplexity βœ… ❌ ❌ ❌
ElevenLabs ❌ ❌ βœ… βœ…
Deepgram ❌ ❌ βœ… βœ…
Azure OpenAI βœ… βœ… βœ… βœ…
Mistral βœ… βœ… βœ… βœ…
DeepSeek βœ… ❌ ❌ ❌
Cohere βœ… βœ… ❌ ❌
Voyage ❌ βœ… ❌ ❌
xAI βœ… ❌ ❌ βœ…
OpenRouter βœ… βœ… βœ… βœ…
DashScope (Qwen) βœ… ❌ ❌ ❌
MiniMax βœ… ❌ ❌ ❌
Novita βœ… ❌ ❌ ❌
PayPerQ (PPQ) βœ… βœ… βœ… βœ…
OpenAI Compatible* βœ… βœ… βœ… βœ…

*Supports LM Studio and any OpenAI-compatible endpoint. Prefer the native oMLX provider for oMLX (Apple Silicon); see docs/5-CONFIGURATION/omlx.md.

✨ 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: 18+ 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 API Docs
  • πŸ” 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

Check out our podcast sample

πŸ“š Documentation

Getting Started

User Guide

Advanced Topics

(back to top)

πŸ—ΊοΈ 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: 18+ 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.

(back to top)

πŸ“– Need Help?

🀝 Community & Contributing

Join the Community

  • πŸ’¬ Discord Server - Get help, share ideas, and connect with other users
  • 𝕏 Follow @lfnovo on X - Project updates and news from the maintainer
  • πŸ› 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, including our guidelines for AI-assisted contributions. To understand what we're building (and what we'll say no to), read VISION.md.

(back to top)

πŸ“„ License

Open Notebook is MIT licensed. See the LICENSE file for details.

Community Support:

(back to top)

Related repositories
openclaw/openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

TypeScriptnpmOtheraiassistant
openclaw.ai
383.6k80.6k
chatboxai/chatbox

Powerful AI Client

TypeScriptnpmGNU General Public License v3.0chatgptopenai
chatboxai.app
41.1k4.2k
LAION-AI/Open-Assistant

OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.

PythonPyPIApache License 2.0chatgptlanguage-model
open-assistant.io
37.4k3.3k
CopilotKit/CopilotKit

The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Protocol

TypeScriptnpmMIT Licenseaillm
docs.copilotkit.ai
36.2k4.5k
khoj-ai/khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

PythonPyPIGNU Affero General Public License v3.0semantic-searchemacs
khoj.dev
35.9k2.3k
Bin-Huang/chatbox

User-friendly Desktop Client App for AI Models/LLMs (GPT, Claude, Gemini, Ollama...)

TypeScriptnpmGNU General Public License v3.0chatgptopenai
chatboxai.app
33k3.1k
agent0ai/agent-zero

Agent Zero AI framework

PythonPyPIOtheragentai
agent-zero.ai
18.5k3.7k
leon-ai/leon

🧠 Leon is your open-source personal assistant.

TypeScriptnpmMIT Licenseleonpersonal-assistant
getleon.ai
17.4k1.5k
tambo-ai/tambo

Generative UI SDK for React

TypeScriptnpmMIT Licenseaijs
tambo.co
11.2k559
nullclaw/nullclaw

Fastest, smallest, and fully autonomous AI assistant infrastructure written in Zig

ZigMIT Licenseaiassistant
nullclaw.io
7.8k917
GoogleCloudPlatform/kubectl-ai

AI powered Kubernetes Assistant

GoGo ModulesApache License 2.0aiassistant
7.5k708
huggingface/speech-to-speech

Build local voice agents with open-source models

PythonPyPIApache License 2.0aiassistant
6.2k800