selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GoatDB logo

Self-host GoatDB

v0.6.1

Embedded distributed database for human-agent collaboration

BetaOpen SourceMIT
Updatedlast week
LanguageTypescript
Setup difficultyModerate
Stars
583
Install with Node.js

What is GoatDB?

This embedded database gives every participant — people, AI agents, or tools — a complete local copy of the data they work with, so reads and writes are instant and work offline. Changes merge automatically through a coordinating server using Git-style structural merge at the field level, and every write is cryptographically signed for verifiable provenance. The system runs on Deno or Node.js 24+, provides React hooks for reactive interfaces, and packages into a single binary for deployment. It's MIT licensed and still in pre-1.0 development.

Should you self-host GoatDB?

GoatDB scores 48/100 on selfhost.directory (how scoring works) and ranks #31 of 38 in Databases. It has 583 GitHub stars, +1 in the last 30 days.

It shipped 3 stable releases in the past year. The latest, v0.6.1, came out on 1 September 2026. New versions land roughly every 3 months.

Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Redis (86/100, 77 093 stars). It scores higher overall, so compare the two before you pick. See GoatDB vs Redis side by side.

Features

  • Authorization rules
  • Bounded recovery
  • Offline-first operation
  • React Hooks
  • Reactive local reads
  • Schema evolution
  • Server-coordinated sync
  • Signed provenance
  • Structural merge

GoatDB README

How to install GoatDB

Install GoatDB with Node.js

npx jsr add @goatdb/goatdb npx -y @goatdb/goatdb init

Requires Node.js 24 or later

GoatDB releases & version history

FAQ

What licensing options does GoatDB offer?

GoatDB is released under the MIT License, a permissive open-source license allowing use, modification, and distribution for any purpose including commercial projects.

Does GoatDB support Node.js?

Yes. Node.js 24+ is a fully supported, first-class runtime alongside Deno, with a complete adapter including HTTP server, file I/O, crypto, workers, and SEA compilation.

What sync latency should I expect?

Typical remote synchronization latency is 700-1000ms application-perceived latency over the current HTTP polling carrier.

How does GoatDB handle data conflicts?

GoatDB provides deterministic structural merge using Git-style three-way merge at the field level. Concurrent edits converge to a consistent structural result, though semantic correctness is the application's responsibility.

Can GoatDB operate offline?

Yes. Every client holds a full local replica of each repository it has opened and can continue working offline. Updates synchronize through the server when connectivity returns.

Is GoatDB agent memory?

No. GoatDB is a realtime state layer that shares live state between humans, agents, and tools, not a memory service that stores recollections behind a cloud API.

What is GoatDB?

GoatDB is an embedded, distributed document database that provides verifiable local-first state continuity for human-agent systems with deterministic structural merge, authorization, bounded recovery, and Ed25519 signed provenance.

More in Databases

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…