Skip to content

Auto collect star dust and mining script for TVerse (TinyVerse Bot) / @TVerseAppBot. Made by @m3taphor on Python. Supports auto task, tap, collect and more. Join: https://t.me/hidden_coding

License

Notifications You must be signed in to change notification settings

m3taphor/TinyVerse

Repository files navigation

Forks Stargazers MIT License Telegram Python


TinyVerse Logo

Auto @TVerse

Auto @TVerse Farming Script
Report BugRequest Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Account Management
  5. License

About The Project

TVerse

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.

(back to top)

Key Feature

  • 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

(back to top)

Getting Started

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.

(back to top)

Obtain Telegram API

Warning

Please do NOT share your API ID & API HASH to anyone.

  1. Open your browser and go to the my.telegram.org
  2. Use your Telegram phone number to log in to the developer portal. You will receive a code via Telegram to authenticate.
  3. After logging in, go to the API development tools section and click on Create new application (if not exist).
  4. 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").
  5. Once the application is created, you will see a page with your API ID and API HASH.

(back to top)

Env Management

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')

(back to top)

Prerequisites

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

(back to top)

Quick Start

  1. Clone the repo
    git clone https://github.com/m3taphor/TinyVerse.git
  2. Obtain Api Keys from my.telegram.org, tutorial: (#obtain-telegram-api)
  3. Edit your .env configuration, tutorial: (#env-management)
  4. Run Batch/Bash file according to your operating system.
    • Run (Windows OS)
    run.bat
    • Run (Linux OS)
    ./run.sh

(back to top)

Manual Installation

Windows

  1. Clone the repo
    git clone https://github.com/m3taphor/TinyVerse.git
  2. Install Environment Variables
    python -m venv venv
  3. Activate Environment Variables
    venv\Scripts\activate
  4. Install Required Package
    pip install -r requirements.txt
  5. Make .env file available
    copy .env-example .env
  6. Edit .env file, as your will
    notepad .env
  7. Run after all successful steps are done
    python main.py

Linux

  1. Clone the repo
    git clone https://github.com/m3taphor/TinyVerse.git
  2. Install Environment Variables
    python3 -m venv venv
  3. Activate Environment Variables
    source venv/bin/activate
  4. Install Required Package
    pip3 install -r requirements.txt
  5. Make .env file available
    cp .env-example .env
  6. Edit .env file, as your will
    nano .env
  7. Run after all successful steps are done
    python3 main.py

(back to top)

Usage

Tip

Edit .env file before running script; Checkout (#env-management)

After the script is successfully installed, you will see two options:

  1. Run Bot
  2. 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.

(back to top)

Account Management

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
  }
]

(back to top)

License

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.

(back to top)