Local-first can mean different things depending on the app. For Corkboardr, it’s pretty literal.
You can install the app, open it and start using it. There’s no sign up or sign in required to get started, and your data is yours to do whatever you want with.
Corkboardr started as a pretty small project I made for myself. I wanted something that could help me keep track of the other things I was working on, and I wasn’t really thinking about it as a product yet.
At first it ran in the browser. I eventually got tired of that and wrapped it in Electron so I could open it like a normal desktop app. By then the app was already storing its data locally, so that naturally became part of how Corkboardr worked.
As the app grew, I kept finding practical reasons to preserve that.
Using Corkboardr on more than one computer was one of the first. Import and export existed pretty early, but manually moving boards back and forth got annoying fast. That led me into thinking about sync, shared folders and ways for multiple devices to keep their own copies without changing the basic way the app worked.
So local-first wasn’t really something Corkboardr started with as a philosophy. It started as a consequence of what I was building, and over time it became a useful constraint.
The copy you’re using is the real one
Corkboardr stores its working data on your computer. The boards, notes, tasks and the rest of the structured state live in a local SQLite database, while things like images and other files are stored locally alongside it.
That sounds like an implementation detail, but it changes the way the app behaves. Corkboardr doesn’t need to download your board before you can work on it, and losing an internet connection doesn’t turn the app into a read-only version of itself. The local copy isn’t a temporary cache of something somewhere else. It’s the copy Corkboardr is actually using.
That doesn’t mean Corkboardr has to pretend the internet doesn’t exist. You can paste an image from a URL, put a shared profile in a folder that another service moves between computers, or export something and put it wherever you want. Local-first, at least in Corkboardr, is more about where the app’s normal working state lives than about refusing to ever touch a network.
You can take individual things with you
I also don’t think “your data is yours” means much if the only way to get it back is through one giant proprietary export.
A Plain note can be exported as Markdown. Todo notes can too, including their tasks and statuses. If you put an image into Corkboardr, the edits you make to it are non-destructive. You can rotate it, flip it, crop it or make it grayscale without changing the original file, and when you export it you can choose between the original or a new image with the current appearance baked in.
Some of the more specialized note types have their own useful ways of getting data back out too. The exact format depends on what the thing actually is, but the general idea is that Corkboardr shouldn’t make an ordinary piece of information harder to use somewhere else just because you happened to put it on a board first.
Then there are the bigger exports.
Corkboardr can package boards, profiles and backups into its own portable files. Those are obviously intended to be opened by Corkboardr, but they aren’t some completely opaque binary format either. Underneath, they’re ZIP archives containing a small JSON catalog, a portable SQLite database and the actual files the export needs.
I don’t expect most people to ever care about that, and opening a database manually is definitely not the intended export experience. But if something went very wrong and Corkboardr itself wasn’t available anymore, the contents wouldn’t be unintelligible. Someone who knows their way around ZIP and SQLite could get through it. An AI assistant could too.
I like having that as a last-resort escape hatch.
Search stays on the computer too
Local-first also affects the smarter parts of Corkboardr.
Search starts with normal things like exact text, fuzzy matching and full-text search, but Corkboardr can also build semantic search over your notes, search images by what’s in them and run OCR so text inside an image can become searchable.
Those features run locally. The models are bundled with Corkboardr and the indexes they build stay on the computer. Your notes and images don’t have to be sent to an AI service every time you want Corkboardr to understand what you’re looking for.
There’s a tradeoff there that I don’t want to hide. The models that make sense to run on an ordinary computer are much smaller than the models you can call through a big hosted AI service. Sometimes a larger model would understand a vague search better, make a better connection between two images or just be smarter about what you meant.
Corkboardr’s local models don’t need to win that comparison at everything. They need to be useful enough that finding something you already saved is easier without requiring the contents of your board to leave the machine. And if the smarter processing isn’t ready yet, the ordinary search still works.
Sync doesn’t change where you work
The awkward part of keeping everything local shows up pretty quickly when you own more than one computer.
I ran into that early. Exporting a board and importing it somewhere else technically worked, but doing that every time I wanted the latest version on another machine got old very quickly.
Corkboardr’s shared-folder sync grew out of that problem. A profile can be shared through a folder, and each computer still keeps and works from its own local database. The folder carries the changes between them.
That folder can also be somewhere another program already knows how to synchronize. In that case Corkboardr doesn’t need to know much about the service moving the files around. It reads and writes the shared format and lets the folder do its job.
The important part for Corkboardr is that syncing something doesn’t require turning the local database into a disposable copy. Each machine is still a real place where the work lives.
Mostly, it should be boring
I don’t really want local-first to be something you have to think about every time you use Corkboardr.
It should mostly show up in small, boring ways. You can open the app without logging in. Your board is already there. Search doesn’t need to upload it somewhere first. You can export a note into a normal format. You can keep the original version of an image even after changing how it looks. You can take an entire board with you if you want to.
There’s a lot of fairly complicated machinery underneath all of that, but the point of it isn’t to make Corkboardr feel technically impressive.
It’s to make the stuff you put into it feel like your stuff.