qnotes

A notebook for people who write things down

Your notes live with you, not on someone else's server.

qnotes is a calm Markdown notebook for your computer and phone. It works offline, syncs straight between your own devices, and locks everything before it leaves them. Even the backup servers can't read a word.

Free. Windows, Linux and Android, with an iPhone beta.

The qnotes desktop app in its warm Paper theme: folders and tags on the left, a list of notes in the middle, and an essay titled 'On keeping a commonplace book' open on the right, with headings, a quote and a checklist rendered as you type.
The desktop app, Paper theme. Notes are plain Markdown; formatting appears as you type.

§The short version

  1. It works without the internet.

    Every note is stored on your device first. On a plane, in a basement, on bad hotel Wi-Fi: you just keep writing. Nothing waits on a server.

  2. Your devices talk to each other.

    Your laptop and phone sync directly, over your own network when they can. Edit the same note on both and the changes are combined, not overwritten.

  3. Nobody else can read it.

    Notes are encrypted on your device with keys that never leave it. Our servers only hold sealed copies. We couldn't read them if we wanted to, and neither could anyone who broke in.

i.Two devices, one notebook

Try it. Type in either device below. Then switch the connection off, change both notes, and switch it back on. Nothing is lost: each device keeps its own complete copy, and when they meet again they combine what changed.

Laptop Synced
Phone Synced

This runs entirely in your browser. It merges text the same basic way the app does: every letter you type gets a small permanent label, so two devices can always agree on where each one belongs, no matter which order the changes arrive in.

ii.Why it's built this way

Most note apps keep the real copy on their computers and lend you a view of it. We turned that around. Each choice below has a plain explanation, and a note for engineers who want to check the working.

01

Every device holds the real thing

Your phone isn't a window onto a server. It holds a full, working copy of your notebook, and so does your laptop. If our servers disappeared tomorrow, you would still have every note, and your devices would keep syncing with each other.

For engineers

Each device keeps an authoritative replica in SQLite with crash-safe transactional writes. The UI writes locally and returns; sync is a background concern. There is no "primary" device and no server-side source of truth. Servers are optional relays and archives, never required for reading or writing.

02

Edits are combined, never quietly overwritten

When two devices change the same note while apart, qnotes keeps both sets of changes. In the rare case two edits really do clash, it says so with a clear Needs attention mark and lets you decide. It never picks a winner behind your back.

For engineers

Each note is its own CRDT document (Automerge). Merges are deterministic: any two devices that have seen the same set of changes show the same text, regardless of arrival order. Per-note documents keep merges small and keep one damaged note from affecting others. Catalog state (folders, tags, pins, trash) is merged with the same determinism rules. Conflicts that can't be resolved structurally are surfaced, not dropped.

03

Locked before it leaves your hands

Everything is encrypted on your device before it travels anywhere. The servers that help with sync and backup only ever handle sealed envelopes. Flip the switch below to see the same note the way a server sees it.

Tide tables and ferry times

Working numbers for the ferry scene. Invented, but they must stay consistent.

High water 06:12. Last boat 18:40. Ines leaves on the six o'clock, so the harbour is still half empty.

For engineers

Content is sealed with XChaCha20-Poly1305 under keys derived with HKDF-SHA256; hashes and identity commitments use BLAKE3-256. Keys are generated and kept on devices. Relays and archive servers are keyless: they store and forward ciphertext but hold nothing that decrypts it. See Limits for the metadata they can still observe.

04

Built to stay private for a long time

Notes are often meant to last decades. Someone could copy encrypted data today and wait for much more powerful computers to crack it later. So qnotes locks things twice: once with today's proven methods, and once with newer methods designed to resist those future machines. Breaking one lock isn't enough.

For engineers

Hybrid post-quantum throughout. Signatures are Ed25519 and ML-DSA-65 (FIPS 204), and both must verify. There is no classical-only fallback path to downgrade to. Key encapsulation is X-Wing (ML-KEM-768 combined with X25519). Derivations and envelope bytes are frozen in published test vectors so independent implementations can be checked against them.

05

Adding a device is something you can see

To add your phone, you scan a code on your computer. Then both screens show the same six digits. If they match, you confirm on both. Being on the same Wi-Fi or knowing an address gives nobody access. Only you, looking at both screens, can let a device in.

Computer ––– –––
Phone ––– –––

Start pairing to get a code.

For engineers

The QR carries a short-lived locator; scanning is input, not consent. The six digits are derived from the authenticated hybrid handshake transcript (endpoint keys, commitments, vault, generation and both parties' nonces), so a relay or LAN attacker that substitutes keys produces different codes. Both intended devices must confirm. Invites expire after ten minutes. A code is about 20 bits per attempt: strong against a single interception, not a defence against unlimited retries, which is why attempts are bounded and contested claims are burned.

06

Backups that can't read what they keep

Phones fill up and laptops get lost. qnotes can keep sealed backup copies on an always-on machine: one of ours, one you run yourself, or simply an old computer of yours set to Offer as backup. A device only lets go of its own copy once two separate backups have confirmed they still hold it.

For engineers

Archive nodes are keyless and hold ciphertext only. Eviction from a device requires K=2 independent archive copies, and an archive counts as healthy only after signed retention checks, not because it acknowledged an upload once. Any paired native device can serve as an archive. A self-hosted server ships as a container image.

07

A recovery kit you write down once

When you create your notebook, you get 24 words. Write them on paper and put them somewhere safe. You won't need them day to day; they're for rare, serious moments, like getting back in after losing your devices. There's no password reset email, because there's no one holding a copy of your keys.

For engineers

The kit is 24-word BIP-39 entropy. A generation-bound HKDF derives the root signing identity (Ed25519 + ML-DSA-65), the X-Wing recovery wrapping key, and namespace and directory keys as independently labelled outputs. Root secrets are transient: they are derived when needed for a root operation and not kept on devices.

08

The rules are proven, not just tested

Who may add a device, who may remove one, and what happens after a removal: these rules matter most, so beyond ordinary testing they're written as mathematical proofs that a computer checks line by line.

For engineers

The authority and revocation model is formalised in Lean 4, with machine-checked proofs of its safety properties under stated assumptions (for example, that the underlying primitives are secure). The proofs cover the model, not every line of the implementation; they're complemented by frozen protocol vectors and the Rust test suite.

iii.And it's a good place to write

Privacy is the foundation, not the point. The point is the writing, so the editor stays out of the way.

  • Markdown that looks finished. Headings, quotes and lists render as you type. Switch to source, reading or side-by-side whenever you like.
  • The things writers reach for. Tables, checklists, footnotes, callouts, maths, code, and [[links]] between notes.
  • Find anything. Fast search on the device itself, with an honest note when some older notes aren't searchable offline.
  • Folders, tags and pins. Organise loosely or not at all. Trash has undo, and every note keeps its history.
  • Pictures and files. Drop them in. Send a file from your laptop to your phone on the same network without a cloud in between.
  • Make it yours. Calm light and dark themes, sans, serif or mono type, and Vim keys if that's how your hands work.
The appearance settings in qnotes: light presets Daylight, Paper and Mist, and dark presets Graphite, Midnight, Forest, Ember and High contrast.
Themes are per device: Paper by day, Ember at night.

Sync status is just four words: Saved Syncing Synced Problem. No spinning icons to decode.

iv.What it won't do (yet)

We'd rather you hear the limits from us.

v.Download

Free. No account, no sign-up. Create a notebook and start writing.

Run your own backup server. It holds sealed copies only, so it can live on any machine you trust to stay switched on.