Sandbox
@sheshbabu/zen

Self-hosted notes app with SQLite and MCP

Zen is a personal notes app that stores Markdown in SQLite and serves it from a single Go binary. It supports tags, templates, pinned notes, archive and delete flows, full-text search, and note links with preview. It also has experimental canvas, semantic search, and MCP note access.

1,173 stars61 forksJavaScriptUpdated 11d ago
Who it's for

Builders who want a lightweight self-hosted notes app for personal knowledge and agent access.

What it delivers

You can keep notes local, searchable, and portable without running a heavy notes platform.

What it does

Markdown notes in SQLite

Stores notes as Markdown with a local SQLite database.

Full-text search

Uses FTS with BM25 ranking to find notes quickly.

Flexible organization

Organizes notes with tags instead of rigid folders.

Templates and pinned notes

Lets you create reusable note templates and pin important notes.

Archive and soft delete

Supports archiving, soft deletion, and bulk cleanup actions.

Internal note links

Provides note links with side-panel previews.

Experimental canvas and semantic search

Adds canvas-based note organization and optional semantic search for notes and images.

MCP notes access

Exposes note search, listing, and reading through an MCP server.

How to get it

  1. 1Build from source
    $ make build

README

Zen

Live DemoFeaturesUpdates

Features

  • Single Go binary or Docker Compose
  • Low resource usage
  • Standard Markdown files, local SQLite database
  • Organize with flexible tags, not rigid folders
  • Markdown features like tables, code blocks, task lists, highlights, and more
  • Full-text search with BM25 ranking
  • Import and export data with full portability
  • Templates
  • Pinned notes
  • Archive and soft delete notes
  • Bulk archive and delete
  • Internal note links with side panel preview
  • Minimal dependency footprint
  • Automated backups (via Zen Backup)
  • Import from other services (via Zen Import)

Experimental Features

  • Canvas for spatial organization of notes and images (stored as JSON Canvas)
  • Semantic search for notes and images (via Zen Intelligence)
  • Similar images (via Zen Intelligence)
  • MCP for searching, listing and reading notes

Installation

Build from source

$ make build

Local Development

Run the application using default configuration

$ make dev

Run the application in watch mode

Install air and esbuild

$ go install github.com/air-verse/air@latest
$ go install github.com/evanw/esbuild/cmd/esbuild@latest
$ make watch

Schema Migrations

  • Create new migration file under ./migrations
  • Use the format <version>_<title>.sql

Image Versioning

$ git tag x.y.z
$ git push origin x.y.z

Contributions

This is a personal project built for my own use. The codebase is available for forking and modifications. Note that I may not actively review pull requests or respond to issues due to time constraints.

Thanks

Files in the repo

Repository payload18 top-level entries
  • .claude
  • .github
  • .vscode
  • assets
  • commons
  • docs
  • features
  • migrations
  • .gitignore
  • CLAUDE.md
  • Dockerfile
  • go.mod
  • go.sum
  • index.js
  • license.md
  • main.go
  • makefile
  • readme.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More other

tinyhumansai/
openhuman

OpenHuman is an open source personal AI for Mac, Windows and Linux — local-first memory, agent orchestration, and deep research.

40k

Your Personal AI Assistant; easy to install, deploy on your own machine or on the cloud; supports multiple chat apps with easily extensible capabilities.

35k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

82k

AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs

52k

Open-source, desktop-grade AI agent that gets real work done — data analysis, slides, docs, video & web research. Built on OpenClaw; runs tools on your real desktop and takes commands from your phone via WeChat, Feishu, DingTalk & Telegram.

6k