by groupultra
🔍 导出并模糊搜索 Telegram 聊天记录 | Export and fuzzy search your Telegram chat history
# Add to your Claude Code skills
git clone https://github.com/groupultra/telegram-searchGuides for using ai agents skills like telegram-search.
Last scanned: 4/20/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-04-20T06:19:30.905Z",
"semgrepRan": false,
"npmAuditRan": false,
"pipAuditRan": true
}telegram-search is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by groupultra. 🔍 导出并模糊搜索 Telegram 聊天记录 | Export and fuzzy search your Telegram chat history. It has 3,971 GitHub stars.
Yes. telegram-search passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/groupultra/telegram-search" and add it to your Claude Code skills directory (see the Installation section above).
telegram-search is primarily written in TypeScript. It is open-source under groupultra on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh telegram-search against similar tools.
No comments yet. Be the first to share your thoughts!

[!TIP] 是否曾因 Telegram 无法搜索中文聊天记录而困扰?
或者想查找一条重要消息,却被海量消息淹没,难以定位?
有了 Telegram Search,您可以便捷地备份并检索自己的 Telegram 消息。无论任何语言,强大的本地分词能力都能准确命中。
支持向量搜索,实现句子智能模糊匹配,查找信息更快速精准。
更多 AI 驱动场景,支持未读消息智能摘要、AI 助手对话等丰富功能体验。
我们提供了一个在线体验版,无需自行部署,即可体验 Telegram Search 的全部功能。
访问以下网址开始使用:https://search.lingogram.app
[!WARNING] 本项目未发行任何虚拟货币,请警惕相关诈骗风险。
本软件仅供您导出和检索个人聊天记录使用,切勿将其用于任何违法用途。
mkdir telegram-search
cd telegram-search
curl -L https://raw.githubusercontent.com/groupultra/telegram-search/refs/heads/main/docker/docker-compose.yml -o docker-compose.yml
curl -L https://raw.githubusercontent.com/groupultra/telegram-search/refs/heads/main/docker/.env.example -o .env
curl -L https://raw.githubusercontent.com/groupultra/telegram-search/refs/heads/main/docker/init.sql -o init.sql
docker compose -f docker-compose.yml up -d
若未配置 MinIO 相关参数,媒体文件将默认保存至本地的 data/media 目录。
docker run -d --name telegram-search -p 3333:3333 ghcr.io/groupultra/telegram-search:latest
[!IMPORTANT] AI Embedding & LLM 设置现在在应用内按账户配置(设置 → API)。
请在修改完成
.env文件后,再次执行docker compose -f docker-compose.yml up -d启动服务。
以下环境变量全部为可选,如果不填写,则会使用默认值。
| 环境变量 | 说明 | 示例值 |
|---|---|---|
TELEGRAM_API_ID |
从 my.telegram.org 获取的 Telegram 应用 ID | 611335 |
TELEGRAM_API_HASH |
从 my.telegram.org 获取的 Telegram 应用 Hash | d524b414d21f4d37f08684c1df41ac9c |
DATABASE_TYPE |
数据库类型,可选 postgres 或 pglite |
pglite |
DATABASE_URL |
PostgreSQL 连接字符串(仅在 DATABASE_TYPE=postgres 时填写) |
postgresql://postgres:123456@pgvector:5432/postgres |
TELEGRAM_BOT_TOKEN |
通过 @BotFather 创建的 Telegram Bot Token | 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 |
PROXY_URL |
代理地址(支持如 socks5://user:pass@host:port 等格式) |
socks5://user:pass@host:port |
PORT |
后端服务 HTTP/WebSocket 监听端口 | 3333 |
HOST |
后端服务监听地址 | 0.0.0.0 |
BACKEND_URL |
Nginx 作为反向代理时用于 /api 和 /ws 的上游后端地址 |
http://127.0.0.1:3333 |
MINIO_URL |
MinIO 服务地址 | http://minio:9000 |
MINIO_ACCESS_KEY |
MinIO 访问密钥 | minioadmin |
MINIO_SECRET_KEY |
MinIO 访问密钥对应的密钥 | minioadmin |
MINIO_BUCKET |
MinIO 存储桶名称 | telegram-media |
请根据自己的需要自行修改环境变量。
docker run -d --name telegram-search \
-p 3333:3333 \
-e DATABASE_TYPE=postgres \
-e DATABASE_URL=postgresql://postgres:123456@localhost:5432/postgres \
ghcr.io/groupultra/telegram-search:latest
git clone https://github.com/groupultra/telegram-search.git
cd telegram-search
pnpm install
cp .env.example .env
pnpm run dev
git clone https://github.com/groupultra/telegram-search.git
cd telegram-search
pnpm install
cp .env.example .env
docker compose -f docker/docker-compose.dev.yml up -d pgvector minio
pnpm run server:dev
pnpm run web:dev
📖 更多开发细节和架构细节: CONTRIBUTING.md