🇷 🇺 README in russian available here
| Feature | Supported |
|---|---|
| Multithreading | ✅ |
| Proxy binding to session | ✅ |
| User-Agent binding to session | ✅ |
| Registration in bot | ✅ |
| Auto-tasks | ✅ |
| Daily rewards | ✅ |
| Support for telethon .session | ✅ |
| Settings | Description |
|---|---|
| API_ID / API_HASH | Platform data from which to run the Telegram session (by default - android) |
| GLOBAL_CONFIG_PATH | Specifies the global path for accounts_config, proxies, sessions. Specify an absolute path or use an environment variable (default environment variable: TG_FARM) If no environment variable exists, uses the script directory. |
| REF_ID | Thing that goes after startapp= |
| SLEEP_TIME | Sleep time between cycles (by default - [7200, 10800]) |
| START_DELAY | Delay between sessions at start (by default - [5, 25]) |
| AUTO_DRAW | Auto-drawing pixels ( True / False ) |
| AUTO_UPGRADE | Auto-upgrading your mining stuff ( True / False ) |
| CLAIM_REWARD | Claim daily reward ( True / False ) |
| AUTO_TASK DANGEROUS | Auto tasks ( True / False) |
| TASKS_TO_DOAUTOTASK | List of tasks for auto-task (default - all tasks) |
| RANDOM_SESSION_START_DELAY | Random delay at session start from 1 to set value (e.g. 30) |
| SESSIONS_PER_PROXY | Amount of sessions, that can share same proxy ( 1 ) |
| USE_PROXY_FROM_FILE | Whether to use a proxy from the bot/config/proxies.txt file (True / False) |
| DISABLE_PROXY_REPLACE | Disable automatic checking and replacement of non-working proxies before startup (True / False) |
| DEVICE_PARAMS | Enter device settings to make the telegram session look more realistic (True / False) |
| DEBUG_LOGGING | Whether to log error's tracebacks to /logs folder (True / False) |
To fast install libraries and run bot - open run.bat on Windows or run.sh on Linux
Before you begin, make sure you have the following installed:
- Python version 3.10
- Go to my.telegram.org and log in using your phone number.
- Select "API development tools" and fill out the form to register a new application.
- Record the API_ID and API_HASH provided after registering your application in the
.envfile.
You can download Repository by cloning it onto your system and installing the necessary dependencies:
git clone https://github.com/SP-l33t/NT_PXL-Telethon.git
cd NT_PXL-Telethonpython3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env # Here you must specify your API_ID and API_HASH, the rest is taken by default
python3 main.pyYou can also use arguments for quick start, for example:
~/NT_PXL-Telethon >>> python3 main.py --action (1/2)
# Or
~/NT_PXL-Telethon >>> python3 main.py -a (1/2)
# 1 - Run clicker
# 2 - Creates a sessionpython -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.pyYou can also use arguments for quick start, for example:
~/NT_PXL-Telethon >>> python main.py --action (1/2)
# Or
~/NT_PXL-Telethon >>> python main.py -a (1/2)
# 1 - Run clicker
# 2 - Creates a session