This is a personal note-taking system built for long-term thinking and local-first control. Notes are stored as .md files on disk, interconnected with [[WikiLinks]], and indexed for full-text search. The system is designed to be self-hosted and eventually sync across your own devices.
- Markdown notes stored on disk with optional YAML frontmatter
- WYSIWYG editing experience
- Wiki-style linking via
[[Note Title]]and backlink tracking - Full-text search powered by SQLite FTS
- Self-hostable backend with Bun + Hono
- Desktop app using Tauri + React
- Graph view to visualize note connections
- Simple file system layout — no database lock-in
- Clone the repo:
git clone https://github.com/yourusername/second-brain.git
cd second-brain - Install backend dependencies:
cd backend
bun install- Install frontend:
cd vault
bun install- Start backend server:
cd backend
bun run start- Start frontend app (Tauri):
cd frontend
npm run tauri devLink between notes using double brackets like:
[[Some Note Title]]
These links are automatically extracted and used to build:
- A backlinks list
- A graph of note relationships
Even if the target note doesn't exist yet, the link is recorded.
The app uses SQLite full-text search to let you find relevant notes quickly. The content is indexed on load and updated automatically.
- ❌ File/image attachments (for now)
- ❌ Mobile app (planned via React Native)
- ❌ Real-time or offline-to-online sync
- ❌ Multi-device sync
- Store local edits/files and sync when online
- File and image support (initially local, then synced)
- Note tagging and metadata view
- AI-powered features: summarization, organization, suggestions
- Encrypted remote backups
- Conflict resolution for sync
- You own your data — stored as plain
.mdfiles - You host your own "brain" — no vendor lock-in
- Designed to evolve — extendable with your own tools
- Local-first, then sync — no silent cloud dependency