Riza

Software developer in Pontianak, Indonesia. Embedded databases, local-first apps, developer tooling.

Now: building HakoDB, an embedded document database in Rust.

The engine

HakoDB is my embedded document database in Rust. It runs inside the app, like SQLite: no server, no daemon. Open a file, ship it. I built the hard parts in: vector search, graph traversal, serializable transactions, ChaCha20-Poly1305 encryption at rest. And a flat C ABI underneath, so any language can embed it.

let db = Hako::open("./data", HakoConfig::default())?;
db.put("users", "alice", &doc)?;

let found = db.query(
    Query::new("users").where_filter("age", Operator::Gte, 18.into()),
)?;
hakodb on crates.io docs and downloads

Sync when you need it

Local-first by default; replication is opt-in. Two planes, pick per deployment.

your app hosts the data one replica set per room

Peers discover each other with mDNS and replicate WAL deltas behind room keys. No server on the network.

Inside one process, hakocluster fans reads across replicas and routes every write to a single designated writer, with operator-driven failover.

The org

One engine, one namespace, fifteen repos, all MIT. These three carry the product.

Also in the org: hakocli, hakocluster, hakobalancer, hakomcp, the Go, JS, Pascal and Tauri SDKs, and C++ benchmarks. Full documentation lives at hakodb.github.io.

Agents plug in

hakomcp speaks the Model Context Protocol over stdio. Collections become resources; queries, vector search and graph traversal become agent tools. A model can run RAG against a local database.

{
  "mcpServers": {
    "hako": { "command": "hakomcp", "args": ["--db", "./my-data"] }
  }
}

Background

Ten years of shipping software, much of it client work kept private.

Toolbox

languages
RustTypeScriptJavaScriptGoPythonPascalPHP
stack
TauriReactAngularNodeOffice.js
data
HakoDBSQLiteRethinkDBOPFS

Get in touch

Open to remote work and collaborations, especially around local-first software and agent tooling. No contact form; GitHub or X is fastest.

github.com/rizaptkx.com/rizaptk