[AIP] Cyphernotes, E2EE self-hosted shareable notes (alpha)
Note this is an ALPHA release!
Cyphernotes v0.32.3 – end-to-end encrypted, self-hostable, shareable notes.
I’m sharing it here because I’d like to get input outside my own brain at this point.
What this is and isn’t
- It’s not “the kitchen sink” – by intention, the scope is much more limited, similar in scope to Google Keep
- I’d like to eventually add something like tags, but there’s no intent for things like channels, notebooks, or other self-contained scopes (eg Outline)
- Sharing notes is fundamental – if you don’t need it, other projects are further along and also E2EE.
- No feature gate-keeping, what you see is what you get.
- Desktops should be able to use it, unlike Joplin or Obsidian
- It also should have a mobile app, or at least the option (note that I don’t have iOS ready), unlike something like Trilium
- Notes are freeform, not just TODO or grocery lists
You’re promising E2EE with slopcoding?
Yes, I am – because this is actually Signal at its core.
To keep Signal’s promises and vetting transparent, the build is actually overlaying patches on top of clean submodules. You don’t even have to do a diff against Signal – just an inspection of the patches proves that the Signal security model isn’t touched.
To keep Claude in check, there are a pile of static linters and quality checkers that are bound in pre-commit and pre-push hooks.
What, notes are Signal?
This was basically the core insight. Simple notes that can be represented as text can be handled as conversation items, revisions as previous messages, and sharing E2EE is handled by Signal’s group messages.
Attachments are Signal’s attachments, and a valid extension in the note title enforces that syntax highlighting in the formatter.
The only change to Signal’s security model is the addition of TOTP on login (which uses Signal’s backup-restore functionality to restore your notes to your client). The web client is derived from Signal’s desktop clients.
AI disclosure as per rule 8:
- Design: Model has to run all choices by me beyond minor implementation details that I don’t pre-specify. The core design drivers are all human.
- Implementation: Almost entirely generated. I hop in and spot change some tooling choices, and merges to main are owned by me. I’ve made some prose changes and need to make more because LLMs are terrible at prose.
- Testing: Generated test suite, mutation testing, static code quality checkers, and then lots of dogfooding
- Documentation: Generated. Currently only light edits; I plan more extensive ones over the holidays because I hate LLMese.
- Review: Dogfooding. Core libraries are externally vetted as unchanged Signal source code, so this is user experience.
- Deployment: Assisted. It’s currently a bespoke script for my environment, but I’ll get a generic one made at some point.
Because I’m developer (though Python/SQL/Spark etc, thus the heavy reliance on Claude here) notes can be edited in pure Markdown, or in a WYSIWYG editor (WYSIWYG is pending on Android, live on web). To accomodate the grocery-list paradigm checkboxes always toggle state even in the formatted view.
I had kind of wanted some more UI/UX polish before sharing here, but I decided a long weekend in the US was probably a better share time even if it solicited some “redundant” commentary. That said, I’m not a designer and my UI/UX has always been rudimentary and utilitarian, even in my web-dev days, so I would happily entertain suggestions, mocks, or PRs especially in the UI/UX department.
I’ll share out my scope when I have a chance by filing issues on my own repo with my TODOs, but I welcome comments here or issues on the repo (or even PRs).
No iOS yet because I roll Linux and will need to monopolize my wife’s laptop to do it, so it’ll come after web and Android are ready for a 1.0.
What do you mean by desktops should be able to use it, unlike Joplin or Obsidian?