Tutorial

Self-Hosting Notesnook: What I Found Trying

Why this matters

Notesnook is one of the few note-taking applications where the privacy claim is structural rather than a promise. Your notes are encrypted in the client, before they leave the device, and the server only ever holds ciphertext. That is a different category from an application that says it encrypts your data at rest.

The clients are open source — desktop, mobile and web — and they work against the hosted service for free. The interesting question is whether you can host the server yourself and keep that guarantee.

I tried. This is what happened.

What I tested on

  • OS: OpenCloudOS 9.6 (kernel 6.6.119-49.23.oc9.x86_64)
  • Runtime: Docker 29.9.2 with Compose v5.6.1
  • Hardware: 2 vCPU / 3.5 GB RAM / 60 GB xfs
  • Duration: evaluated in October 2026

looking for the notesnook server image: five candidate names, none of them in the registry

How I tested

I went to the registry first, which is where a self-hosted deployment starts. The client applications are not the issue — they are ordinary end-user software. The question is whether the server images are published under a name you can find.

The screenshot is the honest result: five plausible names, none of them in the registry.

sissbruecker/notesnook-server:latest     not found in the registry
notesnook/server:latest                  not found in the registry
streetwriters/notesnook-server:latest    not found in the registry
streetwriters/notesnook:latest           not found in the registry
notesnook/notesnook:latest               not found in the registry

The images that did pull, on the same host, in the same session:

b4bz/homer:latest                    23.9MB
miniflux/miniflux:latest             51.3MB
postgres:16-alpine                  418MB
searxng/searxng:latest              384MB
sissbruecker/linkding:latest        570MB

So this is not a registry problem, and it is not a network problem. The images for the server either are not published under those names or are not published at all under a public registry.

What the self-hosted server actually needs

The self-hosted deployment is not one container. The project’s own compose file brings up a group of services:

ServiceWhat it does
serverThe sync API — the part the clients talk to
identityAuthentication, registration, key wrapping
sseServer-sent events, for real-time sync between devices
mongodbThe document store
minioS3-compatible storage for attachments and blobs

That is five containers before any of your own services, and two of them are databases. On the 3.5 GB machine this site runs on, MongoDB and MinIO together are a substantial fraction of the memory budget — MinIO alone will happily reserve a large share of the page cache, and MongoDB’s default WiredTiger cache is half of whatever it thinks the host has.

Add to that the fact that the project marks the self-hosted path as alpha with limited documentation. The clients get the attention; the server gets a compose file and a paragraph.

Why I stopped there

Two reasons, and neither is that the project is bad.

The threat model does not improve as much as it looks. The encryption happens in the client. If you host the server, the server operator — you — holds ciphertext and nothing more. If you use the hosted service, the operator also holds ciphertext and nothing more. The hosted service does have metadata (when you synced, from which device, how much), and that metadata does move to your server when you self-host. That is a real gain. It is also a much smaller gain than the marketing suggests, and it costs five containers and your attention.

The operational cost is not small for what it buys. Every container is something to update, back up and monitor. The list of things on that box would go from five to nine, and the two new databases are the two that need real backups rather than a copy of a file.

So the honest recommendation is: use the free hosted service, and self-host something else on the same box if you want your data at home. The client-side encryption already does the work people are looking for.

What I run instead

The stack on this machine, all of it working, none of it pretending to be Notesnook:

ServiceMemoryContainer
homer1.07 MB1
miniflux12.3 MB1, plus PostgreSQL
postgres37.5 MB1
searxng177.1 MB1
linkding203.8 MB1

the stack, running: five containers, all on the loopback interface

For notes specifically, the answer on this box is Linkding for anything worth keeping as a reference, and Miniflux for the things that arrive on their own. Neither is an encrypted notes app, and I am not going to pretend otherwise — if you need a notes app with end-to-end encryption and your own server, Notesnook’s clients plus the hosted service is the combination that works.

Pros and cons of self-hosting Notesnook

Pros:

  • The sync metadata stays on your machine
  • One fewer company between you and your notes
  • The same clients, the same encryption, the same apps

Cons:

  • Five containers rather than one, two of them databases
  • The project treats the self-hosted path as alpha
  • The server images are not published under the names the documentation implies
  • You take on backups for two stateful services to protect data that is, by design, already unreadable to you

Best for / Skip if

Best for: someone who has read the Notesnook threat model, agrees with it, and specifically wants the sync metadata off a third party’s servers — and who already runs databases and wants another one.

Skip if: your reason for self-hosting is “I do not want a company reading my notes.” That company already cannot read them. The encrypted clients give you that without a server.

Alternatives

  • Joplin — open source, local files, end-to-end encryption, and no server at all unless you want sync across devices
  • Standard Notes — the same encrypted model with a simpler deployment story
  • Syncthing — not a notes app, but it syncs a folder of Markdown between your devices with no server involved

Verdict

I did not stand up the Notesnook server, and I am not going to write a guide telling you it took ten minutes when it did not. The encryption is the part worth having, and the clients give it to you. Host the server only if the sync metadata is what bothers you — and if it is, you already have the five containers’ worth of infrastructure in front of you.

References

FAQ

Is it really end-to-end encrypted?

Yes. The server stores ciphertext; the clients hold the key.

Can I sync across devices?

Yes, that is the point of the sync server — but you can also use the free hosted service and keep the same encryption.

Is it worth running the sync server myself?

Usually not. The clients are open source and work against the free hosted service with the same encryption. The server adds five containers and the project calls that path alpha, so run it yourself only if the hosted service stops being an option.

Henry Xiang

I keep self-hosted services alive for a living — backups, docs, monitoring, the boring parts that break at 3am. Everything here runs on my own hardware first.