2026-11-26 15:48 UTC

OpenNotebook offers a self-hosted, cited AI study studio

state: watchingheat: lowuncertainty: mediumrelevance: highself-hosted-ai research-assistants open-source-ai-toolsMahmoud Emad

What is this?

OpenNotebook is an MIT-licensed, self-hosted study and research application maintained by Mahmoud Emad. Its GitHub project page says users can add PDFs, web pages, YouTube videos, recordings and other materials, then generate cited answers, notes, mind maps, narrated slide decks, and audio or video overviews. It supports hosted model providers and local Ollama or LM Studio, and can expose collections through an MCP server. The supplied evidence is the project’s own README, surfaced in a Show HN post; it documents availability and features but does not independently verify their quality or adoption.

Why it matters

It packages source-grounded research, study outputs, and agent access in software people can run and inspect themselves. If its cited outputs work reliably, it could make NotebookLM-like workflows available to users who want control over data, model choice, deployment, or customization—while shifting hosting and model costs to them. The project page describes capabilities, not independent quality or uptake.

Current assessment

OpenNotebook is presented by its creator as an available MIT-licensed, self-hosted research and study app. Its README describes importing sources and generating cited answers, notes, mind maps, and narrated audio or video, with hosted and local model options and an MCP interface. These features could give users more control over data, deployment, and model choice, while leaving them responsible for hosting and inference costs. The cited-output, security, and quality claims have not been independently tested; usage and comparative performance are also unknown. A hosted option is listed as a future plan, not current availability. The available evidence is still the project documentation and creator account; discussion is small and has not supplied a substantive update.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 93h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-22 19:22 (minted)⭐ origin echo-reconstructedThe blog post “Building my own NotebookLM” says: “So I built OpenNotebook: an open-source study studio you run yourself.” It describes addin
Mahmoud Emad on blog (echo) · attributed from hn.story.50602388 · published time unknown
—
11-22 18:26first on hacker news · published · lag ?Show HN: OpenNotebook – Self-hosted NotebookLM alternative with video overviews
omdanii
—
11-22 18:26amplified on hacker news 👑hn.story.50602388
omdanii
peak 5 · 2 comments · 101% of case engagement
11-22 19:20our radar first saw it · lag ?discovery anchor: hn.story.50602388—
pace: p56 vs 2088 stories at the 72h mark (now 93h old) — ahead of 5dive-self-hosted-coding-agents (1.2x), behind ai-screening-for-visa-document-fraud (0.9x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: OpenNotebook – Self-hosted NotebookLM alternative with video overviews
Retrieved article excerpt

Open article · Retrieved 2026-11-22T19:21:14.163184+00:00

# OpenNotebook

**The open-source, self-hosted NotebookLM alternative.**  
Turn PDFs, web pages, YouTube videos and recordings into narrated slide decks, video and audio overviews, mind maps and study notes. Every claim links back to its source.

[CI](https://github.com/mahmoud-emad/opennotebook/actions/workflows/ci.yml)
[Release](https://github.com/mahmoud-emad/opennotebook/releases)
[License: MIT](https://github.com/mahmoud-emad/opennotebook/blob/main/LICENSE)
[Docker](https://github.com/mahmoud-emad/opennotebook#try-it)
[Sponsor](https://github.com/sponsors/mahmoud-emad)
[PRs welcome](https://github.com/mahmoud-emad/opennotebook/blob/main/CONTRIBUTING.md)
[XERJ Corpus Hub](https://hub.xerj.org/contributors/mahmoud-emad)

[Website](https://mahmoud-emad.github.io/opennotebook/) · [Try it](https://github.com/mahmoud-emad/opennotebook#try-it) · [What it makes](https://github.com/mahmoud-emad/opennotebook#what-it-makes) · [Why it exists](https://github.com/mahmoud-emad/opennotebook#why-opennotebook) · [Roadmap](https://github.com/mahmoud-emad/opennotebook#roadmap) · [Contributing](https://github.com/mahmoud-emad/opennotebook/blob/main/CONTRIBUTING.md) · [Discussions](https://github.com/mahmoud-emad/opennotebook/discussions)

[A collection with its sources and outputs, a narrated deck playing, and a mind map topic asked and answered with citations](https://mahmoud-emad.github.io/opennotebook/)

A collection, a narrated deck, and a cited answer. The [full-quality video](https://mahmoud-emad.github.io/opennotebook/) is on the website.

## What it makes

Put your sources into a collection: PDFs, Office files, web links, YouTube videos, audio and video recordings (transcribed for you), pasted notes, or a research report it writes for you. Then turn them into something you can learn from:

|  |  |
| --- | --- |
| **Narrated slide decks** | Stop at any point and ask a question out loud. |
| **Video overviews** | Slides or a hand-drawn whiteboard in ten looks, with chapters and captions that follow along word by word. |
| **Audio overviews** | One host or two, talking it through. |
| **Mind maps and study notes** | The shape of a topic at a glance, and notes to revise from. |
| **Chat with citations** | Ask your sources questions and keep an answer as a note. |
| **Transformations** | `/transform` a summary, key claims, flashcards, a timeline, or an instruction of your own. |

You stay in control of what is read: search the sources, or switch any one off so nothing uses it. Every claim links back to the passage it came from, so you can check it.

When a collection is good, share it on **Discover**. Others can read it as it is, or copy it, make it their own, and share it again, with the author's say on whether copies can be edited.

## Why OpenNotebook

- **Yours.** It runs on your machine or server with Docker Compose. Your sources stay in your own Postgres.
- **Any model.** Bring your own key for OpenRouter, OpenAI, Anthropic, Gemini, Azure OpenAI, Mistral, Groq, DeepSeek and more, or run a local Ollama or LM Studio. Mix providers per task.
- **Free voices.** Narration works out of the box with no key. Switch to Azure Speech or any OpenAI-compatible speech server when you want more.
- **Social by design.** Discover, share, and reuse turn a private notebook into something a community can learn from.
- **Agent-ready.** It is an [MCP](https://github.com/mahmoud-emad/opennotebook#agents-mcp) server, so your own agents can read collections and ask cited questions.
- **MIT licensed.** No open-core split, no telemetry.

## Try it

You need Docker and an AI provider: [OpenRouter](https://openrouter.ai), OpenAI, Azure OpenAI, Anthropic, Google Gemini, Mistral, Groq, DeepSeek, Cohere, Qwen, Fireworks, Cerebras, Together, xAI, a local [Ollama](https://ollama.com) or LM Studio, or any OpenAI-compatible server.

```
git clone https://github.com/mahmoud-emad/opennotebook.git
cd opennotebook
cp deploy/.env.example deploy/.env   # set POSTGRES_PASSWORD
make up
```

Then open <http://localhost/ui/>. On first run, a short setup tour asks for a provider and its key. It tests the key, checks that the account has credit, and suggests a model for each kind of work. To skip the tour, put the key in `deploy/.env` instead (`OPENROUTER_API_KEY`, `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, …).

`make up` builds the images on your machine. To use the published ones instead (they run on Intel and ARM, including Apple Silicon):

```
docker compose -f deploy/compose.yaml pull
docker compose -f deploy/compose.yaml up -d --no-build
```

To serve it on your own domain with HTTPS, set `DOMAIN` and `PUBLIC_URL` in `deploy/.env`. Every setting is explained in [deploy/.env.example](https://github.com/mahmoud-emad/opennotebook/blob/main/deploy/.env.example).

If you get stuck during setup, see [first-run troubleshooting](https://github.com/mahmoud-emad/opennotebook/blob/main/docs/troubleshooting.md).

## Models and voices

- **Models.** Connect one or more providers, in the setup tour, in Settings › AI providers, or with environment variables. Each kind of work uses a model your providers offer, and you can change it in Settings › Models. OpenRouter covers every feature with one key. Direct providers cover most of them; the tour shows which features have no model yet.
- **Voices.** By default it uses Microsoft's neural voices through Edge's free Read Aloud service, so you don't need a key. For heavier use, switch to Azure Speech (`OPENNOTEBOOK_TTS_PROVIDER=azure`), or to an OpenAI-compatible speech server such as [Speaches](https://speaches.ai) (`openai`). Spoken questions are transcribed by that same server.

Everything else (styles, voices, language, a spending limit) can be changed in the app's Settings.

## Agents (MCP)

The studio is also an [MCP](https://modelcontextprotocol.io) server at `/api/mcp` (streamable HTTP). An agent can list collections, create one, add links, YouTube videos or notes, read sources, and ask questions answered with citations. It signs in with an API key, sent as `Authorization: Bearer <key>`, and sees only its owner's collections. Make a key with `POST /api/keys` (`{"name": "my agent"}`); in `local` mode an agent on the same machine needs none. Every model call it causes is charged to that owner.

## Working on it

The code is split into three folders:

| Folder | What's in it |
| --- | --- |
| `server/` | FastAPI on Python 3.14, Postgres 18 with pgvector, and background jobs on Procrastinate. All the real work happens here, including every model call. |
| `web/` | A React and TypeScript app. It talks to the server only through its REST API. |
| `deploy/` | Docker Compose with Caddy, Postgres, and an optional speech server. |

You'll need Python 3.14 with [uv](https://docs.astral.sh/uv/), Node 24 with pnpm, and Postgres 18 with pgvector. Put `DATABASE_URL` and `TEST_DATABASE_URL` in `~/.config/opennotebook/db.env` (the Makefile reads it from there), then run:

```
make dev     # the api on :8000, the job worker, and the web app on :5173/ui/
make check   # formatting, lint, types and tests, for both server and web
```

If you change the API, run `make api-client` to regenerate the web app's client.

See [CONTRIBUTING.md](https://github.com/mahmoud-emad/opennotebook/blob/main/CONTRIBUTING.md) before you open a pull request. The design and the reasoning behind each feature are in [docs/](https://github.com/mahmoud-emad/opennotebook/blob/main/docs).

## Roadmap

Shipped: setup tour and key checks, every major AI provider, audio and video sources, YouTube, the MCP server, Discover, share and reuse.

Next, roughly in this order. Open an issue or a discussion to say what matters to you:

- More ways to share and find collections on Discover.
- Better support for long recordings and large source sets.
- More video looks and more voices and languages.
- A hosted option, for people who would rather not run it.

Releases and what changed in each are in the [changelog](https://github.com/mahmoud-emad/opennotebook/blob/main/CHANGELOG.md).

## Get involved

If OpenNotebook is useful to you, a ⭐ helps other people find it.

- **Try it and tell us what broke or felt rough.** [Open an issue](https://github.com/mahmoud-emad/opennotebook/issues/new/choose).
- **Ask or show off** in [Discussions](https://github.com/mahmoud-emad/opennotebook/discussions).
- **Sponsor my open-source work.** OpenNotebook is free and MIT licensed. If it helps you, [sponsoring](https://github.com/sponsors/mahmoud-emad) is a kind way to say thanks. It's never expected.
- **Send a fix.** Start with an issue labelled [good first issue](https://github.com/mahmoud-emad/opennotebook/labels/good%20first%20issue) and read [CONTRIBUTING.md](https://github.com/mahmoud-emad/opennotebook/blob/main/CONTRIBUTING.md).

[Star History Chart](https://star-history.com/#mahmoud-emad/opennotebook&Date)

## License

MIT. See [LICENSE](https://github.com/mahmoud-emad/opennotebook/blob/main/LICENSE).
omdanii52
🟧 echo.blog ⭐The blog post “Building my own NotebookLM” says: “So I built OpenNotebook: an open-source study studio you run yourself.” It describes addinMahmoud Emad——

Interpretation history

Decision trace