TGSherlock
Telegram OSINT in a local web panel: live monitoring, alerts, user tracking and keyword sweeps.
Install
pipx install tgsherlock
From a local clone: pipx install . (if tgsherlock is not found afterwards, run pipx ensurepath and open a new terminal).
Run
tgsherlock
The panel opens in your browser at http://127.0.0.1:8765. On Linux, the first run also adds TGSherlock to your application menu, so you can start it with a click.
First run: create an app at my.telegram.org → API development tools, enter your API ID and API Hash, then scan the QR code with Telegram (Settings → Devices → Link Desktop Device). Phone-number login is available too.
Features
- Live Monitor: real-time messages from chosen users, groups and channels, with optional media download.
- Alerts: watch a user, a group or every chat for any message, keywords, regex, media or indicators. Get notified in-app, on the desktop, by email (SMTP) or by webhook, with digest throttling.
- User Profile: bio, usernames, flags, shared groups, first and last seen per group, hourly activity and a dated message timeline.
- Search: users, groups and channels, shown with their profile photos.
- Group History · Keyword Sweep · User Tracker: background jobs with progress and automatic FloodWait handling.
- Entities: emails, phones, URLs, IPs, crypto wallets, invite links and hashtags, extracted automatically.
- Archive & export: filter everything you collected and export it as CSV, JSON or an HTML report.
- Multiple accounts: add, switch and sign out from the sidebar.
Options: --port 8790, --no-browser, --install-desktop, --uninstall-desktop.
Data stays local: ~/.config/tgsherlock (settings, sessions) and ~/.local/share/tgsherlock (databases, media).
Responsible use
Built for defensive OSINT and threat intelligence. TGSherlock only sees what your own Telegram account can see. Follow local law and Telegram's Terms of Service.
License
MIT. Based on OSINTelegram by Iván Castañeda.
Metadata
Release files for tgsherlock 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tgsherlock-1.0.0.tar.gz | 887.4 kB | Without provenance | Details for tgsherlock-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tgsherlock-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for tgsherlock-1.0.0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / tgsherlock-1.0.0.tar.gz
| Download URL | tgsherlock-1.0.0.tar.gz |
|---|---|
| Size | 887.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6357022a1d7d4fe849bf9efd7d2ae70daf7752186f9abd0eda9173296c95a7c
|
|
BLAKE2b-256 checksum How to use checksums |
6c2aaa513d3cf89c010c42d7cb5cf53f070a3f58fb4672c22eb347b9f86a7a44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / tgsherlock-1.0.0-py3-none-any.whl
| Download URL | tgsherlock-1.0.0-py3-none-any.whl |
|---|---|
| Size | 885.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1757bda0e193ad986330c69867666cc72b519cb7c141e14d548525469d96f37
|
|
BLAKE2b-256 checksum How to use checksums |
97e62a6a0de4fed57e8e6956d039a1706682974239146594b579cd669ec30a6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for tgsherlock 1.0.0
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.