A · leads
postgrest
97.1
27,763 stars · MIT
Databases
postgrest leads by 12.3 · clear
A · leads
97.1
27,763 stars · MIT
B
84.8
33,315 stars · license n/a
postgrest versus surrealdb is a Databases comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. postgrest is written mainly in Haskell; surrealdb is written mainly in Rust. The composite score is 97.1 for postgrest and 84.8 for surrealdb.
surrealdb has 33,315 GitHub stars to postgrest's 27,763, a gap of 5,552 (1.20×). Forks are 1,238 for postgrest and 1,408 for surrealdb. On the log scale used inside this pair, adoption is 98 versus 100, and the fork community is 98 versus 100.
Push history: postgrest was last pushed on 17 November 2026 (0 days ago), and surrealdb was last pushed on 17 November 2026 (0 days ago). Open issues stand at 407 for postgrest (0.015 per star) and 443 for surrealdb (0.013 per star). Issue-health scores are 84 and 84; activity scores are 100 and 100.
postgrest is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. surrealdb is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. License scores in this pair are 96 for postgrest and 30 for surrealdb. This is a procurement signal, not legal advice.
Only postgrest is marked self-hostable here (27,763 stars, deploy score 100). surrealdb is not (33,315 stars, deploy score 35). For a team with a data-residency rule, that gap can outweigh a star-count lead. Pricing labels on file: postgrest is open source, surrealdb is unpriced in this catalog.
The lead is split. postgrest is furthest ahead on license flexibility (96 to 30), while surrealdb is furthest ahead on adoption (100 to 98). Choose the dimension a rollout cannot compromise on.
postgrest finishes ahead at 97.1 against surrealdb at 84.8, a 12.3 point clear margin under the published weights.
Scores are computed inside this pair only. Method and weights.
Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.
| Signal | postgrest | surrealdb |
|---|---|---|
| GitHub stars | 27,763 | 33,315 |
| Forks | 1,238 | 1,408 |
| Open issues | 407 | 443 |
| Adoption | 98 | 100 |
| Activity | 100 | 100 |
| Community | 98 | 100 |
| Issue health | 84 | 84 |
| License | 96 | 30 |
| Self-hosting | 100 | 35 |
| Composite | 97.1 | 84.8 |
REST API for any Postgres database
A scalable, distributed, collaborative, document-graph database, for the realtime web
surrealdb has more GitHub stars: 33,315 versus 27,763 for postgrest. The gap is 5,552 stars.
Both were last pushed on 17 November 2026.
Only postgrest is marked self-hostable. surrealdb is not.
postgrest is listed as MIT, which this catalog treats as a permissive grant. A company can usually ship it inside a commercial product and keep its own application code private, provided it keeps the copyright notice. surrealdb is listed as no SPDX license on file, which this catalog treats as no clear license grant in the data stored here. Public code without a license is not free to use. Read both grants before you embed either codebase in a hosted product. This is not legal advice.
postgrest scores 97.1 and surrealdb scores 84.8. This page calls that a clear lead for postgrest.