I made the first commit to OpenNote on December 21, 2025. Eleven months, 664 commits, 10 releases and about 76,000 lines of Rust later, I’m sunsetting it.
It isn’t dying from a lack of users, though 25 stars is hardly a crowd. I’m stopping because I found out I don’t really need it. That’s a harder thing to admit than “nobody came,” and it’s also more useful to write about.
What OpenNote was
OpenNote was a minimal notebook app written entirely in Rust. Its features:
- Keyword and semantic search, so you could find notes by meaning as well as by exact words
- Local-first embeddings, with a default model running on your own machine instead of a hosted AI service
- A self-hosted sync server with encrypted communication
- A WYSIWYG Markdown editor
- An MCP server, so AI clients could read and write your notebooks within permissions and scopes you set
The premise, and why it didn’t hold
My plan was simple: take a proven product category, copy what works, and make it shine at one thing. I borrowed from SiYuan and Obsidian, kept the design minimal, and bet everything on search and MCP.
The idea isn’t wrong in itself. My mistake was in how I applied it.
First, the thing I wanted to shine at was hidden behind everything a note app is expected to have. Before anyone gets to the semantic search, a note app needs an editor, a file tree, tabs, panes, themes, shortcuts, import and export, sync and settings. Each of those has to be good enough that people don’t leave. I’d guess most of my year went into catching up on those basics, and only a small part went into the feature that made OpenNote different.
Second, the thing I picked wasn’t a problem I actually had. I used OpenNote for two things: daily todos and research documents. Over time both moved elsewhere. The todos went to GitHub, my company’s GitHub and Confluence, where the work already lived. The research docs were mostly about features I was implementing, so they ended up in project tickets. OpenNote slowly became the app I opened out of duty, not need.
Along the way I also learned something about my own note-taking. I don’t care much about storing facts one by one. I care about what comes out of the facts: knowledge. Knowledge is worth writing down and reusing. A facts database with good search turned out to be the wrong shape for that.
The counterexample I built by accident
In May 2026 OpenNote got only 19 commits, the fewest of any month. That’s because I was building something else: tiny-llm, a minimal inference engine for the MiniCPM model.
It was small, it had a clear scope, and it solved one specific problem. Today it has 43 stars, nearly twice as many as OpenNote, and OpenBMB recognized it on X.
I couldn’t have asked for a clearer comparison. One month on a small, concrete problem got more traction than a year on a big, vague one.
What I’d do instead
If I started again, I wouldn’t build an app at all.
I already sync my configs for Neovim, Neru and Alacritty with git. Notes could work the same way: a git repo of Markdown files. It gives you versioning, syncing, diffs, and it works offline. AI agents can read plain files in a repo directly, without an MCP server in between.
That’s the main lesson for me: a solution doesn’t have to be big when it starts. Begin with the smallest thing that works, use it for real, and only turn it into software once it has earned that. Don’t decide it’s software on day one.
How the project actually went
I want to record the path honestly, because the detours are where most of the learning came from.
Flutter first (Dec 2025 – Jan 2026). I started with Flutter because one codebase could ship to mobile, desktop and web. The backend was Rust with actix, Qdrant as the vector store, and Docker Compose plus nginx for deployment. I hit a wall with Markdown: every Flutter Markdown editor I found either didn’t render in real time or wasn’t fast enough. So I wrote my own, refactored from a real-time renderer called bit-markdown (bit_markdown_controller). Building an editor in order to build a note app was a sign of things to come.
MCP early (Feb 2026). MCP support with search and metadata tools landed in the second month, before the desktop app existed. In hindsight, that was the part that made OpenNote different from the start.
Four vector stores in four months (Feb – May 2026).
| When | Vector store | Why it changed |
|---|---|---|
| Dec 2025 | Qdrant | A separate server to deploy |
| Feb 2026 | My own local vector DB | Seemed simple enough |
| Mar 2026 | LanceDB | My own DB was too much work |
| May 2026 | sqlite-vector | LanceDB was too heavy |
I dropped my own vector database because writing a real database takes far more effort than I had, and I didn’t have time to study the indexing algorithms properly. That’s way too much for a note app. LanceDB worked, but it was heavy: Arrow, special type handling, and an indexing problem I never fully solved. sqlite-vector won because it was boring. It reused the SQLite + SeaORM stack I already had, and it did the job.
Moving to gpui (Mar – Jun 2026). On March 29 I wrote a gpui “hello world.” In June, v0.2.0 shipped as a native desktop app. By then the Flutter frontend, the Docker setup and a backup/restore feature I’d built in January were all gone.
Building out the desktop app (Jul – Nov 2026). The encrypted sync server, a forked Markdown editor, multi-window support, a second MCP implementation inside the desktop app, file import and export, and finally multimodal (image) embeddings. That last one is on a branch and was never released.
What I learned
1. Reuse first, and modify when you have to
This is the number I’m proudest of: about 71% of OpenNote’s code came from upstream projects that I adopted and modified. Roughly 54k of the 76k lines are an editor fork, a vendored embedding library, code derived from Zed, and a vendored MCP transport. My own code is about 22k lines.
| Upstream | What I did |
|---|---|
| embed-anything | Vendored it when upstream stopped publishing the version I needed. Added EmbeddingGemma and multimodal support, and removed features I didn’t use |
| velotype | Forked it as my editor and contributed a fix from my fork back upstream |
| gpui-component | Copied the tree list into my own crates and customized it for search, then moved back to the public gpui-kit once it had what I needed |
| Zed | Derived code from it under Apache-2.0 |
| SeaORM, SQLite, sqlite-vector | Used them as they are, after learning the hard way not to write my own |
Reuse is what keeps your effort on the part that matters. Don’t write an ORM. Don’t write a database. Find the closest existing crate, read it, and change it if you have to. I spent a lot of time refactoring my database layer, and none of that time went into building the database itself.
Forking has a cost, though. Every fork is code you now maintain. If I did it again, I’d follow one rule: wrap the library if you can, fork it if you must, and send the fix upstream when it’s general enough.
2. Plug into existing ecosystems
I never built a chat interface into OpenNote. MCP let existing clients such as Open WebUI and Cherry Studio bring chat and agent features for free. If a built-in chat had ever become essential, I could have built it then. It never did, and that’s a lot of work I didn’t have to do.
The git idea takes this even further: plain files need no protocol at all.
3. Read before you write
gpui doesn’t have the full API docs that mature frameworks have. Early on I spent a lot of time just reading Zed and gpui source code. It felt slow, but afterwards everything went much more smoothly. When I don’t know how to build something, my first step is now to dig deeper into the codebase or its dependencies, not to start typing.
Reading large codebases like Zed, gpui, gpui-component and embed-anything is probably the most transferable skill this project gave me.
4. Refactor to reload your memory
On a codebase this big, I forgot my own code all the time. So I got into a habit: before adding a feature or fixing a bug, refactor the modules involved first. It improves the API, and more importantly, it reloads the code into my head.
The commit history is full of messages that do both:
- refactored task registration; added reindex in the command bar
- refactored language profile; added channel to the desktop mcp
- refactored mcp server error handling; implemented crud mcp tools
The whole block/payload data-model rewrite landed the day before I wrote my first line of gpui code.
This habit carried over to my job. I was asked to stabilize a high-stakes system that was full of bugs. I can’t share details because of an NDA, but I spent a long time reading and refactoring before fixing anything, then fixed the bugs one by one. One fix stays with me: I solved a bug in about 10 lines of code, where a colleague had proposed a change of around 1,000 lines of additions, not counting deletions. You can only find the 10-line fix if you understand the system. The fixes earned real recognition from leadership, and I don’t think I’d have worked that way without OpenNote.
5. Use event-driven design when it earns its place
gpui taught me when events, channels and async tasks are worth it.
In systems that need real-time feedback, like UIs or voice chat, you can’t block the main thread waiting for a task. So the task runs asynchronously somewhere else. That raises a question: how do the results get back?
- No result needed: fire and forget.
- Result needed: the task publishes it as an event, and subscribers pick it up. OpenNote handled document chunking and storage this way.
- Progress needed: a channel sends intermediate state back to the main thread, which is how OpenNote’s loading panel worked.
The other half of the lesson matters just as much: add these patterns only when you need them. If your app doesn’t need real-time feedback, they add complexity and make the code harder to read. In a sync program you just call the function and get the return value.
6. Keep the scope within what one person can handle
One person’s capacity is limited, and OpenNote got too big for me. More precisely, the size itself wasn’t the problem. The problem was building the whole thing before checking whether its core was worth it. Here’s what I built and later deleted: a Flutter frontend, a Docker deployment, a backup system, my own vector database, a LanceDB integration, pane groups, context menus, a status bar, an app menu and a text-processing crate. Most of that could have been skipped if I’d started from a folder of Markdown files and a search command.
Modular design kept the project manageable for as long as it lasted. Pulling shared logic into crates and traits made it easier to understand, review and reuse, and it’s why swapping vector stores four times didn’t sink the project. Next time, though, I want a problem small enough that I don’t need that much structure just to keep it under control.
7. Choose the seams upfront, even when the scope is small
“Start small” doesn’t mean “decide nothing.” A few things are cheap on day one and painful to retrofit, and OpenNote taught me which ones.
An extension system. Obsidian’s developers planned theirs before writing any code. Licat: “Retrofitting a plugin system is hard, so from the start Obsidian was built with a plugin API in mind. Our internal functionality all use that API which we eventually stabilized to expose.” (source) The trick isn’t shipping a plugin store early. It’s building your own features through the same API that extensions will use later.
One command layer. Every action should be a named command, so that shortcuts, the command palette, MCP tools and extensions all go through the same path. In OpenNote, I redesigned the keymap at least three times and built MCP twice, because the UI and the agents each had their own way into the app.
Versioned data, with a clear source of truth. I went through four vector stores and a full data-model rewrite, and I only added config migrations after users already had config files. What saved me was deciding that SQLite was the source of truth and the vectors were rebuildable. Next time I’ll start with that rule, and with version numbers on both the data and the config.
Everything else can wait until it hurts.
Thanks
To the people who contributed code: @huangqi125125, @shon-yuan, and @xxxxxier. Thank you.
To the projects OpenNote was built on: Zed and gpui, gpui-component / gpui-kit, embed-anything, velotype, SeaORM, SQLite, sqlite-vector, rmcp and appify, and everyone who maintains them. I hope OpenNote did justice to your work.
And to the 25 people who starred the repo: thank you for the encouragement.
What happens now
- The repository will be archived. The code stays MIT-licensed, so feel free to fork it or take parts of it.
- The
v0.2.8release binaries stay available. - The unfinished multimodal branch stays as it is.
Closing
OpenNote didn’t become the product I hoped for. It did make me a better engineer: I can read unfamiliar codebases, I reach for existing solutions first, I refactor to reload my understanding before changing code, and I know when a design pattern is worth its complexity. Those skills already paid off at work.
For the next project: find a concrete, small problem, solve it in the simplest way possible, use it yourself, and let it grow only if it deserves to.