Initial release.
Usage: tgs.exe [command] [options]
Help on commands: tgs.exe [command] -h
Commands:
setup Initial setup with data from https://my.telegram.org/apps
users Scrape members from a group
add Add members to a group
dump Fetch messages and users from a group or channel into sqlite db
posts Fetch messages from a group or channel
send Send messages to users
license Check the license or create a license request
Tested on Telegram groups with >400000 messages and >4000 users.
- Go to http://my.telegram.org and log in.
- Click on API development tools and fill the required fields.
- put app name you want & select other in platform Example :
- copy "api_id" & "api_hash" after clicking create app ( will be used in setup.py )
$ pkg install -y git python
$ git clone https://github.com/Antiokh/tgs.py
$ cd tgs.py
- Install requierments
$ python3 setup.py -i
- setup configration file ( apiID, apiHASH )
$ python3 setup.py -c
- To Genrate User Data
$ python3 tgs.py scrape
- To Add Users
$ python3 tgs.py add
- To Spam
$ python3 tgs.py spam -i members.csv
- Install Termux from F-Droid (as Google Play’s version can’t use all the mirrors for packeges)
- Run
$ pkg update & pkg upgrade -y
- Run
$ pkg install rust
- Run
$ pkg install termux-api
- Run
$ pkg-install python-pip