LibreAI / RAG & Knowledge / Open Notebook
// rag · lfnovo/open-notebook

Open Notebook

Open Notebook is an open-source rag & knowledge project by lfnovo (lfnovo/open-notebook on GitHub). It has 41,792 GitHub stars and 4,805 forks, is released under the MIT license, and was last updated on GitHub on 8 November 2026.

Self-hosted NotebookLM alternative — private research notebooks, 20+ AI providers and multi-speaker podcasts, MIT

★ 41.8k stars⑂ 4.8k forksMITupdated 2026-11
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

GitHub stars
41,792
Forks
4,805
License
MIT
Last updated on GitHub
8 November 2026
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Download the compose file

    Fetch the official docker-compose.yml into a folder.

  2. Set your encryption key

    Change OPEN_NOTEBOOK_ENCRYPTION_KEY to a long random secret — it encrypts the API keys you store, so keep it.

  3. Start it and connect a provider

    Bring the two containers up, open the UI, and add a provider (cloud API key, or a local Ollama base URL) under Models.

// features

Why people love it

20+ AI providers, or fully local

OpenAI, Anthropic, Google, Mistral, Ollama, LM Studio and any OpenAI-compatible endpoint — swap providers per model type.

Multi-modal sources

PDFs, videos, audio, web pages, Office docs, EPUBs and Reddit, all searchable in one notebook.

Citations on every answer

Chat answers cite the sources, notes and insights they used.

Multi-speaker podcasts

Professional podcast generation with up to 4 speakers and custom profiles — NotebookLM itself stops at 2.

Full REST API

Programmatic access to notebooks, sources and chat for custom integrations.

Privacy-first by design

Self-hosted; with local models nothing leaves your machine.

// run it

Run it yourself

  1. Step 1 — Download the compose file

    Fetch the official docker-compose.yml from the repo.

    curl -o docker-compose.yml https://raw.githubusercontent.com/lfnovo/open-notebook/main/docker-compose.yml
  2. Step 2 — Generate an encryption key

    Make a long random secret for OPEN_NOTEBOOK_ENCRYPTION_KEY.

    openssl rand -hex 32
  3. Step 3 — Start the services

    Bring up SurrealDB and the app, then open the UI.

    docker compose up -d
// use cases

What you can build

  • Research with cited answers from your own documents
  • Turn papers and notes into multi-speaker podcasts
  • Self-host a private NotebookLM for a team
  • Build research workflows on the REST API

Two more from the same shelf: insights-lm-public — Self-hosted NotebookLM alternative, and SurfSense — Air-gapped, open-source NotebookLM alternative that. Browse every RAG & Knowledge tool in the catalogue to compare the category. Before running a model locally, check how much VRAM you need for local LLMs — model size has to match your hardware.

// faq

Questions, answered

Is Open Notebook really free?

Yes — MIT licensed and self-hosted. You pay only for the AI provider usage you choose, or nothing with local Ollama models.

How is it different from NotebookLM?

It is self-hosted, works with any provider (not just Google), has a full REST API, and makes podcasts with up to 4 speakers.

Do I need Docker?

Docker Compose is the recommended route; a from-source install exists for developers.

Which models can I use?

20+ providers including OpenAI, Anthropic, Google, Mistral and Ollama, plus LM Studio and any OpenAI-compatible server.

Is my data private?

Yes — it is self-hosted, and with local models nothing leaves your machine. Note the UI has no password by default on a shared network, so bind it to localhost or set OPEN_NOTEBOOK_PASSWORD.

// keep exploring

Similar tools

RAG & Knowledge

insights-lm-public

Self-hosted NotebookLM alternative — chat with documents, get audio summaries.

★ 656 starsMIT
View guide →
RAG & Knowledge

SurfSense

Air-gapped, open-source NotebookLM alternative that turns local documents into briefings, decks and podcasts.

★ 16.3k starsApache-2.0
View guide →
RAG & Knowledge

deep-searcher

DeepSearcher — open-source deep research over your private data, with reasoning models and Milvus retrieval.

★ 8.3k starsApache-2.0
View guide →
RAG & Knowledge

reader-source

Self-hosted rag & knowledge: open-source native macos ai reading workspace for pdf.

★ 58 starsMIT
View guide →
RAG & Knowledge

uteke

Self-hosted rag & knowledge: 🧠 the brain for your ai — local-first memory engine for.

★ 268 starsApache-2.0
View guide →
RAG & Knowledge

OpenDocuments

Self-hosted RAG search across GitHub, Drive, Notion, and local files.

★ 115 starsMIT
View guide →
// alternatives

Alternatives in RAG & Knowledge

The most-starred other RAG & Knowledge projects in the LibreAI catalogue — the realistic shortlist if Open Notebook is not the right fit.

  • MarkItDown★ 193.5k

    MarkItDown — Microsoft tool that converts PDFs, Office files, images and more to clean Markdown for LLMs, MIT

  • Dify★ 157.8k

    Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or…

  • ragflow★ 91.6k

    RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context…

  • PaddleOCR★ 90.8k

    Lightweight OCR toolkit turning PDFs and images into structured, LLM-ready data in 100+ languages

  • MinerU★ 82.5k

    MinerU — turns PDFs and Office documents into LLM-ready Markdown and JSON for agents and RAG pipelines, Apache-2.0 plus terms

// more in rag

More in RAG & Knowledge

Nearby RAG & Knowledge projects in the catalogue, closest in stars to Open Notebook — keep exploring the shelf either side of it.

  • private-gpt★ 57.6k

    Complete API layer for private AI apps on local models: RAG, skills, tools, MCP and text-to-SQL

  • faiss★ 41.1k

    Meta's library for efficient similarity search and clustering of dense vectors, in C++ and Python

  • serviette★ 58.7k

    A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.

  • Marker★ 40.6k

    Marker — converts PDFs to Markdown and JSON quickly and accurately, with layout, tables and math intact, Apache-2.0

  • anything-llm★ 66.7k

    Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

  • quivr★ 39.6k

    Open-source engine turning continuous content streams into search, monitoring and alerts

Get Open Notebook

Free and open — grab the source, star the repo, and start creating.