# PostgREST vs trusted-cgi

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

| | PostgREST | trusted-cgi |
|---|---|---|
| Score | 79/100 ✓ | 45/100 |
| Rank in category | #2 of 13 in API | #4 of 7 in Serverless |
| GitHub stars | 27 732 ✓ | 249 |
| Stars, last 30 days | +54 | — |
| Stable releases, 12 months | 20 ✓ | 0 |
| Latest release | v16.5 · 18 Oct 2026 | — |
| Setup | Easy | Easy ✓ |
| Official Docker image | Yes | Yes |
| License | MIT | MIT |
| Main language | Haskell | Go |

## Which one should you pick?

PostgREST scores 79/100 against 45/100 for trusted-cgi, so it is the safer default.

PostgREST ships more often: 20 stable releases in the past year, against 0 for trusted-cgi.

PostgREST is growing faster right now (+54 stars in 30 days).

## Details

- [PostgREST](https://selfhost.directory/project/postgrest) (markdown: https://selfhost.directory/project/postgrest.md)
- [trusted-cgi](https://selfhost.directory/project/trusted-cgi) (markdown: https://selfhost.directory/project/trusted-cgi.md)

---
Source: https://selfhost.directory/compare/postgrest-vs-trusted-cgi