TGSpyder is a command-line tool for performing Telegram Open Source Intelligence (OSINT). It allows you to scrape member lists, crawl chat messages, extract invite links, identify sticker pack creators, and look up user details.
Core Capabilities:
- Scrape Members: Extract user IDs, usernames, names, profile links, and phone numbers from groups.
- Scrape Chats: Export chat message history to CSV.
- Crawl Invites: Extract
t.me invite links from chat history. - Sticker Pack Lookup: Identify the creator of a sticker pack using a URL or shortname.
- User Lookup: Resolve Telegram user details via ID or username.
Output Structure:
Results are saved in a TGSpyder Output/ directory relative to your current working directory, organized into subfolders:
members/: CSV files containing member lists.chats/: CSV files containing message history.crawled_links/: CSV files containing extracted invite links.
# Example: Scrape members and messages from a group
tgspyder <group_url_or_username> --members --chats
# Example: Identify a sticker pack creator
tgspyder --sticker-pack https://t.me/emojipack
# Example: Lookup a specific user
tgspyder --user @username