Reading the repo
Reading the repo
How to install on Linux
An Open Source implementation of Notebook LM with more flexibility and features
Saved setup from 7 h ago
Will it work on my device?
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
git clone https://github.com/lfnovo/open-notebook.git cd open-notebook
Python 3.12, Docker
curl -LsSf https://astral.sh/uv/install.sh | sh # needs Docker Engine: https://docs.docker.com/engine/install/
Fill in secrets: 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 Linux yet.
Opens a chat with this manual already filled in, for Linux. It uses your own account; gitmanual sends nothing.