PT

popstas/telegram-download-chat

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

238 stars 34 forks 品質 86 トレンド 16MIT

popstas/telegram-download-chatは、https://github.com/popstas/telegram-download-chat.からインポートされたMCPサーバー候補です。

概要

popstas/telegram-download-chatは、https://github.com/popstas/telegram-download-chat.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

強力なコマンドライン、GUI、ウェブインターフェースユーティリティで、複数の形式でTelegramチャット履歴をダウンロード・分析できます。

メッセージを送信または管理する必要がありますか? このツールはダウンロードのみ可能です。送信 メッセージ>、グループやトピックの作成、メンバーやフォルダの管理、 ポップスタ/テレグラムアシスタント。

一度きりのエクスポートではなくライブモニタリングが必要ですか? チャットやチャンネルを視聴するために とフォルダ、リアルタイムで一致するメッセージ転送、参照 ポップタス/Telegram再送信。

特徴

  • Telegramチャット、グループ、スーパーグループ、チャンネル、またはTelegramエクスポートアーカイブから完全なチャット履歴をダウンロード
  • チャットフォルダをダウンロード
  • メッセージスレッドからサブ会話を抽出する
  • メッセージをJSON形式で保存し、完全なメッセージメタデータを含みます
  • ユーザーフレンドリーな表示名付きで人間およびLLMで読みやすいTXTエクスポートを生成する
  • メディア添付ファイル(写真、動画、文書、音声など)をダウンロード
  • Telegramプレミアム音声テキスト変換(--stt)で音声メッセージを文字起こしし、キャッシュして二重に書き起こさないようにする
  • [[T1]を通じて共通オプションセットのプリセットを使用する
  • クロスプラットフォーム対応(Windows、macOS、Linux)
  • CLI優先、オプションのグラフィカルユーザーインターフェースおよびウェブインターフェース

フィルタリング

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Telegram Chat Downloader

A powerful command-line, GUI and web interface utility to download and analyze Telegram chat history in multiple formats.

Need to send or manage messages? This tool is download-only. To send messages, create groups/topics, manage members and folders, see popstas/telegram-assistant.

Need live monitoring instead of a one-off export? To watch chats, channels and folders and forward matching messages in real time, see popstas/telegram-resender.

Features

  • Download complete chat history from any Telegram chat, group, supergroup, channel or Telegram export archive
  • Download chats folder
  • Extract sub-conversations from message threads
  • Save messages in JSON format with full message metadata
  • Generate human and LLM readable TXT exports with user-friendly display names
  • Download media attachments (photos, videos, documents, audio, etc.)
  • Transcribe voice messages with Telegram Premium speech-to-text (--stt), cached so nothing is transcribed twice
  • Use presets for common option sets via --preset
  • Cross-platform support (Windows, macOS, Linux)
  • CLI-first, optional graphical user interface and web interface

Filtering

  • Filter messages by date range
  • Filter messages by specific users
  • Filter saved messages by keywords
  • Filter messages by sub-conversations from message threads
  • Download only the unread messages of a chat (--unread)

Usage

Login

Log in once before the first download. In a terminal, a download without a session offers to log you in right there; everywhere else — the GUI, a cron job, the console-less Windows build — it never prompts and tells you to run login instead, so an unattended run fails with a message rather than waiting forever for an answer nobody can type.

# Log in with a code from Telegram
telegram-download-chat login

# Log in by scanning a QR code with an app you are already logged into
telegram-download-chat login --qr

The login code is delivered by Telegram, and for third-party clients it usually arrives in the Telegram app, in the chat named “Telegram” rather than by SMS. If no code arrives at all, use login --qr: the code is confirmed from a device where you are already logged in, so it does not depend on SMS. Add --debug to see how Telegram chose to deliver the code.

Since September 2026 Telegram sometimes reports the code as sent to the app (--debug shows SentCodeTypeApp with next_type=None) and then never delivers it, on any device (#91). The app cannot change how Telegram delivers codes, so QR login is the way in for such accounts.

In the GUI, the same two options live on the Settings tab: fill in the phone and code, or press “Log in with QR code”. For accounts with two-step verification, fill the Password field before scanning.

GitHub で README 全文を見る

インストール

uvx --from telegram-download-chat[mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "telegram": { "command": "python", "args": ["-m", "telegram_download_chat.mcp"] } } }