ホーム 暮らし Trying out Open Notebook in a local environment

Trying out Open Notebook in a local environment

東條 淳平 東條 淳平 • 更新: • 公開: • 読了約 7 分
目次

Hello everyone.

I learned about something called Open Notebook from an article I happened to see in the news, and since it looked interesting, I set it up in my local environment (on my PC). (Just getting it running for now.)

To explain it roughly, it seems there is a project to develop an open-source version of Google's NotebookLM, allowing you to use something like NotebookLM in your own environment. That's the gist of it.
In other words, you can create a private, NotebookLM-like environment. It's pretty cool.

Open Notebook Information

ncca4f70889fe
Official WebsiteGitHub

Preparing to launch Open Notebook in a local environment

Prerequisites and necessary knowledge/items
  • Windows PC (WSL2)

  • docker

  • git

  • A never-give-up attitude

Execution Commands

Run the following commands in WSL or a Linux terminal.
Once you do, you will be able to launch Open Notebook.

# 任意のディレクトリで、Open NotebookのデータをGithubからクローン(ダウンロード)する。
$ git clone https://github.com/lfnovo/open-notebook.git
実行結果
> Cloning into 'open-notebook'...
> remote: Enumerating objects: 4417, done.
> remote: Counting objects: 100% (1874/1874), done.
> remote: Compressing objects: 100% (536/536), done.
> remote: Total 4417 (delta 1486), reused 1338 (delta 1338), pack-reused 2543 (from 2)
> Receiving objects: 100% (4417/4417), 7.65 MiB | 515.00 KiB/s, done.
> Resolving deltas: 100% (2858/2858), done.
クローン(ダウンロード)したところに移動する。
$ cd open-notebook/
環境変数ファイルを名前を変更してコピーする。
$ cp -p .env.example docker.env
Open Notebookを起動する。
$ docker compose -f docker-compose.full.yml up -d

Verification of Startup

Wait a while (about 5 minutes?) for it to start, then access the following URL in your browser.

Startup Screen

At first glance, it looks like a legitimate web interface has launched.
I tried playing with it a bit, but it doesn't work because I haven't configured the LLM API.
I did confirm that it successfully imported a YouTube URL when I tried entering one.

Additional necessary actions and issues

  • To access the LLM, you need to obtain an API key as necessary and link it to Open Notebook.

  • It does not support Japanese.

  • It runs slowly when launched at the same time as Dify. It really is slow...

Summary

I was able to confirm that it launches. Where should the LLM API key be entered? *I suspect it is likely within an environment file.
I couldn't verify the usability, so I would like to add more details once I have tried that out.
It seems like it doesn't support Japanese, so it might be difficult to get started with as a service. By looking around the settings, there might possibly be a language setting.

It feels like it could be useful in various ways, but it would be nice if it were a bit more user-friendly. I'm thinking of looking into it a bit more.

Next article (sequel)


同じカテゴリの記事

東條 淳平

スポーツと芸能が交差する話題を担当。大会公式記録と所属先の発表を突き合わせ、数字は必ず出典付きで扱います。

おすすめの関連記事