Skip to main content

Telepathy: An OSINT toolkit for investigating Telegram chats.

Installation

Install from source

git clone https://github.com/jordanwildon/Telepathy.git

Navigate to the installation directory cd telepathy and run setup.py, this will set up the tool and install all the necessary dependencies.

sudo python3 setup.py install

or

pip3 install telepathy

Then register for and obtain your Telegram API details from my.telegram.org.

Usage

Upon installation completion, you will be able to use Telepathy. On first use, Telepathy will ask for your API details and then an authorization code that will be sent to your Telegram account. If you have two-factor authentication enabled, you'll be asked to input your Telegram password.

Usage: telepathy [OPTIONS]

Telepathy is an OSINT toolkit for investigating Telegram chats.

Options: --verbose Prints output to the terminal. -n, --name TEXT Specifies a chat to investigate. You can use this more than once. -a, --archive Archives the specified chat. -m, --media Archives media in the specified chat. -f, --forwards Scrapes forwarded messages. -p, --participants Scrapes members from the specified group. -u, --user TEXT Looks up a specified user ID. -i, --info TEXT Looks up a specified channel by ID. -l, --location TEXT Finds users near to specified coordinates. --help Show this message and exit.

A note on how Telegram works

Telegram chats are organised into two key types: channels and megagroups/supergroups. Each module works slightly differently depending on the chat type. For example, subscribers of Channels can't be scraped with the members.py module. Channels can have seemingly unlimited subscribers, megagroups can have up to 200,000 members.

** Upcoming changes ** With the release of the Telepathy CLI interface, the toolkit has entered its next stage of production. Despite this, some bugs may still be present and some features are yet to be added. In some environments (particularly Windows), Telepathy struggles to effectively manage files and can sometimes produce errors. Fixes for these errors will come in due course.

Upcoming features include:

  • Re-adding a time specification flag for the archive module to set archiving for specific period.
  • Giving the archiver module the ability to archive comments on channel posts.
  • Reintroducing batch archiving based on a to_archive.csv.
  • Reintroducing advanced tools as part of the package.

Feedback

Please send feedback to @jordanwildon on Twitter

Usage terms

You may use Telepathy however you like, but your usecase is your responsibility. Be safe and respectful.

Credits

All tools created by Jordan Wildon (@jordanwildon). Alex Newhouse (@AlexBNewhouse) contributed to the early release of Telepathy.

Where possible, credit for the use of this tool in published research is desired, but not required.

Metadata

Release files for telepathy 1.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telepathy 1.1.13
File Size Uploaded Provenance Actions
telepathy-1.1.13.tar.gz 8.5 kB Without provenance Details for telepathy-1.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telepathy 1.1.13
File Interpreter ABI Platform Actions
telepathy-1.1.13-py3-none-any.whl Python 3 none any Details for telepathy-1.1.13-py3-none-any.whl

Total release size: 16.5 kB

Release files / telepathy-1.1.13.tar.gz

Download URL telepathy-1.1.13.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b449983860360551e79dcb8d378359fefd3de460705d33a4e4f49e64924c4816
BLAKE2b-256 checksum
How to use checksums
180086ab18993771d1416f7f60e6bc03e936b0a2f63816ff1b9a6769cccc47f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / telepathy-1.1.13-py3-none-any.whl

Download URL telepathy-1.1.13-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
004a37b8a997f30724ba6067dbec72493c152bb27e882b7e990fbe6a5397d6dd
BLAKE2b-256 checksum
How to use checksums
eca31791cedb387036460056c5f4438103fbe8a3d1b7ac6202fff37d8a94ecfe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Security for telepathy 1.1.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.13 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page