Live in production · tgfilter.co

Telegram spam,
filtered before anyone reads it.

A layered detector for Telegram groups: fast local checks for the obvious, a calibrated judge for everything in between. Convicted messages are deleted, every decision is logged, and real users keep their messages.

Example decisionslive
  • долларов в неделю пишите в лс

    job-scam + DM signatures

    delete

    0.90

  • claim at https://kie3ei-5…workers.dev/x

    URL on the phishing blocklist

    delete

    0.72

  • Я вам в личные сообщения отправил

    ambiguous → judge

    review

    0.45

  • привет, как дела?

    nothing to corroborate

    allow

    0.00

Evidence layers
5
Local check
<1ms
False deletions, RU corpus
0
Per 2k judged messages
~2¢

How it works

Three stages, one verdict.

01

Normalize

NFKC, zero-width stripping, emoji letters, homoglyph folding in both directions, leet variants. Obfuscation stops being a free pass.

02

Gather evidence

Hard-hit phrases, multilingual signatures, URL reputation from the OpenPhish feed, and campaigns: the same text seen across many groups.

03

Judge the grey zone

Anything ambiguous goes to a semantic judge that scores it instead of deleting it blind. Repeated blasts come from the verdict cache, and every group has a budget.

The engine is Rust-based: deterministic heuristics do most of the work, and a semantic judge only sees what they cannot settle. Every verdict carries reason codes, so a deletion can always be explained — and every message is recorded for review and appeals.

Precision first

Deleting a real user's message is the failure mode.

A moderation bot that misfires gets removed from the group. The thresholds are tuned for zero false deletions on the on-domain corpus; recall is bought with better evidence, not looser cutoffs.

  • Grey-zone messages are judged, not deleted blind
  • Judge errors fail open to review, never to deletion
  • Per-group budget caps what the judge can spend

Put it in your group.

Add the bot as an admin and it starts moderating immediately. Free for one group; the dashboard shows every decision with its reasons.

Open @tgfilt_bot →
# 1. add @tgfilt_bot to the group
# 2. make it admin (delete messages)
# 3. done

$ curl https://bot.tgfilter.co/healthz
{"ok":true}

$ curl -X POST https://bot.tgfilter.co/moderate \
    --data-binary "долларов в неделю пишите в лс"
{"verdict":"delete","score":0.90,
 "reasons":["signature:job_scam_ru:долларов в неделю",
            "signature:dm_solicitation_ru:пишите в лс"]}