Open-source Telegram bot

Who is
doing all
the talking?

History Bot tracks messages, words, voice messages, video notes, and profanity in Telegram groups. Add the hosted bot or deploy your own on Cloudflare.

Deploy on Cloudflare

Self-hosting needs a Cloudflare account and a bot token from @BotFather. The database is created automatically.

Dashboard preview Demo data
history.bot / admin PREVIEW
Dashboard overview with messages, members, voice messages and activity charts
Group activity over the selected period.
Open sourceSource code on GitHub
Runs on CloudflareWorkers, KV, D1, and Durable Objects
Hosted bot available@stat_history_bot
GET STARTED

Two ways to get started

Add the hosted bot to your group, or run your own instance using the source code on GitHub.

Hosted bot

Add @stat_history_bot to your group

The bot will start counting new messages. Group members can view analytics after signing in with Telegram.

01 / Cloudflare

Click Deploy to Cloudflare, sign in, and paste your @BotFather token into the TOKEN field.

02 / Settings

Open your Worker's URL, sign in with the same token, and choose a storage mode.

03 / Telegram

Click “Get started webhook” and add the bot to your group. To let it see all messages, turn off privacy with /setprivacy in @BotFather.

Analytics

What you can explore

Counters and charts update as new group messages arrive.

Messages

Who sent the most messages

Track messages and words per member, with voice messages and video notes counted separately.

Activity

When your group is most active

Daily and hourly charts, plus an activity heatmap for every member.

Language

Who swears the most

See the most common swear words and each member's profanity rate.

Compare analytics tools

An alternative to Combot for group statistics

Need activity analytics rather than a full Telegram group moderation suite?

History Bot focuses on message statistics, active member rankings, activity heatmaps, word counts, voice and video notes, and optional AI summaries. Combot offers wider moderation, anti-spam and automation tools.

Compare History Bot with Combot →
PREVIEWS

Inside the dashboard

Actual interface screenshots with synthetic names and numbers.

Members and activity patternsPEOPLE
Members table and activity heatmap by day and time of day
Messages, voice notes, profanity and activity rhythm for every member.
Profanity rateLANGUAGE
Profanity rate per member and the most common swear words
Compare profanity rates and see which swear words come up most.

Screenshots use fictional data. You can only view statistics for groups you belong to that have the bot installed.

Already have the bot in your group?

Sign in with Telegram to view analytics. If the bot is not in your group yet, add @stat_history_bot.

Telegram sign-in

Authorize the sign-in in Telegram to open the dashboard.