百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

telegram-summary-bot

> 编程语言
开源

使用 AI 汇总群聊,LLM && 查询群聊,免费部署您自己的,支持图片、链接元信息、回复、自动折叠结果,支持中文搜索。

192 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

使用 AI 汇总群聊,LLM && 查询群聊,免费部署您自己的,支持图片、链接元信息、回复、自动折叠结果,支持中文搜索。

telegram group summary bot

Image by imagen-3 on ImageFX, prompt "an icon for telegram group message summarize and search message bot sketchy"

Feel scared when seeing 2000+ unread in groups? Now you can read them by LLM!

Use d1, cf worker, ai gateway, gemini-2.5-flash.

NOTICE

Due to current usage exceeded maximum DB size 500M D1_ERROR: Exceeded maximum DB size, please deploy your own bot. And you can keep a much longer log. I have disabled this bot to be add to new group.

Setup

bot:

d1:

check wiki

Usage

/summary 10

summarize newest 10 messages

/summary 10h

summarize newest 10h messages

/query word

can search cjk

/ask question

answer question based on group chat

/status

check bot is alive

Cost

0

d1: telegram bot can't read info in the history, only newly sent info, so use database to keep them. pricing

cf worker: so no more offline.(I hope so) pricing

gemini-2.5-flash: free for limited usage and huge context


The Newest 4000 text messages will be kept, images will be kept for 2 days. May change in the future.


TODO

add method to import group history information so history info can be searched.

maybe auto-delte query result


TODO:

maybe word cloud?

Limitation

This bot will store chat history into my d1 database, so deploy your own bot is recommended. Unless I am in your group.

Only messages sent by user and after the bot join the group can be summarized/query.

Why doesn't my bot see messages from other bots? Bots talking to each other could potentially get stuck in unwelcome loops. To avoid this, we decided that bots will not be able to see messages from other bots regardless of mode.

https://core.telegram.org/bots/faq#why-doesn-39t-my-bot-see-messages-from-other-bots

You can't get older message than bot join.

https://github.com/yagop/node-telegram-bot-api/issues/577

If you want to bypass these, check luoxu, which uses userbot.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptchinesegemini-ailarge-language-modeltelegram

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言