# PostgREST vs tg-spam

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

| | PostgREST | tg-spam |
|---|---|---|
| Score | 79/100 ✓ | 52/100 |
| Rank in category | #2 of 13 in API | #3 of 4 in Anti-Spam |
| GitHub stars | 27 734 ✓ | 453 |
| Stars, last 30 days | +57 ✓ | +0 |
| Stable releases, 12 months | 20 ✓ | 15 |
| Latest release | v16.5 · 18 Oct 2026 | v1.29.1 · 27 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 52/100 for tg-spam, so it is the safer default.

PostgREST ships more often: 20 stable releases in the past year, against 15 for tg-spam.

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

## Details

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

---
Source: https://selfhost.directory/compare/postgrest-vs-tg-spam