# Pi-hole vs tg-spam

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

| | Pi-hole | tg-spam |
|---|---|---|
| Score | 87/100 ✓ | 52/100 |
| Rank in category | #1 of 41 in DNS | #3 of 4 in Anti-Spam |
| GitHub stars | 61 545 ✓ | 453 |
| Stars, last 30 days | +483 ✓ | +0 |
| Stable releases, 12 months | 6 | 15 ✓ |
| Latest release | v6.5 · 17 Oct 2026 | v1.29.1 · 27 Oct 2026 ✓ |
| Setup | Moderate | Easy ✓ |
| Official Docker image | Yes | Yes |
| License | Other | MIT |
| Main language | Shell | Go |

## Which one should you pick?

Pi-hole scores 87/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 6 for Pi-hole.

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

Pi-hole is growing faster right now (+483 stars in 30 days).

## Details

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

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