# tg-spam vs tidb

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

| | tg-spam | tidb |
|---|---|---|
| Score | 52/100 | 80/100 ✓ |
| Rank in category | #3 of 4 in Anti-Spam | #4 of 38 in Databases |
| GitHub stars | 453 | 40 685 ✓ |
| Stars, last 30 days | +0 | +98 ✓ |
| Stable releases, 12 months | 15 ✓ | 2 |
| Latest release | v1.29.1 · 27 Oct 2026 ✓ | v8.5.8 · 27 Aug 2026 |
| Setup | Easy ✓ | Advanced |
| Official Docker image | Yes | Yes |
| License | MIT | Apache-2.0 |
| Main language | Go | Go |

## Which one should you pick?

tidb scores 80/100 against 52/100 for tg-spam, so it is the safer default.

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

If you want the quickest setup, tg-spam is easier to run; tidb needs more configuration.

tidb is growing faster right now (+98 stars in 30 days).

## Details

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

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