Reading the repo
Reading the repo
Assembly instructions
An Open Source implementation of Notebook LM with more flexibility and features
Saved setup from 2 h ago
Will it work on my device?
Needs Git: xcode-select --install
git clone https://github.com/lfnovo/open-notebook.git cd open-notebook
Python 3.12, Docker
brew install uv brew install --cask docker # Docker Desktop
Fill in secrets: OPEN_NOTEBOOK_ENCRYPTION_KEY, SURREAL_PASSWORD
cp .env.example .env
uv sync
uv run pytest
mkdir open-notebook && cd open-notebook
curl -o docker-compose.yml https://raw.githubusercontent.com/lfnovo/open-notebook/main/docker-compose.yml
This is the official docker-compose.yml from this repository. It runs two services: surrealdb (the database) and open_notebook (UI, API and background worker).
Edit docker-compose.yml and change this line:
- OPEN_NOTEBOOK_ENCRYPTION_KEY=change-me-to-a-secret-string
to a long random secret you generate yourself (for example with openssl rand -hex 32; other options). It encrypts the API keys you store; keep it.
Shared network or server? The UI (
8502) and API (5055) are published on all network interfaces and there is no password by default. If other devices can reach this machine, change those two port lines to"127.0.0.1:8502:8502"and"127.0.0.1:5055:5055", or add- OPEN_NOTEBOOK_PASSWORD=your-passwordto theenvironment:block, before starting.
docker compose up -d
Wait about 30 seconds, then open: http://localhost:8502
Done! Create a notebook, add a source and start chatting. Full walkthrough: Connect a provider.
Need an API key? Get one from: OpenAI · Anthropic · Google · Groq
Anthropic and Groq have no embedding models; pair them with a provider that does (see the matrix).
Want free local AI? See the Local Quick Start (Ollama in Docker).
No reports for macOS yet.
Claude reads the 12 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.