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.

dgraphvsSurrealDB

Two self-hosted Databases projects, compared on the numbers selfhost.directory tracks live: score, popularity, release cadence and setup effort.

dgraphSurrealDB
Score74/10077/100
Rank in category#8 of 38 in Databases#6 of 38 in Databases
GitHub stars21 83833 347
Stars, last 30 days+25+146
Stable releases, 12 months1624
Latest releasev25.5.1 · 22 Oct 2026v4.0.1 · 9 Nov 2026
SetupModerateEasy
Official Docker imageNoYes
LicenseApache-2.0Other
Main languageGoRust

Which one should you pick?

SurrealDB scores 77/100 against 74/100 for dgraph, so it is the safer default.

SurrealDB ships more often: 24 stable releases in the past year, against 16 for dgraph.

If you want the quickest setup, SurrealDB is easier to run; dgraph needs more configuration.

SurrealDB is growing faster right now (+146 stars in 30 days).

Key differences

  • License: dgraph is Apache-2.0, SurrealDB is Other.
  • Language: dgraph is written mainly in Go, SurrealDB in Rust.
  • Only SurrealDB ships an official Docker image.

Swap a project

Keep dgraph, compare it with
Keep SurrealDB, compare it with