Skip to content
 
 

Repository files navigation

SourceWeft

SourceWeft

Open-source NotebookLM alternative: connect your sources, ask grounded questions, generate cited outputs, and extend deep knowledge work with Virtual FS and extensible Skills.

Self-hosted and multi-model, with files, web pages, notes, YouTube, and SaaS connectors so teams stay in control of their data, models, and knowledge work.

License: Apache-2.0

English | 简体中文


SourceWeft is an open-source NotebookLM alternative for deep knowledge work. Connect PDFs, web pages, notes, YouTube, Notion, Google Drive, Gmail, Slack, and more into one organized source space, then ask questions with answers grounded in verifiable citations.

Beyond Q&A, SourceWeft helps you create study guides, FAQs, timelines, research briefings, drafts, audio overviews, image artifacts, and other knowledge outputs. Virtual FS, built-in Skills, custom Skills, web tools, and working files give agents the context and tools to read, search, create, organize, and refine work across your sources.

SourceWeft interface


Use Cases

Research briefing. Papers, web pages, and notes -> cited research briefings with key claims, evidence, and open questions.

Learning guide. Course material, videos, and PDFs -> study guides, FAQs, and quiz drafts.

Content workspace. Product docs, web pages, and team notes -> blog drafts, launch outlines, and image Artifacts.

Team knowledge. Drive, Gmail, Slack, Notion, and other connected sources -> traceable answers about decisions, projects, and shared context.


Why SourceWeft

Connect all your sources. Work across files, URLs, notes, YouTube, source trees, and SaaS connectors.

Ground every answer. Ask across selected sources and get cited, verifiable responses.

Give agents a real workspace. Virtual FS organizes sources, working files, Artifacts, and Skill instructions into navigable context.

Extend agents with Skills. Built-in and custom Skills add reusable domain methods, slash commands, tool defaults, and task-specific guidance.

Self-host SourceWeft, use your own models for chat, embeddings, rerank, image, and audio, and share workspaces with your team.


How to Use

  1. Create a workspace. Start with a personal workspace, or invite teammates into a shared workspace with roles and shared billing.

  2. Add your sources. Upload files, paste URLs, write notes, add YouTube links, or connect tools like Notion, Google Drive, Gmail, and Slack.

  3. Let SourceWeft index them. Sources are parsed, chunked, embedded, and made searchable with hybrid retrieval.

  4. Ask, create, and refine. Chat with selected sources, generate cited outputs, use Skills, search the web, create Artifacts, and keep working from the same context.

  5. Use it everywhere. Continue from the web app, desktop app, or browser extension with your sources and team workspace in sync.

Sandbox Execution (Alpha)

SourceWeft can optionally run approved commands in an isolated, temporary sandbox runtime. The sandbox is a scratch execution environment; SourceWeft /work remains the durable working-file area.

Mental model:

  • /work is durable SourceWeft workspace storage.
  • Sandbox /workspace is temporary and disposable.
  • Selected /work files may be copied into sandbox /workspace/input or /workspace/work only after explicit approval.
  • /kb source evidence is not mounted or copied directly into the sandbox.
  • Commands run in the sandbox only after human approval.
  • Outputs are not durable until collected back into /work or published through a supported artifact pipeline.
  • Sandbox-generated outputs are not citable evidence unless verified against citable sources.

The sandbox provider is an operator detail; users should think in terms of an isolated temporary execution environment rather than a specific provider.


Self-host with Docker

Use Docker Compose when you want to run SourceWeft from the published container image.

git clone https://github.com/SourceWeft/SourceWeft.git
cd SourceWeft
cp docker/.env.example docker/.env
# Edit docker/.env — set the two required secrets before using beyond localhost.
# OSS defaults start with quota enforcement on and payment/mail SaaS providers off.
# Model provider keys are optional for boot; configure one before using model features.
docker compose -f docker/docker-compose.yml up -d

Open http://localhost:3000, sign up, and start.

Sandbox execution is disabled in the base compose file. To enable sandbox execution, point the DAYTONA_* values in docker/.env at an external Daytona deployment and review the sandbox TTL, timeout, and file/output byte limits.

SaaS billing and payment checkout are opt-in. See the SaaS billing block in docker/.env.example for the required SOURCEWEFT_SAAS_ENABLED, BACKEND_BILLING_PROVIDER, Creem, and public checkout UI settings.


Contributing

Bug reports, feature ideas, code, and design — all welcome.
See CONTRIBUTING.md to get started.

SourceWeft contributors

Community

License

Apache License 2.0

About

An open-source NotebookLM alternative that turns your knowledge into answers, content, and team intelligence. Self-hosted, multi-model, and extended with virtual FS and Skills for deep work. https://discord.gg/KNqTGh2qrk

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages