Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
benchdata
Package benchdata builds synthetic but realistic NotebookLM responses for the benchmarks.
|
Package benchdata builds synthetic but realistic NotebookLM responses for the benchmarks. |
|
coldstart
command
Command coldstart measures B1: time from process spawn to the first `initialize` response line of `<bin> serve`.
|
Command coldstart measures B1: time from process spawn to the first `initialize` response line of `<bin> serve`. |
|
rss
command
Command rss measures B2: peak RSS after listing 100 notebooks in RPC mode.
|
Command rss measures B2: peak RSS after listing 100 notebooks in RPC mode. |
|
ttfp
command
Command ttfp measures B9: streamed chat time-to-first-progress, the delay between Google's first answer chunk and the MCP client's first progress notification for chat_ask.
|
Command ttfp measures B9: streamed chat time-to-first-progress, the delay between Google's first answer chunk and the MCP client's first progress notification for chat_ask. |
|
cmd
|
|
|
sourcebolt
command
Command sourcebolt is a fast MCP server for Google NotebookLM.
|
Command sourcebolt is a fast MCP server for Google NotebookLM. |
|
internal
|
|
|
app
Package app wires configuration, the profile store, transports, the domain client and the MCP server together for the CLI.
|
Package app wires configuration, the profile store, transports, the domain client and the MCP server together for the CLI. |
|
cache
Package cache is a small in-process TTL cache for read-only tool results.
|
Package cache is a small in-process TTL cache for read-only tool results. |
|
jobs
Package jobs is the in-process table behind long-running tool calls (deep research, async chat).
|
Package jobs is the in-process table behind long-running tool calls (deep research, async chat). |
|
mcpserver
Package mcpserver exposes the NotebookLM domain client as MCP tools.
|
Package mcpserver exposes the NotebookLM domain client as MCP tools. |
|
nlm
Package nlm is the typed NotebookLM domain client.
|
Package nlm is the typed NotebookLM domain client. |
|
resolve
Package resolve lets every tool accept an id, a unique id prefix or a title (exact or unique substring) for notebooks, sources and artifacts.
|
Package resolve lets every tool accept an id, a unique id prefix or a title (exact or unique substring) for notebooks, sources and artifacts. |
|
rpcids
Package rpcids maps logical RPC names to NotebookLM's obfuscated wire ids.
|
Package rpcids maps logical RPC names to NotebookLM's obfuscated wire ids. |
|
runtimecfg
Package runtimecfg holds the Go runtime settings the server runs with, so the binary and the benchmarks that stand in for it use the same ones.
|
Package runtimecfg holds the Go runtime settings the server runs with, so the binary and the benchmarks that stand in for it use the same ones. |
|
safety
Package safety holds input checks and log redaction shared by all layers.
|
Package safety holds input checks and log redaction shared by all layers. |
|
session
Package session owns everything about a signed-in NotebookLM session: which host the account uses, the page tokens, cookies and their storage.
|
Package session owns everything about a signed-in NotebookLM session: which host the account uses, the page tokens, cookies and their storage. |
|
setup
Package setup connects sourcebolt to the MCP apps (clients) installed for this user: it finds their config files, adds one server entry without touching anything else, keeps a backup, and can undo.
|
Package setup connects sourcebolt to the MCP apps (clients) installed for this user: it finds their config files, adds one server entry without touching anything else, keeps a backup, and can undo. |
|
thp
Package thp turns off transparent huge pages for this process on Linux, when it is imported (cmd/sourcebolt imports it for its side effect).
|
Package thp turns off transparent huge pages for this process on Linux, when it is imported (cmd/sourcebolt imports it for its side effect). |
|
transport
Package transport defines how the domain client reaches NotebookLM.
|
Package transport defines how the domain client reaches NotebookLM. |
|
transport/browser
Package browser drives a user-installed Chromium-based browser (Brave, Chrome, Edge, Chromium) over the DevTools protocol: interactive login, attaching to a running browser, and later the fallback transport.
|
Package browser drives a user-installed Chromium-based browser (Brave, Chrome, Edge, Chromium) over the DevTools protocol: interactive login, attaching to a running browser, and later the fallback transport. |
|
transport/rpc
Package rpc reaches NotebookLM through its internal web RPC endpoint.
|
Package rpc reaches NotebookLM through its internal web RPC endpoint. |
|
version
Package version holds the build identity of the sourcebolt binary.
|
Package version holds the build identity of the sourcebolt binary. |
|
wire
Package wire encodes and decodes NotebookLM's internal web RPC formats: batchexecute requests, chunked responses and the streamed chat envelope.
|
Package wire encodes and decodes NotebookLM's internal web RPC formats: batchexecute requests, chunked responses and the streamed chat envelope. |
|
tools
|
|
|
capture
command
Command capture converts a HAR recorded from the NotebookLM web app into sanitized golden fixtures under testdata/fixtures/<rpc>/.
|
Command capture converts a HAR recorded from the NotebookLM web app into sanitized golden fixtures under testdata/fixtures/<rpc>/. |
|
distcheck
Package distcheck holds tests for the distribution metadata at the repository root: server.json (MCP Registry), the Claude Code marketplace and plugin, glama.json, gemini-extension.json and the GitHub funding file.
|
Package distcheck holds tests for the distribution metadata at the repository root: server.json (MCP Registry), the Claude Code marketplace and plugin, glama.json, gemini-extension.json and the GitHub funding file. |
|
gendocs
command
Command gendocs prints the MCP tool reference (docs/tools.md) as Markdown.
|
Command gendocs prints the MCP tool reference (docs/tools.md) as Markdown. |
|
icon
command
Command icon writes the sourcebolt mark as SVG or PNG.
|
Command icon writes the sourcebolt mark as SVG or PNG. |
|
installlinks
command
Command installlinks prints the generated part of docs/install-links.md: one-click install URLs and CLI lines for VS Code and Cursor, for the binary on PATH and for the Docker image.
|
Command installlinks prints the generated part of docs/install-links.md: one-click install URLs and CLI lines for VS Code and Cursor, for the binary on PATH and for the Docker image. |
|
internal/icon
Package icon draws the sourcebolt mark: a notebook page with a lightning bolt, on a rounded square.
|
Package icon draws the sourcebolt mark: a notebook page with a lightning bolt, on a rounded square. |
|
internal/mcpb
Package mcpb builds MCP Bundles (.mcpb, manifest_version 0.3) for sourcebolt: one bundle per OS/arch, each a zip holding manifest.json, the native binary under server/, icon.png, LICENSE and NOTICE.
|
Package mcpb builds MCP Bundles (.mcpb, manifest_version 0.3) for sourcebolt: one bundle per OS/arch, each a zip holding manifest.json, the native binary under server/, icon.png, LICENSE and NOTICE. |
|
internal/schemas
Package schemas holds pinned copies of third-party JSON Schemas that our distribution files must satisfy, and validates documents against them offline.
|
Package schemas holds pinned copies of third-party JSON Schemas that our distribution files must satisfy, and validates documents against them offline. |
|
mcpb
command
Command mcpb builds one MCP Bundle per platform from GoReleaser's dist/.
|
Command mcpb builds one MCP Bundle per platform from GoReleaser's dist/. |
Click to show internal directories.
Click to hide internal directories.