Table of Contents
An automated script/code made by @m3taphor on Python 3.10 for @tverse or @TVerseAppBot, built using TinyVerse (Tiny-Verse/TVerse) app APIs. It supports multiple sessions through Pyrogram, with custom proxy support via an accounts.json
configuration file.
- Multithreading
- Custom Binding on pyrogram session
- Proxy Binding
- User-Agent Binding
- Auto Login
- Auto collect Offline Bonus
- Auto Refer
- Auto Dust Collect
- Auto create galaxy
- Night-Mode Sleep
Warning
Please be aware that using this script may result in your @tverse account being banned due to violating terms of service (e.g., cheating). Use at your own risk. The author assumes no responsibility for any consequences.
Warning
Please do NOT share your API ID
& API HASH
to anyone.
- Open your browser and go to the my.telegram.org
- Use your Telegram phone number to log in to the developer portal. You will receive a code via Telegram to authenticate.
- After logging in, go to the API development tools section and click on Create new application (if not exist).
- You will need to fill out some basic information for your application:
App title
: Name your app (e.g., "My Telegram Bot").Short name
: A shorter version of your app's name.URL
: You can leave this blank or enter a website URL (optional).Platform
: Choose what kind of app you are developing (e.g., "Other").
- Once the application is created, you will see a page with your
API ID
andAPI HASH
.
Settings | Description (Usage) |
---|---|
API_ID / API_HASH | API Keys of telegram. Use to manage accounts, tutorial: (#obtain-telegram-api) |
SUPPORT_AUTHOR | Add random choice between REF_KEY & AUTHOR REF_KEY (by default - True) |
REF_KEY | Start with refer, ID which is after startapp= (eg. galaxy-0001a845e80004f232c60000a43a7f ) |
NIGHT_MODE | Script will sleep on Night hours (by default - False) |
NIGHT_TIME | [Night Mode]: Hours of sleep on UTC Timezone [start, end] (by default - [0, 7]) |
NIGHT_CHECKING | [Night Mode]: Delay (in seconds) to check if night hours are over (by default - [3600, 7200]) |
AUTO_COLLECT_DUST | Auto collect Star dust of Galaxy (default - True) |
SLEEP_TIME | Sleep delay (in seconds) before restarting session again (default - [2700, 4200]) |
START_DELAY | Delay (in seconds) to start process (default - [5, 100]) |
IN_USE_SESSIONS_PATH | Path of text file for appending in-use session (default - 'bot/config/used_sessions.txt') |
Important
Make sure you have only Python 3.10, or you will encounter errors.
Check the python version before installation
-
Windows OS
python -v
-
Linux OS
python3 —version
- Clone the repo
git clone https://github.com/m3taphor/TinyVerse.git
- Obtain Api Keys from my.telegram.org, tutorial: (#obtain-telegram-api)
- Edit your .env configuration, tutorial: (#env-management)
- Run Batch/Bash file according to your operating system.
- Run (Windows OS)
run.bat
- Run (Linux OS)
./run.sh
- Clone the repo
git clone https://github.com/m3taphor/TinyVerse.git
- Install Environment Variables
python -m venv venv
- Activate Environment Variables
venv\Scripts\activate
- Install Required Package
pip install -r requirements.txt
- Make .env file available
copy .env-example .env
- Edit .env file, as your will
notepad .env
- Run after all successful steps are done
python main.py
- Clone the repo
git clone https://github.com/m3taphor/TinyVerse.git
- Install Environment Variables
python3 -m venv venv
- Activate Environment Variables
source venv/bin/activate
- Install Required Package
pip3 install -r requirements.txt
- Make .env file available
cp .env-example .env
- Edit .env file, as your will
nano .env
- Run after all successful steps are done
python3 main.py
Tip
Edit .env
file before running script; Checkout (#env-management)
After the script is successfully installed, you will see two options:
- Run Bot
- Create Session
If you don’t have a Pyrogram session for your Telegram account, select Option 2 to create one. You will need to enter your registered Telegram phone number, the login OTP sent to your Telegram account, and your 2FA password. This will save your Pyrogram session in a folder named sessions
Warning
Do not share your session file with anyone, as it may lead to losing access to your Telegram account.
If you already have a existing Pyrogram session, simply place it in the sessions folder, then choose Option 1 (Run Bot) to start the mining or farming process.
You can manage your account or modify your proxy by editing the accounts.json
file located in the sessions folder.
Here’s an example of accounts.json
:
[
{
"session_name": "name_example",
"user_agent": "Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
"proxy": "type://user:pass:ip:port" # "proxy": "" - if you dont use proxy
}
]
Distributed under the MIT License. The GNU General Public License is a free, copyleft license for software and other kinds of works.
More Info on LICENSE file.