Self-Hosted Isn’t the Same as Owned, So I Built My Own Notes App

A few weeks ago, AppFlowy was where my long-term knowledge lived. Then one change made me rethink what “owning my data” actually means.

15 min read

A few weeks ago, I made a video about where I keep my long-term knowledge.

At the time, I said AppFlowy was one of my favorite open-source projects.

I meant it.

I used it every day.

Pages.

Databases.

Projects.

Book notes.

SOPs.

It had become the permanent layer of my Capture → Curate → Recall system.

Then I kept thinking about one thing.

The AppFlowy app is still open source.

But the self-hosted server is not.

And that forced me to confront a distinction I had been ignoring:

Self-hosted is not the same as owned.

So I did something I hadn’t planned to do.

I built my own notes app.

What Changed With AppFlowy

I want to be fair here.

This isn’t an angry “AppFlowy betrayed open source” story.

Companies need sustainable business models.

Servers cost money.

Developers need salaries.

Infrastructure needs maintenance.

But the model changed.

AppFlowy Cloud moved toward an open-core model, and in September 2026 the old open-source AppFlowy-Cloud repository was archived. AppFlowy now directs self-hosted users to its commercial self-hosting distribution, powered by its maintained commercial server codebase.

The desktop app remains open source.

You can still run the server on your own hardware.

Your data can still live on infrastructure you control.

But the server code you are running is no longer fully open.

That may be perfectly acceptable for many people.

For me, it raised a bigger question.

If I Run the Server but Can’t Inspect It, Do I Really Own the System?

I had been thinking about ownership like this:

My hardware
    ↓
My server
    ↓
My data

Therefore:

mine.

But that turns out to be incomplete.

Because if the software controlling that server can become closed tomorrow, then I control the machine without necessarily controlling the software stack.

I can choose where it runs.

I cannot necessarily choose how it evolves.

That is a different kind of ownership.

AppFlowy’s current self-hosting repository is explicit that its production server is distributed under a commercial license, even though it still runs on infrastructure you control.

That distinction stayed in my head.

And there was another issue.

My Notes Were Still Readable by the Server

Even when I hosted the server myself, the server still needed access to the actual contents of the workspace.

That means whoever controls the machine can potentially read the notes.

So can malware with sufficient access.

So can an attacker who compromises the server.

Self-hosting reduces one category of trust.

It does not eliminate trust.

And when I looked at what lived in my knowledge base, that bothered me more.

Book notes aren’t particularly sensitive.

But my knowledge base also contains:

  • private ideas
  • business plans
  • project research
  • unpublished concepts
  • meeting notes
  • personal documentation
  • SOPs
  • files I don’t want exposed

It is basically a structured copy of how I think.

I wanted a different architecture.

So before writing any code, I wrote down five rules.

Rule 1: The App Must Work With No Account and No Server

This was non-negotiable.

Open the app.

Start writing.

No email address.

No account creation.

No connection to somebody else’s infrastructure.

No server required.

No “offline mode” as a degraded version of the real product.

Local is the real product.

Sync is optional.

If the server disappears tomorrow, the application should still work.

That rule became the foundation of atomik-kb.

Rule 2: Encrypt on the Device First

The second rule was:

the server should never receive readable content.

Not because the server is necessarily malicious.

Because I don’t want the architecture to depend on trusting it.

atomik-kb stores its local workspace in an encrypted SQLCipher database.

The encryption key is created on the device and stored through the operating system’s credential storage.

The goal is simple:

The plaintext lives where I’m actively using it.

Not sitting exposed on disk.

The notes are encrypted before they become somebody else’s problem.

Rule 3: The Sync Server Must Not Know What I Wrote

This became the hardest architectural rule.

If I enable synchronization, every change is encrypted and signed on the client before it leaves the device.

The server receives ciphertext.

It stores ciphertext.

It relays ciphertext.

What it should not receive is:

  • page text
  • titles
  • tags
  • filenames
  • workspace content
  • encryption keys

The sync server is useful.

But it should be dumb.

That is the design I wanted.

A Server That Only Sees Noise

The simplest way I think about atomik-kb sync is:

DEVICE A
plaintext
   ↓
encrypt + sign
   ↓
ciphertext
   ↓
SERVER
stores unreadable data
   ↓
ciphertext
   ↓
DEVICE B
verify + decrypt
   ↓
plaintext

The server moves data.

It does not understand it.

That is what “zero knowledge” means in this context.

Not that the server literally knows nothing.

We’ll come back to that.

But it does not have the keys needed to decrypt the workspace contents.

Rule 4: Nothing Phones Home

No analytics.

No usage tracking.

No telemetry.

No account system quietly collecting metadata because “every modern SaaS does it.”

I don’t need to know how many pages you created.

I don’t need a dashboard showing how often you opened the app.

I don’t need crash analytics badly enough to turn them on silently.

If diagnostics are ever useful, I want them to be deliberate.

Privacy shouldn’t depend on finding the right settings screen.

It should be the default architecture.

Rule 5: The Code Stays Open

This is the rule directly inspired by AppFlowy.

atomik-kb is released under GPL-3.0-or-later.

That means people can inspect it.

Build it.

Modify it.

Fork it.

And if someday I disappear, lose interest, or make a decision users hate, the project does not have to disappear with me.

That matters.

Because one of the things open source buys you is not perfection.

It’s exit.

You are not trapped behind the continued goodwill of one vendor.

No Sign-Up Screen

The first time you launch atomik-kb, there is no:

Create your account

No:

Continue with Google

No:

Verify your email

It opens.

That’s it.

That may seem like a tiny design choice.

To me, it communicates the whole philosophy.

The software does not need to know who you are.

Your identity is not the product.

Your workspace is yours before any server exists.

Your Keys Are the Account

Behind the scenes, the application creates cryptographic keys locally.

Those keys establish ownership of the workspace.

If you enable sync, your devices authenticate cryptographically rather than relying on a traditional username/password account sitting on the server.

That means the server does not need to become the authority over your identity.

Your keys are.

That creates a very different trust model.

Recovery Comes With a Price

There is an obvious problem with strong local encryption.

What happens when you lose the key?

The comfortable SaaS answer is:

Click “Forgot password.”

A support team can help.

A central identity provider can reset access.

But if the provider can always restore your access, that often means there is still some mechanism by which they retain authority over the system.

I chose the harder option.

atomik-kb gives you a 24-word recovery kit.

Write it down.

Store it safely.

Because if you lose every device and lose the recovery kit, I cannot restore your notes.

There is no secret administrator key.

There is no support override.

Not even for me.

That is inconvenient.

It is also what ownership looks like.

Nobody Can Reset What Nobody Controls

This is one of the trade-offs I think privacy software should explain more clearly.

People often want both:

Nobody can access my data

and:

Please recover everything when I lose my password.

Those goals can conflict.

If nobody else has the key, nobody else can magically produce it later.

Strong ownership creates responsibility.

So the promise is not:

Don’t worry, we’ll fix it.

The promise is:

Protect this recovery kit because the system actually means what it says.

Adding a New Device Shouldn’t Require Trusting the Server

Sync introduces another problem.

Suppose the server can decide which devices belong to your account.

Then a compromised or malicious server could theoretically authorize a new device.

So device pairing happens through the existing trusted devices.

When adding one, atomik-kb displays a short verification code on both devices.

You compare them.

If they match, you approve the device.

The trust flows from one device you already own to another.

Not from the server saying:

Trust me.

That keeps the server out of the key hierarchy.

You Can Run the Server Where You Want

The sync server itself is deliberately something you can deploy.

At home.

On a VPS.

Inside your network.

Behind HTTPS.

Through a private network such as Tailscale.

Or not at all.

That last part matters.

Sync is not the product.

It is an optional capability.

If you only want one device, the server does not need to exist.

Privacy Is Worthless if the App Is Painful

There is a trap with privacy software.

Sometimes we accept terrible usability because the architecture is admirable.

I don’t want that.

My knowledge base is something I use constantly.

If writing a note is painful, I won’t use it.

So atomik-kb still needs to behave like a proper workspace.

That means more than a folder full of encrypted Markdown files.

It Still Needs to Be a Real Knowledge Base

The app includes the kinds of structures I actually use:

  • rich pages
  • tables
  • boards
  • calendars
  • galleries
  • formulas
  • templates
  • page history
  • shared spaces
  • roles

If you’re coming from something like Notion or AppFlowy, the mental model should feel familiar.

The difference is under the surface.

The workspace experience can feel modern without making a cloud service the source of truth.

That is the compromise I wanted.

Local AI, But Off by Default

I use AI every day.

So naturally, I wanted AI inside the knowledge base too.

But I didn’t want “AI integration” to quietly mean:

Send the contents of your notebook to someone else’s API.

atomik-kb can use Ollama for local AI.

You enable it.

You choose the model.

The processing happens on hardware you control.

And crucially:

it is off by default.

The same philosophy applies to local dictation.

Download the required model.

Turn it on if you want it.

Otherwise, the capability stays out of the way.

AI Should Be a Feature, Not a Data Pipeline

This is an important distinction for me.

I want features like:

  • summarizing a page
  • restructuring notes
  • helping create outlines
  • extracting tasks
  • searching with local models

But I don’t want the existence of those features to automatically create an external data dependency.

The note should remain useful with zero AI.

The app should remain useful with no network.

AI is optional enhancement.

Not infrastructure required for basic functionality.

I Needed a Way Out of AppFlowy Too

If I’m building a product around ownership, trapping people during import would be slightly ridiculous.

So migration mattered.

atomik-kb supports importing from sources including:

  • AppFlowy backups
  • Notion
  • Markdown
  • HTML
  • CSV

In my own case, the important one was AppFlowy.

I wanted to export the knowledge base I already had and bring the structure across rather than manually rebuilding years of notes.

If you’re changing tools because you care about ownership, portability cannot be an afterthought.

The App Should Also Let Me Leave

This is the same principle in reverse.

I don’t want users trapped in atomik-kb either.

If someday something better exists, use it.

If the project stops fitting your needs, leave.

Good software should compete by being worth using.

Not by making departure painful.

That is another lesson I took from this entire process.

Now the Honest Part

This is version 0.1.

That matters more than the feature list.

Privacy software should not pretend maturity it hasn’t earned.

So here are the important limitations.

There Has Been No Independent Security Audit

I designed atomik-kb around encryption and a zero-knowledge sync architecture.

That does not mean the implementation is flawless.

Cryptography is easy to misuse.

Security bugs can hide in perfectly reasonable-looking code.

The project has not had an independent professional security audit yet.

So don’t interpret:

encrypted

as:

mathematically guaranteed to have no vulnerabilities.

Those are different claims.

Keep backups.

Treat this as early software.

And if you find something wrong, I want to know.

The Builds Aren’t Code-Signed Yet

That means Windows may show a warning when you launch the installer.

The warning doesn’t automatically mean the binary is malicious.

It means the operating system doesn’t yet have the publisher reputation/signature chain it expects.

For now, I publish checksums with releases.

If you’re testing an early build, verify what you downloaded.

Code signing is something I want to improve.

It isn’t there yet.

macOS Is Still Experimental

A macOS build exists.

But I haven’t properly tested it on a real Mac.

That means I don’t want to pretend it has the same confidence level as the environments I actually use.

Early projects need boring labels like:

untested

because “probably works” is not the same thing as tested.

There Is No Phone App Yet

This is probably one of the biggest practical limitations.

My previous workflow used AppFlowy across desktop and phone.

atomik-kb is currently desktop-first.

There is no full mobile client yet.

There is also no complete web application designed to replace the desktop experience.

That limits where it fits today.

Again:

version 0.1.

I would rather publish a smaller honest thing than pretend it already replaces every mature workspace product.

Zero Knowledge Is Not Zero Metadata

This is another distinction I don’t want buried.

The sync server cannot read your note contents.

But it still participates in communication.

That means it can observe some metadata.

Things like:

  • how much encrypted data you store
  • when synchronization happens
  • IP addresses
  • payload sizes
  • connection patterns

Encryption does not make network metadata disappear.

So I don’t want to claim the server literally knows nothing.

The stronger claim is:

it does not possess the keys required to read your workspace contents.

That is what the architecture is designed to protect.

Encryption Cannot Protect a Compromised Computer

This is true of every encrypted application.

If malware already owns your machine while the database is unlocked, the attacker may be able to read what you can read.

Encryption protects data at rest.

It protects data moving through an untrusted server.

It does not create a magic force field around a compromised operating system.

Security is a stack.

The application can solve one part of it.

Not all of it.

Keep Backups

I will repeat this because early software plus important notes is not a combination where optimism counts as disaster recovery.

Keep backups.

atomik-kb supports encrypted backups.

Use them.

Store them somewhere sensible.

Test recovery.

If your knowledge base matters enough to encrypt, it probably matters enough to back up properly too.

So Why Release It This Early?

Because it’s now the tool I’m using.

And because at some point, private projects get better by meeting other people’s machines.

Different hardware.

Different workflows.

Different assumptions.

Different bugs.

atomik-kb is now public on GitHub.

The first pre-release includes:

  • a Windows installer
  • a Linux package
  • the optional sync server

The code is GPL-3.0-or-later.

Anyone can inspect it.

Anyone can build it.

Anyone can open an issue.

Anyone can fork it if the project ever heads somewhere they don’t like.

That’s intentional.

This Started as a Licensing Concern and Became a Design Principle

The funny thing is that I didn’t start by thinking:

I should build a notes application.

I already had one I liked.

The project started with a much smaller discomfort:

If I’m self-hosting this, what exactly do I own?

That question led to another:

Why can my server read the notes at all?

Then:

Why does synchronization need an account?

Then:

What happens if the company changes direction?

Eventually the answer became a new architecture.

Not because everyone needs another Notion clone.

Because I wanted a knowledge base with different assumptions.

My Five Rules Are Really One Rule

Looking back at them:

  1. No account or server required.
  2. Encrypt locally first.
  3. Server cannot read synced content.
  4. No analytics or telemetry.
  5. Open-source code.

They’re all versions of the same principle:

The user should remain the authority.

The application shouldn’t need permission from my server to open.

The server shouldn’t hold the keys to the notes.

The developer shouldn’t silently collect usage data.

The project shouldn’t become unusable just because I make a different business decision later.

That is what I mean when I say ownership.

Self-Hosting Is Still Valuable

I don’t want the takeaway to be:

Self-hosting is pointless.

It’s not.

Self-hosting gives you control over:

  • infrastructure
  • storage location
  • backups
  • networking
  • uptime
  • jurisdiction
  • access

Those are valuable.

But I no longer consider “runs on my server” sufficient by itself.

I now ask:

Can the server read the data?

Can I inspect the code?

Can I continue using it if the vendor disappears?

Can I move my data somewhere else?

Who controls the keys?

Those questions tell me much more about actual ownership.

Your Notes Should Belong to You

My knowledge base contains things that don’t exist anywhere else.

Ideas before they become products.

Notes before they become articles.

Decisions before they become documentation.

Some of it is trivial.

Some of it matters enormously to me.

I don’t think the software storing those things should require me to trust that its business model never changes.

So this is where my private knowledge lives now.

On my disk.

Under my keys.

Synced, when I choose, through a server that should only ever see encrypted noise.

It’s early.

It will break.

It needs more testing.

It needs outside scrutiny.

But the architecture now matches the principle I wanted from the beginning:

Your notes should belong to you. All of them.


Atomik Factory is where I document the software, workflows, books, automations, and experiments I build and actually use — usually around privacy, open source, local-first software, AI, and removing unnecessary friction from everyday technology.

Most of these projects start because something bothers me repeatedly.

This one started with a question:

Is self-hosted really the same as owned?

For me, the answer was no.

So I built the version I wanted to use.

Build. Learn. Share.

atomik-kb is currently early-stage software and has not undergone an independent security audit. If you test it, keep backups and review the project’s current documentation and release notes before trusting it with irreplaceable data.

// tags