📓 Thoth – Local-First, Open-Source Notes App
I started it on 21 October 2026 and shipped the first desktop release three days later. It's at version 0.12.2 now (23 November 2026). It runs on macOS, Windows and Linux, in English and Thai, under the Apache-2.0 licence.

📚 Overview
A
Private Spaceis a folder of Markdown files on your computer. It works offline, needs no account, and stays readable in any text editor, even if you stop using Thoth. When you want to work with other people, you copy or move pages into a
Workspaceon a server you run yourself. The server is free, and it speaks an open protocol.
AI fits in the same way. The
Agent Hubruns Claude Code or Codex, which you install yourself, and every change they propose shows up as a diff you approve first.
Connected appslet other AI tools read the pages you share and propose changes. Since 0.9.0 they also share
one memory, kept as Markdown files in your Private Space.
💡 Why I Built It
- Notes that outlive the app:
I wanted notes I can still open in any editor ten years from now, so the files themselves are the source, not a database behind them
- No silent overwrites:
if two edits clash, you see both and choose, whether the other edit came from a teammate, another app or an AI
- AI that asks first:
an AI change to a page should be something you read and approve, not something you discover later
- Agents that remember the same things:
Claude Code, Codex and Cursor each kept their own memory, so each one started from nothing
🚀 What It Does
✍️ Writing
- Blocks and Plain, one file:
a block editor with a slash menu and toggles, or a plain Markdown editor with a live preview. Switching never rewrites text you didn't touch
- Today, Timeline, Connections and Board:
today's page from a template; pages by date with tag filters; each page's links, backlinks and unlinked mentions; and notes as sticky notes on a board, saved as .canvas files
- Imports from Notion and Obsidian:
links are kept, and a report lists anything that couldn't come across
- OCR, if you want it:
an optional module reads Thai and English text in images and PDFs on your computer, and downloads only when you click
🤝 Sharing
- Workspaces on your own server:
one container plus PostgreSQL, with owner, manager, editor and viewer roles, and folders you can hide from the team
- No silent overwrites:
every save checks that the page is still the version you opened. If it isn't, you choose: keep mine, keep theirs, or keep both

🤖 AI Agents
- Agent Hub:
runs Claude Code or Codex on the pages you pick, using your own sign-in to those tools. Changes come back as a diff, and nothing is written until you choose Apply
- Connected apps:
an MCP server for Claude Code, Codex, Claude Desktop and Cursor, off until you switch it on. Apps can search and read the pages you share, and every page change they propose waits for your review
- Agents' memory:
your agents save what they learn about you and your projects as one Markdown file per memory in a Memory folder, and every agent reads the same memory. Memories save without asking by default, with a switch for each app. Team memory in a Workspace waits for review
- Skills:
a Skills folder of SKILL.md files your agents can list and follow. Agents change a skill only by proposing it for your review
🏗️ How It's Built
- A Rust host under a TypeScript app:
the desktop app is Tauri 2. The domain logic is TypeScript running in the webview, and it reaches the disk only through Rust commands scoped to the folder you opened
- Files first, index second:
Markdown files are the source of truth. The SQLite search index lives in the app's data folder and can be deleted and rebuilt without losing anything
- Compare-and-swap writes:
each write says which version of the file it expects to replace, and Thoth refuses to overwrite a file that changed
- Byte-for-byte Markdown:
blocks you don't edit are written back exactly as they were, and anything the editor doesn't understand is kept as raw text
- An open protocol:
a REST API under /api/v1 with an OpenAPI 3.1 description and a conformance suite, so anyone can build another server or client
- Decision records:
more than 50 ADRs in the repo explain why things are the way they are, including the options I rejected
🧭 Honest Gaps
- Early days:
the first release was in October 2026
- No phone app for the Private Space:
phones get the web app for team workspaces
- No plugin system, by choice:
Thoth is extended through AI agents and their skills, the MCP server and the open protocol
- Unsigned installers for now:
code signing is still pending, so macOS and Windows show a warning on first launch
👨💻 My Role
Thoth is my idea, and my part is the creative direction, the design structure and the review. I decided where notes live, how conflicts work, that AI edits are reviewed, how agent memory and its review rules work, and what Thoth won't do. Each decision is written down in an ADR. The code was written with Claude Code, and I reviewed every change before it shipped.
🔗 Links
About Thoth: Thoth is a free, open-source notes app: your notes are Markdown files on your computer, shared with a team only when you choose.


