Locul / Resources / Tools we use

Resources · our real stack

The tools we use to run a local-first product

Locul keeps your memory on your own computer, so most of our stack lives there too. This page lists every tool we actually use to build, host, ship and sell it, and why we picked each one.

Key takeaways

  1. The product runs on your machine. Tauri, SQLite and Ollama do the real work on the user's computer, so the server side stays small.
  2. Our servers are rented in the EU. Accounts, team seats and the optional cloud backup run on Hetzner machines we manage ourselves.
  3. Shipping a desktop app is most of the ops work. Notarization, three build targets and an updater take more care than the website.
  4. Small tools, clear jobs. Each tool below owns one job. When two tools started doing the same job, we cut one.
On your computer

The desktop app

This is where local-first starts. Your files, your memories and, by default, your AI model all live on the same machine.

Tauri

Desktop shell and updater

Tauri wraps the interface in a native app for macOS and Windows. Its Rust side reads files from disk and talks to our local engine, and the updater plugin installs new versions in place.

React and Vite

Interface and build

The screens are React components. Vite rebuilds them almost instantly while we work, and produces the bundle that Tauri ships.

SQLite

Local memory store

Memories and their embeddings sit in a SQLite file under ~/.locul. There is no database server to install, and backing up your brain means copying one folder.

Ollama

Local AI models

Ollama runs the chat model and the nomic-embed-text embedding model on your own hardware, so reading files and building memories needs no network call. LM Studio works too, if you already use it.

The small server side

The servers we run

Local-first still needs a few things online: sign-in, team seats, billing state and a connector for AI apps that live in the browser.

Hetzner

EU servers

Our team backend, the optional cloud memory backup and the hosted connector run on servers we rent from Hetzner in the EU. We manage the machines ourselves with Docker Compose, which keeps the setup readable and easy to move.

PostgreSQL

Server database

Accounts, teams, seats, agent keys and the central audit log live in PostgreSQL. It is boring in the best way: well understood, strict about data, and easy to back up.

Model Context Protocol

Connector to AI apps

MCP is how Claude, ChatGPT, Cursor and other AI apps ask Locul for memories. We run a local MCP server on your computer and a hosted one, built on the official SDK, with OAuth sign-in for apps that live in the browser.

Release day

Shipping and billing

A desktop release touches three build targets, Apple's notary service, a download host and the website. These tools keep that repeatable.

GitHub Actions

Builds and server deploys

Actions builds the Intel Mac and Windows versions and deploys the server on every push to main. Apple Silicon builds run on a Mac next to them, and one release script checks that every platform serves the new version before it calls the release done.

Apple notarization

Trusted Mac installs

Every Mac build is signed with our Developer ID and notarized by Apple, so macOS opens it without a scary warning. The release script flags an expiring certificate before it can break a release.

Cloudflare Pages and R2

Website and installers

This website is plain HTML on Cloudflare Pages, with a few Functions for the blog and redirects. Installers and update manifests sit in R2, which the in-app updater reads.

Stripe

Payments

Stripe handles checkout, subscriptions and invoices. The team server listens for Stripe events and turns team features on or off for each account, so plan changes take effect without anyone touching a database.

Running the work

How we plan, write and track

We ship a desktop app, a server and this website with a small team. AI coding tools write a large share of the diffs, so every change has to be traceable.

Claude Code

AI coding tool

Claude Code writes most of our diffs. Our CLAUDE.md gives it the exact release command, says we work on main, and names the step people forget: redeploy the site after every release, or the download page keeps offering the old version.

Jenzo Our product

Tickets and AI work log

Commit messages end with a ticket number such as TD-4645. Jenzo records which AI did each job, for how long and what it cost, on the ticket. When a release breaks, that ticket is where we start.

Murkuz Our product

Blog and search data

Blog articles live in Murkuz and a Cloudflare Function renders them on locul.ai/blog. The author card at the bottom of this page uses the same profile. We pick the next article from its search data: pages with impressions and few clicks go first.

Contextli Our product

Dictation

Junaid dictates most briefs and tickets in Contextli. Locul lists Contextli as a source next to Notion and Obsidian, so a preference said out loud can end up as a memory.

If you are starting out

What we'd tell a team starting today

  1. Decide what must stay on the user's machine first. Pick the local database and model runner before the web stack. Everything else bends around that choice.
  2. Automate the release before the second release. Signing, notarization and multi-platform builds fail in new ways each time you do them by hand.
  3. Keep the server small and portable. A few containers on rented machines are easy to audit and easy to move between providers.
  4. Make cloud AI a choice, never a fallback. If a local model is not available, say so. Sending data to a cloud model should be a setting the user switches on.
  5. Log what your AI coding tools did. Tie each change to a ticket so you can trace any line of code back to the job and the run that made it.
FAQ

Questions about running a local-first product

What do you need to build a local-first desktop app?

Three pieces: a desktop shell that can reach the file system and ship updates (we use Tauri), an embedded database that lives in the user's home folder (we use SQLite), and a way to run AI models on the same machine (we use Ollama, with LM Studio as an option). Everything else, from billing to the website, can be ordinary web tooling.

Does a local-first product still need servers?

Yes, but far fewer. We run accounts, team seats, the agent-key registry, the optional cloud memory backup and our hosted MCP connector on servers we rent from Hetzner in the EU. The heavy work, reading your files and building memories, happens on your computer.

How do you ship updates to a desktop app?

Apple Silicon builds are made and notarized on a Mac, GitHub Actions builds the Intel Mac and Windows versions, installers go to Cloudflare R2, and the Tauri updater picks up the new version inside the app. A release script checks that every platform serves the new version before it calls the release done.

Can a local-first app still use cloud AI models?

It can, as long as the user chooses it. Locul runs on local models by default. A cloud mode exists for people who want larger models and accept the privacy trade, and it is a setting the user switches on, never a silent fallback.

Last word

The short version

Put the data and the model on the user's computer, keep the server side small and in the EU, and automate every release step you can. If you want to see what that stack produces, try Locul on your own machine or read how we handle security.

Junaid Khalid

Written by

Junaid Khalid

Local-first AI Specialist

Junaid Khalid covers local-first AI on locul.ai: running models, memory and search on hardware a team controls, and getting that setup through a security review. He led presales for EMEA and APAC at GFI Software, wrote GFI's ISO 27001 guide, and was Head of AI, then CTO, at Ingenio EC.