[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114546":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":45,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":49,"discoverSource":50},114546,"better-vault","better-vault\u002Fbetter-vault","Open-source NotebookLM alternative. Chat with your sources with citations, and turn them into reports, flashcards, quizzes, mind maps and slide decks, with your own OpenAI, Anthropic or Gemini key or local Ollama \u002F LM Studio models. Local-first, no account.","https:\u002F\u002Fbetter-vault.dev",null,"TypeScript",121,10,1,0,2,21,59,8,63.52,"Other",false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"ai","ai-sdk","anthropic","byok","flashcards","gemini","knowledge-management","llm","lm-studio","local-first","mind-map","nextjs","notebooklm","notebooklm-alternative","ollama","open-source","openai","rag","self-hosted","study-tool","2026-11-23 20:46:20","2026-11-23 18:02:29","\u003Cdiv align=\"center\">\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"public\u002Fbrand\u002Flogo-dark-transparent.png\">\n  \u003Cimg src=\"public\u002Fbrand\u002Flogo-light-transparent.png\" alt=\"better-vault logo\" width=\"112\">\n\u003C\u002Fpicture>\n\n# better-vault\n\n**An open-source, bring-your-own-model alternative to NotebookLM.**\nChat with your sources, and turn them into reports, flashcards, quizzes, tables and diagrams, using the AI model you choose.\n\n[Website](https:\u002F\u002Fbetter-vault.dev) · [Get started](https:\u002F\u002Fbetter-vault.dev\u002Fdocs\u002Fquickstart) · [Docs](https:\u002F\u002Fbetter-vault.dev\u002Fdocs) · [Roadmap](ROADMAP.md)\n\n[![Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fpackage-json\u002Fv\u002Fbetter-vault\u002Fbetter-vault?style=flat-square&color=262626&label=version)](https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault\u002Freleases)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-3b82f6?style=flat-square)](LICENSE)\n[![CI](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fbetter-vault\u002Fbetter-vault\u002Fci.yml?branch=main&style=flat-square&label=CI)](https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault\u002Factions\u002Fworkflows\u002Fci.yml)\n[![Issues](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Fbetter-vault\u002Fbetter-vault?style=flat-square&color=f59e0b)](https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault\u002Fissues)\n[![PRs welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-10b981?style=flat-square)](CONTRIBUTING.md)\n\n[![Vite](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FVite-8-646CFF?style=flat-square&logo=vite&logoColor=white)](https:\u002F\u002Fvite.dev)\n[![AI SDK](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAI%20SDK-7-000000?style=flat-square&logo=vercel&logoColor=white)](https:\u002F\u002Fai-sdk.dev)\n[![TypeScript](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTypeScript-5-3178C6?style=flat-square&logo=typescript&logoColor=white)](https:\u002F\u002Fwww.typescriptlang.org)\n[![Tailwind CSS](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTailwind%20CSS-4-06B6D4?style=flat-square&logo=tailwindcss&logoColor=white)](https:\u002F\u002Ftailwindcss.com)\n[![i18next](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fi18n-i18next-26A69A?style=flat-square&logo=i18next&logoColor=white)](#-translating)\n[![Translations welcome](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Ftranslations-welcome-8b5cf6?style=flat-square)](#-translating)\n\n\u003C\u002Fdiv>\n\n---\n\n## ✨ What it does\n\nbetter-vault is a free, open-source alternative to Google NotebookLM (now Gemini Notebook). It is a research notebook: you add **sources** such as PDFs, web pages, notes and text files to a **notebook**, and work with them using the AI model you choose.\n\n**Chat with your sources** and get answers that cite the passages they came from. Switch to **Web** mode to let the model search the internet with its provider's built-in search.\n\n**Create study material** in the **Studio**: reports, flashcards, quizzes, data tables, mind maps, slide decks, infographics and Anatomy figures, each with a dialog of options much like NotebookLM's. A **whiteboard** in the style of Excalidraw is there for your own diagrams, or for drawing over a figure or an infographic.\n\n**Choose your model** from OpenAI, Anthropic and Google with your own key, or run a local model through Ollama or LM Studio. Nothing is locked to one vendor.\n\n**Keep your data on your device.** The web app stores everything in your browser's IndexedDB, and the **desktop app** for macOS, Windows and Linux keeps it in a SQLite file on your computer. There is no account and no server database, and your keys only leave your device to reach the model you picked.\n\n| Studio tool     | What you get                                                                                                                                                                                                                           | Download as         |\n| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------- |\n| **Reports**     | Briefing doc, study guide, blog post, your own format, or a format suggested for your sources; read as a document with a table of contents and citations                                                                               | Word, Markdown      |\n| **Flashcards**  | Flip cards with keyboard shortcuts, shuffle and \"knew it \u002F still learning\" tallies                                                                                                                                                     | Word, CSV (Anki)    |\n| **Quiz**        | Multiple-choice questions with hints, explanations and a score                                                                                                                                                                         | Word, Markdown      |\n| **Data table**  | Facts from your sources in rows and columns                                                                                                                                                                                            | Excel, CSV          |\n| **Mind map**    | An interactive tree like NotebookLM's: open branches, click a topic to ask about it in the chat. Plus 11 more diagram kinds (flowchart, timeline, cause and effect, …) drawn with [Pele](https:\u002F\u002Fpele.run)                             | PNG, SVG, Mermaid   |\n| **Slide deck**  | A presentation from your sources: a detailed deck to read, or a presenter deck with speaker notes. Present it full screen                                                                                                              | PowerPoint, PDF     |\n| **Infographic** | A one-page picture drawn by your provider's image model (OpenAI GPT Image or Google Gemini), from a cited brief written from your sources                                                                                              | PNG, original image |\n| **Anatomy**     | An interactive isometric figure of a real object whose working explains your sources, drawn with [Anatomy](https:\u002F\u002Fskills.wheresryan.sh\u002Fanatomy)'s kit: point at a part to read what it does, step through how it works, take it apart | PNG, SVG            |\n| **Whiteboard**  | A blank board with Excalidraw's tools and shortcuts: shapes, arrows, pen, text and pictures, in a hand-drawn style. **Annotate** opens a mind map, Anatomy figure or infographic on a board to draw over it. No model needed           | PNG, SVG, JSON      |\n\nAudio and video overviews are out of scope.\n\n## 🚀 Getting started\n\n### Desktop app\n\nDownload the installer for macOS, Windows or Linux from [better-vault.dev\u002Fdownload](https:\u002F\u002Fbetter-vault.dev\u002Fdownload) or the [latest release](https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault\u002Freleases\u002Flatest), install it and open it. It updates itself when a new version comes out. The [desktop docs](https:\u002F\u002Fbetter-vault.dev\u002Fdocs\u002Fdesktop) cover installing and moving your notebooks over.\n\n### Run from source\n\n**Requirements:** [Node.js](https:\u002F\u002Fnodejs.org) 22.12 or newer, with npm 10 (included with Node.js).\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault.git\ncd better-vault\nnpm install\nnpm run dev\n```\n\nOpen \u003Chttp:\u002F\u002Flocalhost:3000>, then **Settings → AI providers** and paste an API key, or point it at a local model. No `.env` file is needed.\n\n### Production build\n\n```bash\nnpm run build\nnpm start\n```\n\n### Local models (Ollama, LM Studio)\n\n1. Install [Ollama](https:\u002F\u002Follama.com) or [LM Studio](https:\u002F\u002Flmstudio.ai) and download a model (for example `ollama pull llama3.2`).\n2. In better-vault, open **Settings → AI providers**, enable Ollama or LM Studio and check the address (`http:\u002F\u002Flocalhost:11434` for Ollama, `http:\u002F\u002Flocalhost:1234` for LM Studio).\n3. Pick the model in the prompt bar.\n\nLocal models work when better-vault runs on the same machine as the model server. Web search is only available with providers that have it built in (OpenAI, Anthropic, Google).\n\n## 🔐 Where your data lives\n\nNotebooks, sources, chats, Studio outputs and API keys stay on your device: in your browser's IndexedDB in the web app, or in `better-vault.sqlite` in the app's data folder in the desktop app. **Settings → Data** exports and imports notebooks as a JSON file, which also moves them between the two.\n\nEach request sends your key to the app's own API route, which passes it to the provider and never stores or logs it. If you host better-vault for other people, they use their own keys in their own browsers.\n\n### Hosting for others\n\nTwo optional environment variables tighten a public deployment:\n\n| Variable                             | Default | Effect                                                                                                                  |\n| ------------------------------------ | ------- | ----------------------------------------------------------------------------------------------------------------------- |\n| `BETTER_VAULT_ALLOW_LOCAL_PROVIDERS` | `true`  | Set to `false` to turn off Ollama and LM Studio, whose address comes from the user and would make the server fetch it.  |\n| `BETTER_VAULT_ALLOW_PRIVATE_URLS`    | `false` | Set to `true` to let web-page sources point at private or local network addresses (only for trusted, private installs). |\n\n## 🧱 Tech stack\n\n[Vite 8](https:\u002F\u002Fvite.dev) · [React Router](https:\u002F\u002Freactrouter.com) · [Hono](https:\u002F\u002Fhono.dev) · [Vercel AI SDK 7](https:\u002F\u002Fai-sdk.dev) · [Panel UI](https:\u002F\u002Fpanelui.dev) · [shadcn\u002Fui](https:\u002F\u002Fui.shadcn.com) · [Pele](https:\u002F\u002Fpele.run) · [Hugeicons](https:\u002F\u002Fhugeicons.com) · [i18next](https:\u002F\u002Fwww.i18next.com) · [Dexie](https:\u002F\u002Fdexie.org) · [Electron](https:\u002F\u002Fwww.electronjs.org) and [electron-vite](https:\u002F\u002Felectron-vite.org) · [Tailwind CSS 4](https:\u002F\u002Ftailwindcss.com)\n\n## 🤝 Contributing\n\nContributions are welcome, from typo fixes to new Studio tools. Please read [CONTRIBUTING.md](CONTRIBUTING.md) first. In short:\n\n1. Fork the repo and create a branch (`feat\u002F…`, `fix\u002F…`, `docs\u002F…`).\n2. Make your change. Use [Conventional Commits](https:\u002F\u002Fwww.conventionalcommits.org) for messages.\n3. Run the checks:\n   ```bash\n   npm run lint && npm run typecheck && npm test && npm run i18n:check && npm run build\n   ```\n   If your change touches the server, storage or anything else the desktop app depends on, run the checks in `desktop\u002F` too (see [CONTRIBUTING.md](CONTRIBUTING.md#the-desktop-app)).\n4. Open a pull request and fill in the template.\n\nContributors and AI coding agents should also read [AGENTS.md](AGENTS.md), which explains the project's concepts and rules.\n\n### 🌍 Translating\n\nThe UI is fully translatable with [i18next](https:\u002F\u002Fwww.i18next.com). English is the source language. To add a language:\n\n1. Copy `locales\u002Fen\u002F` to `locales\u002F\u003Ccode>\u002F` (for example `locales\u002Ffr\u002F`) and translate the values, not the keys.\n2. Import the new files in `lib\u002Fi18n\u002Fresources.ts`.\n3. Add the language to `lib\u002Fi18n\u002Fconfig.ts`, with `dir: \"rtl\"` for right-to-left scripts.\n4. Run `npm run i18n:check` to find missing or extra keys, then open a pull request.\n\n## 🐛 Reporting issues\n\nFound a bug or have an idea? [Open an issue](https:\u002F\u002Fgithub.com\u002Fbetter-vault\u002Fbetter-vault\u002Fissues\u002Fnew\u002Fchoose) and pick a template:\n\nA **bug report** asks what happened, the steps to reproduce it, your browser or desktop system, and the provider and model you used. A **feature request** asks for the problem you want solved and how you imagine it working. The **translation** template is for offering or requesting a new language.\n\nPlease search existing issues first, and **never paste API keys** into an issue. Security problems should be reported privately, as described in [SECURITY.md](SECURITY.md).\n\n## 🙏 Credits\n\n- [Panel UI](https:\u002F\u002Fpanelui.dev) for the sheets, dialogs, prompt and the rest of the interface.\n- [Pele](https:\u002F\u002Fpele.run) for rendering Mermaid diagrams.\n- [Anatomy](https:\u002F\u002Fskills.wheresryan.sh\u002Fanatomy) by Ryan, whose MIT drawing kit draws the anatomy figures.\n- [Hugeicons](https:\u002F\u002Fhugeicons.com) for icons.\n- [Excalidraw](https:\u002F\u002Fexcalidraw.com), whose whiteboard inspired ours, for Excalifont (SIL Open Font License 1.1); [Rough.js](https:\u002F\u002Froughjs.com) and [perfect-freehand](https:\u002F\u002Fgithub.com\u002Fsteveruizok\u002Fperfect-freehand) draw the sketchy shapes and pen strokes.\n- Inspired by Google's NotebookLM.\n\n## 📄 License\n\n[MIT](LICENSE) © 2026 the better-vault contributors. Third-party code keeps its own license (see [LICENSE](LICENSE)).\n","better-vault 是一个开源的本地优先研究笔记本工具，提供 NotebookLM 类似的功能但无需账户且支持自主模型接入。核心功能包括：基于用户上传的 PDF、网页、文本等资料进行带来源引用的对话式问答；在 Studio 中一键生成报告、闪卡、测验、思维导图、幻灯片等学习材料；支持 OpenAI、Anthropic、Gemini API 或本地运行的 Ollama\u002FLM Studio 模型。项目强调隐私与可控性，所有数据默认保留在本地，适合学术研究、知识整理、自主学习及需数据合规的轻量级 RAG 应用场景。","2026-11-24 04:48:58","CREATED_QUERY"]