liliu-z/stashbase
An open-source, local-first writing workspace where you can write with Claude Code and Codex, drawing on your own sources and past work.
What it solves
StashBase provides a local-first writing workspace that functions like an IDE for writers. It solves the problem of fragmented writing workflows by integrating AI agents directly with a user's own local sources and past work, allowing for context-aware drafting and revision without losing the author's unique voice.
How it works
Users organize their work into local project folders. The system uses text extraction and semantic search to provide AI agents (such as Claude or Codex) with fast, accurate context from these files. It features a specialized "document diff" system that allows users to review AI-suggested edits as inline prose changes (red strikethroughs and green highlights) rather than traditional code-style diffs. It also supports the Model Context Protocol (MCP) to connect with external agents.
Who it’s for
It is designed for writers, researchers, and content creators who want to use AI to draft and refine documents while maintaining strict control over their local data and personal writing style.
Highlights
- Local-first architecture: Documents stay in local folders and OCR/text extraction runs locally.
- Semantic Search: Integrates with OpenAI or OpenRouter to search sources by meaning.
- Prose-centric Diffing: Review AI edits directly in the flow of the document with intuitive Undo/Keep options.
- Voice Preservation: Uses past writing and edits to guide new drafts.
- MCP Support: Allows external MCP clients to read, search, and edit project files.
Related
- Project
- Project
- Project
- Project
- Project