Skip to content

πŸ•ΈοΈ Open-source NotebookLM alternative with infinite canvas | Self-hosted Google NotebookLM replacement | RAG chat + PDF/Webpage/Video | Any LLM

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE-AGPL
Notifications You must be signed in to change notification settings

guangtouwangba/weaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

327 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Weaver Logo

πŸ•ΈοΈ Weaver

The Open-Source NotebookLM Alternative with Infinite Canvas
A self-hosted Google NotebookLM replacement that gives you complete control.
Chat with documents, generate mindmaps, and organize research visually.

GitHub stars GitHub forks GitHub issues

License Python Next.js FastAPI

🌐 Try Live Demo Β· πŸš€ Quick Start Β· ✨ Features Β· πŸ‡¨πŸ‡³ δΈ­ζ–‡ζ–‡ζ‘£


πŸ€” Why Weaver? (NotebookLM vs Weaver)

Tired of Google NotebookLM's limitations? Weaver is a free, open-source NotebookLM alternative that you can self-host and customize.

Feature Google NotebookLM Weaver
Open Source ❌ Proprietary βœ… AGPL-3.0
Self-Hosted ❌ Google Cloud only βœ… Deploy anywhere
Visual Canvas ❌ List-based UI βœ… Infinite canvas workspace
LLM Choice ❌ Gemini only βœ… Any LLM (Claude, GPT-4, Gemini, Ollama)
Video Sources YouTube only βœ… YouTube + Bilibili + Douyin
Data Privacy ⚠️ Google servers βœ… Your data, your servers
API Access ❌ None βœ… Full REST API
Cost πŸ’° Usage limits βœ… Pay only for LLM API

Weaver = NotebookLM + Miro + Obsidian β€” All in one open-source package.


✨ Features

πŸ“š Multi-Source Import (Like NotebookLM, But Better)

Import from multiple sources and let AI help you understand:

  • πŸ“„ PDF Documents β€” OCR support for scanned documents
  • 🌐 Web Pages β€” Extract content from any URL
  • 🎬 YouTube Videos β€” Auto-transcribe with timestamps
  • πŸ“Ί Bilibili & Douyin β€” Chinese video platform support (NotebookLM can't do this!)

🎨 Infinite Canvas Workspace (Unique to Weaver)

Unlike NotebookLM's rigid list view, Weaver gives you a visual thinking space:

  • Drag-and-drop nodes on an infinite canvas
  • Connect ideas with relationship lines
  • Rich node types β€” Notes, sources, AI-generated content

πŸ€– AI-Powered Research Tools

  • πŸ’¬ RAG Chat β€” Ask questions about your documents with citations
  • 🧠 Mindmaps β€” Auto-generate structured mindmaps
  • πŸ“ Summaries β€” AI summaries with source references
  • πŸ“‡ Flashcards β€” Generate study cards automatically
  • πŸ“° Articles β€” Synthesize long-form content

πŸ”Œ Built for Developers

  • Full API access β€” Integrate with your workflow
  • Bring your own LLM β€” OpenRouter, OpenAI, Anthropic, or local Ollama
  • Extensible β€” Add custom sources and generators

πŸš€ Quick Start

Get Weaver running in 5 minutes:

1. Clone & Install

# Clone the repository
git clone https://github.com/guangtouwangba/weaver.git
cd weaver

# Setup (installs uv, system deps, backend & frontend deps)
make setup

2. Start Infrastructure

# Start PostgreSQL, Redis, and Qdrant
cd app/backend && docker compose up -d

3. Configure Environment

# Copy example config
cp env.example .env

# Edit .env and add your API key (required):
# OPENROUTER_API_KEY=sk-or-v1-your-key

4. Run the Application

# Terminal 1: Start backend API
make run-backend

# Terminal 2: Start frontend
make run-frontend

πŸ’‘ Tip: For quick local testing, set AUTH_BYPASS_ENABLED=true in .env

Open http://localhost:3000 and start researching! πŸŽ‰

πŸ“– More Details: See Backend README for configuration, infrastructure, and troubleshooting.


πŸ–ΌοΈ Screenshots

Screenshots coming soon! Star the repo to stay updated.


πŸ“– Use Cases

πŸŽ“ Students & Researchers

  • Upload lecture PDFs and papers
  • Ask questions across all your sources
  • Generate study flashcards automatically
  • Create visual mindmaps for exam prep

✍️ Content Creators

  • Research topics from multiple sources
  • Generate article outlines
  • Organize ideas on the canvas
  • Export structured content

πŸ’Ό Professionals

  • Analyze reports and documents
  • Build a personal knowledge base
  • Self-host for data privacy
  • Integrate with existing workflows

πŸ› οΈ Tech Stack

Layer Technologies
Frontend Next.js 15, React 19, TypeScript, Konva.js (Canvas)
Backend Python 3.11+, FastAPI, SQLAlchemy, LangGraph
Database PostgreSQL, pgvector or Qdrant (Vector Search)
AI/LLM OpenRouter, OpenAI, Anthropic, Ollama

πŸ“‹ Prerequisites

  • Python 3.11+ / Node.js 18+
  • PostgreSQL with pgvector extension
  • macOS: brew install poppler ffmpeg
  • Linux: apt install poppler-utils ffmpeg

πŸ—ΊοΈ Roadmap

  • PDF/Web/YouTube import
  • Infinite canvas workspace
  • RAG chat with citations
  • Mindmap generation
  • πŸŽ™οΈ Podcast generation (like NotebookLM Audio Overviews)
  • 🌐 Chrome extension
  • 🌍 Multi-language UI

πŸ“ˆ Star History

Star History Chart

🀝 Contributing

We welcome contributions! Whether it's:

  • πŸ› Bug reports
  • πŸ’‘ Feature requests
  • πŸ“– Documentation
  • πŸ”§ Pull requests

See CONTRIBUTING.md to get started.


πŸ’¬ Community

  • ⭐ Star this repo if you find it useful!
  • πŸ› Report bugs
  • πŸ’‘ Request features
  • 🐦 Follow updates on Twitter (coming soon)

πŸ“„ License

Dual Licensed:

  • Open Source: AGPL-3.0 β€” Free to use, modifications must be open-sourced
  • Commercial: Contact 819110812@qq.com for closed-source licensing

πŸ•ΈοΈ Weaver β€” The open-source NotebookLM alternative
Built with ❀️ by the Weaver community
Inspired by Google NotebookLM

If you're looking for an open-source NotebookLM replacement, give Weaver a ⭐!

About

πŸ•ΈοΈ Open-source NotebookLM alternative with infinite canvas | Self-hosted Google NotebookLM replacement | RAG chat + PDF/Webpage/Video | Any LLM

Topics

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE
AGPL-3.0
LICENSE-AGPL

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6