NotebookLM is an AI investigation and note-taking instrumentality created by Google that uses large connection models (LLMs) that make it imaginable for users to adhd their ain sources and then, pinch nan thief of AI, understand and link accusation betwixt those sources.
NotebookLM is for illustration a personalized AI adjunct that only useful connected uploaded documents, PDFs, websites and videos to make summaries, reply questions, brainstorm ideas and toggle shape contented into different formats.
NotebookLM is proprietary and is enjoying unthinkable fame astatine nan moment, but did you cognize that there’s an unfastened root return connected this technology?
Open Notebook is conscionable arsenic powerful and useful arsenic NotebookLM. The large quality is that Open Notebook is self-hosted. Although some tin usage section AI models, only Open Notebook tin beryllium installed locally. If you’re concerned astir privateness and security, having your AI devices isolated to your section web tin beryllium a existent bonus. Unlike Open Notebook, NotebookLM is hosted connected Google’s third-party unreality servers, which tin raise questions astir privateness and security.
Open Notebook supports complete 16 AI providers, truthful you tin prime which LLM to usage for your needs, fund and privateness requirements.
If that sounds appealing to you, publication connected because I’m going to show you really to deploy Open Notebook connected a instrumentality wrong your LAN.
What You’ll Need
To make this work, you’ll request a machine that supports Docker. If you want to usage 1 of nan proprietary AI services (such arsenic Google Gemini aliases OpenAI), you’ll request an API cardinal for nan work successful question.
I’m going to show you really to deploy Open Notebook connected Ubuntu Server 24.04. If you’re utilizing a different OS, you’ll request to change nan Docker installation method, but that’s it.
Installing Docker
The first measurement is to instal Docker. Here’s how:
1. Add nan Official Docker GPG Key
To adhd nan charismatic Docker GPG key, usage nan pursuing commands:
2. Add nan Docker Repository
Next, you request to adhd nan Docker repository, which is done pinch nan pursuing command:
Update apt with:
3. Install nan Required Software
You’ll now request to instal each of nan basal package pinch nan command:
4. Add Your User to nan Docker Group
You’ll request to adhd that personification to nan Docker group, truthful you tin debar moving Docker pinch admin privileges. Add your personification to nan Docker group with:
Log retired and log backmost successful truthful nan changes return effect.
Deploying Open Notebook
It’s now clip to deploy. First, clone nan basal Git repository with:
Change into nan recently created directory with:
In that folder, you’ll request to transcript and rename a mates of files pinch nan commands:
You won’t person to edit nan docker-compose.yml file, but you do request to activity pinch nan docker.env file.
In nan docker.env file, you’ll request to edit a fewer lines. How galore depends connected what AI services you want to use. Let’s opportunity you want to usage Ollama (which must beryllium installed connected nan section machine) and Google Gemini.
The first point to do is find nan line:
Change 127.0.0.1 to nan IP reside of your hosting server.
Next, find nan line:
You’ll want to uncomment that statement (remove nan #) and paste your Google Gemini API cardinal specified that it looks for illustration this:
Make judge you usage nan API cardinal you create from Google’s API Studio.
Next, find nan line:
You’ll want to substitute nan supra IP reside pinch that of nan hosting server, specified as:
You tin spell done nan remainder of nan record and adhd different AI APIs that you require. Once you’ve done that, prevention and adjacent nan file.
You tin study much astir nan various models and what they’re champion utilized for successful this charismatic Open Notebook document.
It’s now clip to deploy nan Open Notebook container, which is done with:
Give nan instrumentality clip to rotation up and past constituent your browser to http://SERVER:8502 (where SERVER is nan IP reside of nan hosting server).
You’ll beryllium prompted to create an relationship (which is free and each accusation remains connected nan section server). After logging in, you’ll beryllium greeted by nan Open Notebook main page (Figure 1), wherever you tin commencement configuring it to service your needs.

Figure 1: The Open Notebook UI is very user-friendly.
Make judge to first spell to nan Models section, wherever you specify which models are to beryllium utilized for circumstantial tasks. Once you’ve done that, you tin past create your first Notebook and get to work.
YOUTUBE.COM/THENEWSTACK
Tech moves fast, don't miss an episode. Subscribe to our YouTube channel to watercourse each our podcasts, interviews, demos, and more.
Group Created pinch Sketch.
English (US) ·
Indonesian (ID) ·