AI-assisted tools were used during backend and frontend development.
A powerful OSINT tool for analyzing Telegram gift-giving networks and channel ownership relationships. Telephasma scans Telegram groups/channels to discover users, map their gift transactions, and identify channel owners through bio analysis.
- User Discovery: Scan Telegram groups/channels to extract member profiles
- Gift Chain Analysis: Track who sends gifts to whom, building relationship networks
- Channel Owner Detection: Identify users who own channels/groups via bio parsing
- Real-time Visualization: Interactive force-directed graph showing user relationships
- Recursive Scanning: Follow gift chains to discover connected users
- Multi-language UI: English and Turkish interface support
- This tool interacts directly with Telegram APIs.
- High-frequency scanning, aggressive recursion, or misuse may violate Telegramโs anti-abuse policies and result in account bans.
- Proceed with caution.
- Python 3.10+
- Node.js 18+
- Telegram API credentials (api_id and api_hash from https://my.telegram.org)
| Platform | Command |
|---|---|
| ๐ช Windows | Double-click start.bat |
| ๐ง Linux / ๐ Mac | chmod +x start.sh && ./start.sh |
This will automatically:
- โ Create Python virtual environment
- โ Install all dependencies (backend + frontend)
- โ Start both servers
- โ Open your browser
Click to expand manual installation steps
cd backend
python -m venv .venv
# Windows
.venv\Scripts\activate
# Linux/Mac
source .venv/bin/activate
pip install -r requirements.txtcd frontend
npm installIf you see this error when running npm install:
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system.
Solution 1: Use CMD instead of PowerShell (Easiest)
# Open CMD (Command Prompt) instead of PowerShell, then:
cd frontend
npm installSolution 2: Enable script execution in PowerShell (Run as Administrator)
# Open PowerShell as Administrator, then run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# After this, you can run npm commands normallyOn first run, you will be prompted to enter:
- API ID: Your Telegram API ID (get from https://my.telegram.org)
- API Hash: Your Telegram API Hash
- Phone Number: Your Telegram phone number (with country code, e.g., +1234567890)
- Verification Code: Login code sent to your Telegram app
Note: Your credentials are stored locally and never shared. Each user must provide their own Telegram API credentials.
cd backend
python main.py
# Server runs on http://localhost:8000cd frontend
npm run dev
# UI runs on http://localhost:5173Open your browser and navigate to http://localhost:5173
The backend connects to Telegram using the Telethon library. Your session is saved locally for future use.
Target Group/Channel
โ
โผ
Get Members List
โ
โผ
For Each Member:
โโโโบ Parse Bio (extract channel links)
โโโโบ Get Gifts Received
โโโโบ If gifts found:
โ
โผ
Get Gift Senders
โ
โผ
Recursively Scan Senders
- TARGET: Users from the initial scan target
- DISCOVERED: Users found through gift chains who own channels
- CHANNEL: Telegram channels/groups extracted from user bios
The Network Map uses a D3 force-directed graph to display:
- Circles: User nodes (red = target, cyan = discovered)
- Squares: Channel nodes (purple)
- Lines: Gift relationships and channel ownership connections
The interactive network map shows relationships between users and channels with real-time updates during scanning.
Detailed user information including channels owned, gifts sent/received, and bio content.
This tool is intended for educational and research purposes only.
- Use responsibly and in accordance with Telegram's Terms of Service
- Do not use for harassment, stalking, or any malicious purposes
- The developers are not responsible for any misuse of this tool
- Respect user privacy and data protection regulations
MIT License - See LICENSE file for details.
Made with โค๏ธ for OSINT researchers



