google-labs-jules[bot] 9ab6fd5a44 Fix: Simplify input prompts in setup script
Reverts input functions to a simpler model by separating the
`echo` of the prompt from the `read` command itself.
This avoids using `read -p` with complex, colorized prompt strings,
which can sometimes cause issues in specific terminal emulators or
compatibility layers like those found in MobaXterm.

This change aims to improve robustness of input handling by:
1. Using `echo -e -n` for displaying the prompt with colors.
2. Using a plain `read` or `read -s` for capturing user input.

This is a further attempt to resolve issues where users might be
unable to type or paste into prompts within the MobaXterm environment.
2025-06-20 09:42:11 +00:00
2021-10-11 00:27:23 +05:30
2021-12-31 23:48:53 +05:30
2023-02-20 10:51:29 +05:30
2021-04-07 07:32:24 +05:30
2022-06-07 20:43:37 +05:30

TeamUltroid Logo

Ultroid - UserBot

A stable pluggable Telegram userbot + Voice & Video Call music bot, based on Telethon.

Stars Forks Size
Python CodeFactor Maintenance Docker Pulls
Open Source Love svg2 Contributors PRs Welcome License
Sparkline

🚀 Getting Started

The easiest way to set up Ultroid is by using our unified setup script.

Run this command in your terminal:

bash <(curl -s https://raw.githubusercontent.com/overspend1/Ultroid-fork/main/ultroid_setup.sh)

Or, clone this repository and run the script:

git clone https://github.com/overspend1/Ultroid-fork.git
cd Ultroid-fork
bash ultroid_setup.sh

This script will guide you through choosing either a Docker-based or a local Python installation for this fork and help configure the necessary variables.

For other deployment options or more details, see below.

Other Deployment Options

Documentation

Documentation

Tutorial

  • Full Tutorial - Full Tutorial

  • Tutorial to get Redis URL and password - here.


Deploy to Okteto

Get the Necessary Variables and then click the button below!

Develop on Okteto

Manual Setup

If you prefer a manual setup or want to understand the components:

  • Docker: Refer to DOCKER_DEPLOYMENT.md and README_DOCKER.md. The ultroid_setup.sh script automates this using these Docker files.
  • Local Python: The ultroid_setup.sh script automates the following general steps using this fork's code:
    1. Clone this repository: git clone https://github.com/overspend1/Ultroid-fork.git && cd Ultroid-fork
    2. Create a Python virtual environment: python3 -m venv .venv
    3. Activate it: source .venv/bin/activate
    4. Install dependencies: pip install -r requirements.txt
    5. Configure your variables in a .env file (see Necessary Variables below).
    6. Run the bot: python3 -m pyUltroid

Important: Necessary Variables

Whether using the setup script or a manual method, you will need the following:

  • SESSION: Your Telegram user account session string. The setup script and other utilities can help you generate this. See Session String for methods.

One of the following database:

  • For Redis (tutorial here)
    • REDIS_URI - Redis endpoint URL, from redislabs.
    • REDIS_PASSWORD - Redis endpoint Password, from redislabs.
  • For MONGODB
  • For SQLDB

Session String

Different ways to get your SESSION:

  • Run on Repl.it
  • Linux : wget -O session.py https://git.io/JY9JI && python3 session.py
  • PowerShell : cd desktop ; wget https://git.io/JY9JI -OutFile session.py ; python session.py
  • Termux : wget -O session.py https://git.io/JY9JI && python session.py
  • Telegram Bot : @SessionGeneratorBot
  • Using ultroid_setup.sh: The setup script will guide you through session generation if needed.
  • Using generate-session.sh: This script in the repository provides various methods: bash generate-session.sh

Core Contributor Team


@xditya

@1danish_00

@buddhhu

@TechiError

@New-dev0

@Arnab431

@sppidy

@hellboi_atul

@iAkashPattnaik

Contributors

We are highly grateful for all the contributions made by our amazing community! ❤️


License

License
Ultroid is licensed under GNU Affero General Public License v3 or later.


Credits

Made with 💕 by @TeamUltroid.

Description
> A feature-packed Ultroid fork, built for effortless Heroku deployment with enhanced performance and tools. (This is a fork of a fork)
Readme AGPL-3.0 11 MiB
Languages
Python 94.6%
Shell 4.8%
Makefile 0.3%
Dockerfile 0.2%