Docs

CoyoteDB docs

CoyoteDB is self-hosted software that runs real PostgreSQL on one or several of your own computers and keeps them in sync, so the database can keep running when one of them stops.

At a glance

CoyoteDB facts at a glance
What it isCoyoteDB is self-hosted software that runs real PostgreSQL on one or several of your own computers and keeps them in sync, so the database can keep running when one of them stops.
Built onPostgreSQL 18, running unchanged inside the app.
PlatformsTested on macOS and Linux; Windows has not been tested yet. Data nodes in one cluster must be the same system type; the witness and the apps that connect can be anything.
Node counts1 computer: no second copy. 2 computers: a live copy, no automatic switch-over. 2 computers + a witness: automatic switch-over (recommended for most people). 3 computers: automatic switch-over, saves still on two computers with one down.
NetworksTailscale, Twingate, a site-to-site VPN or a local network. One encrypted port between nodes.
How apps connectA normal Postgres connection string. Connecting through any node, which passes you on to the current main node, is not available yet.
Switch-over timeA new main node about 10 seconds after a hard kill (6 to 11 seconds); writes flowing again in roughly 10 to 25 seconds (measured on one Mac, default settings).
Coding agentsAny agent can use it like any Postgres database, with a normal connection string.
LicenceTo be decided.
StatusCoyoteDB is not available to download yet. So far it has run one machine at a time (macOS and Linux; automatic switch-over on macOS). Power-cut tests have run on Linux virtual machines on one host; Windows and separate physical machines are not tested yet.

Questions people often ask are answered in Answers; the reasons behind the design are on Why CoyoteDB.

All docs