Telegram archive: chats, messages, contacts, folders, search; import from Telegram Desktop/macOS.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-telecrawl-ecd8e1b7ad92 ,按照其中的说明把「telecrawl」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use this for Telegram history questions. Local archive first; the Telegram apps only for live/current state.
~/.telecrawl/telecrawl.dbtdata or native macOS Telegram Postbox (auto-detected)telecrawlclawmac (~200 chats). Local DBs on other Macs may be empty — check status first and prefer SSH to the archive host over answering from an empty DB:ssh -o RequestTTY=no -o RemoteCommand=none steipete@clawmac 'zsh -lc "telecrawl --json status"'
telecrawl --json status
Empty counts mean no import has run on this machine, not "no Telegram data".
All read commands take --json.
telecrawl --json chats --limit 20
telecrawl --json chats --unread
telecrawl --json messages --chat <ID> --limit 50 --after 2026-01-01
telecrawl --json search "query" [--chat ID]
telecrawl --json contacts --limit 50
telecrawl --json folders
telecrawl --json topics --chat <ID>
telecrawl doctor # verify a Telegram data source is readable
telecrawl import # merge-import from detected local Telegram app
telecrawl import --fetch-media # also pull Telegram cloud media
Imports merge by default; --restore replaces the archive — treat as destructive and confirm first.
Encrypted age shards to a git repo:
telecrawl backup status
telecrawl backup push