gitwtfhub

wtf is telegram-osint-toolkit?

anuragroy485/telegram-osint-toolkit — explained in plain English

Analysis updated 2026-05-18

23PythonAudience · researcherComplexity · 2/5LicenseSetup · moderate

TL;DR

A Python command line tool built on Telethon for searching, exporting, and monitoring public Telegram channels for authorized research and security work.

Mindmap

mindmap
  root((Telegram OSINT Toolkit))
    What it does
      Searches channels
      Exports chat history
      Monitors keywords live
    Tech stack
      Python
      Telethon
      SQLite
    Use cases
      Bulk keyword search
      HTML chat reports
      Real-time alerts
    Audience
      Security researchers
      Authorized investigators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Search for keywords across many Telegram channels at once for research.

REASON 2

Export a Telegram channel's full history to JSON, CSV, or an HTML report.

REASON 3

Monitor channels in real time and get alerted when a keyword appears.

What's in the stack?

PythonTelethonSQLite

How it stacks up

anuragroy485/telegram-osint-toolkitaaravkashyap12/advise-project-approachabu-rayhan-alif/django-saas-kit
Stars232323
LanguagePythonPythonPython
Setup difficultymoderateeasymoderate
Complexity2/52/53/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires your own Telegram API ID and API hash from my.telegram.org.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

Telegram OSINT Toolkit is a command line program written in Python for gathering information from Telegram, the messaging app. OSINT stands for open source intelligence, meaning information collected from publicly available sources rather than hacking or private access. The tool is built on top of Telethon, a library that lets Python programs act like a Telegram client, and it is meant for security researchers, journalists, and similar investigative work on public channels and groups, or on ones the user is otherwise authorized to access. The toolkit can search for keywords in a single channel or across many channels at once, using a plain text list of channel names. It can export the full contents of a chat to JSON, CSV, or a readable HTML report, optionally including downloaded media files and any links found in messages. It can list the members of a group and save that list to a file, pull profile information about a user or channel, and watch one or more channels continuously, sending an alert whenever a chosen keyword appears. Everything it collects, including view counts, forward counts, and reply counts, is stored in a local SQLite database file on the user's own computer, and the tool can report basic statistics about that stored data. To reduce the chance of being rate limited or blocked, the tool includes automatic handling for Telegram's flood control errors and supports routing its traffic through a SOCKS5 or HTTP proxy, including Tor. Setting it up requires a personal Telegram API ID and API hash, which are free to obtain from Telegram's own developer site, plus a handful of Python packages installed from a requirements file. The author's README includes an explicit notice that the tool should only be used on public channels or ones the user is authorized to access, in line with Telegram's terms of service and applicable law, and describes it as intended for defensive, research, and authorized intelligence purposes. It is released under the MIT license.

Yoink these prompts

Prompt 1
Set up Telegram OSINT Toolkit with my own API ID and API hash from my.telegram.org.
Prompt 2
Run a bulk keyword search across a list of public Telegram channels I'm authorized to monitor.
Prompt 3
Export a public Telegram channel to an HTML report including media and links.
Prompt 4
Configure Telegram OSINT Toolkit to route its traffic through Tor.

Frequently asked questions

wtf is telegram-osint-toolkit?

A Python command line tool built on Telethon for searching, exporting, and monitoring public Telegram channels for authorized research and security work.

What language is telegram-osint-toolkit written in?

Mainly Python. The stack also includes Python, Telethon, SQLite.

What license does telegram-osint-toolkit use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is telegram-osint-toolkit to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is telegram-osint-toolkit for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.