Версия на русском тут -> тык
RimTUB — is a powerful and convenient open-source Telegram userbot that's easy to adapt to your needs. Everything necessary is already built-in, and extending its capabilities only requires installing the modules you need. Simple to launch, flexible in configuration, and completely under your control — RimTUB is created to do more with less effort.
🤖 UserBots are scripts that work on behalf of your personal Telegram account. They can do everything a regular user can do.
😀 For example, you can create an auto-responder that will automatically react to specific messages.
✅ Usually, UserBots are used as Telegram extensions — a built-in calculator, quick translator, auto-adding people to chats, etc. You've probably already encountered such things. For instance, someone writes
.calc 2+2, and the message transforms into4.
- Modularity — extend functionality according to your wishes. Write your own modules or use ready-made ones.
- Convenience — everything is intuitive: download, configure, run.
- Flexibility — want to change Telegram's behavior? Modules allow you to implement anything!
- Multi-account — connect multiple Telegram accounts and manage them without issues, everything works smoothly.
- Cross-platform — works on Windows, Linux, macOS, and even Android (Termux).
- Easy deployment on hosting — our partner MavisHost allows you to launch RimTUB in just a few clicks, without the need to configure servers.
- Open source — with GPLv3 license.
🔗 Our website: RimTUB.app
Here you can:
- Learn more about RimTUB
- Download modules
- Read articles
.me— info about the userbot (version, uptime, etc.)..help— help on userbot..ping— ping test..restart— restart the userbot..calc <expression>— calculator..tr <language> <text/reply/quote>— translator..dml <link>— install module from link (from website, for example)..dmf <reply to file>— install module from file.
Windows
- Go to: GitHub Releases
- Click on the item with the
Latestbadge (this is the latest version). - Below, click on assets (file list)
- In the file list, find an archive named like
RimTUB-XXX.zip(XXX is the userbot version) — click on it to download. - When it's downloaded — open the folder with the file, right-click on the archive and select "Extract All".
- Enter a path, for example:
C:\RimTUB, and click "Extract".
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf❗️
- Go to the
C:\RimTUBfolder that you just unpacked. - Find the
config.yamlfile there. - Open it with a double click. If nothing happens — right-click and select "Open with → Notepad".
- Insert your data there. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- Save the file: File → Save.
- Go to python.org.
- Hover over "Downloads" and select Windows.
- Click "Download Python 3.11.9".
- When the installer downloads — MAKE SURE to check "Add Python to PATH", then click "Install Now".
- Wait for the installation to complete and close the window.
-
Press Win + R keys, a window will appear.
-
Type
cmdand press Enter — a black window will open (command prompt). -
Enter the following commands one by one (press Enter after each):
cd C:\RimTUB python -m venv .venv .venv\Scripts\activate.bat pip install -r requirements.txt python main.py
⚠ If a window appears asking for permission to access the internet — click "Allow".
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once
🎉 Done! RimTUB is running! Hooray!
Docker
- In terminal, enter the command:
git clone https://github.com/RimTUB/RimTUB
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf. ❗️
- In terminal, navigate to the folder where you just cloned RimTUB:
cd RimTUB - Open the configuration file
config.yamlusing a text editor, for example,nano:nano config.yaml
- Insert your data there. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- To save the file in
nano, press Ctrl + S to save. Then exit by pressing Ctrl + X.
- Enter the command to build RimTUB image:
docker build -t rimtub .
- Enter the command to start RimTUB interactively:
docker-compose up
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once.
- Double CTRL + C to exit:
- Enter the command to start RimTUB in background:
docker-compose up -d
🎉 Done! RimTUB is working in Docker! Hooray!
Linux
- Open terminal.
- Enter the following command to update packages and install dependencies:
sudo apt update sudo apt install git python3.11 python3.11-venv -y
- In terminal, enter the command:
git clone https://github.com/RimTUB/RimTUB
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf. ❗️
- In terminal, navigate to the folder where you just cloned RimTUB:
cd RimTUB - Open the configuration file
config.yamlusing a text editor, for example,nano:nano config.yaml
- Insert your data there. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- To save the file in
nano, press Ctrl + S to save. Then exit by pressing Ctrl + X.
- Enter the command to create a virtual environment:
python3.11 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install all necessary libraries:
pip install -r requirements.txt
- Launch RimTUB:
python main.py
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once.
🎉 Done! RimTUB is working on your Linux! Hooray!
macOS
-
Open Terminal.
-
Enter the command to install
Homebrew(if it's not installed):/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Follow the instructions in the terminal to complete the installation.
-
Install Python 3.11 and Git through Homebrew:
brew install git python@3.11
- Enter the command to clone the repository:
git clone https://github.com/RimTUB/RimTUB
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf. ❗️
- In terminal, navigate to the project folder:
cd RimTUB - Open the configuration file
config.yamlusing a text editor, for example,nano:nano config.yaml
- Insert your data. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- To save the file in
nano, press Ctrl + O, then Enter to confirm. After that, exit by pressing Ctrl + X.
- Enter the command to create a virtual environment:
python3.11 -m venv .venv
- Activate the virtual environment:
source .venv/bin/activate
- Install all necessary libraries:
pip install -r requirements.txt
- Launch RimTUB:
python main.py
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once.
🎉 Done! RimTUB is working on your Mac! Hooray!
UserLAnd (Android)
- Go to Play Marker and download UserLAnd.
- Install it on your device.
- Open UserLAnd.
- Chose Debian Termial only
- In Terminal run following commands: (It will take up to 40 minutes)
sudo apt update && sudo apt upgrade -y
sudo apt install -y wget build-essential libssl-dev zlib1g-dev \
libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev \
libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev \
tk-dev uuid-dev libffi-dev
cd /tmp
wget https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz
tar -xvf Python-3.11.9.tgz
cd Python-3.11.9
./configure --enable-optimizations
make -j$(nproc)
sudo make altinstall
sudo ln -sf /usr/local/bin/python3.11 /usr/bin/python
sudo ln -sf /usr/local/bin/python3.11 /usr/bin/python3
sudo ln -sf /usr/local/bin/python3.11 /usr/bin/py
sudo ln -sf /usr/local/bin/python3.11 /usr/bin/py3
py -m ensurepip
sudo ln -sf /usr/local/bin/pip3.11 /usr/bin/pip
sudo ln -sf /usr/local/bin/pip3.11 /usr/bin/pip3
cd ..
cd ..
sudo apt install -y git
sudo apt install -y nano
git clone https://github.com/RimTUB/RimTUB
cd RimTUB
py -m venv .venv
source .venv/bin/activate
sudo pip install -r requirements.txt
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf. ❗️
- Open the configuration file
config.yamlusing a text editor, for example,nano:nano config.yaml
- Insert your data. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- To save the file in
nano, press Ctrl + S. After that, exit by pressing Ctrl + X.
- After all dependencies are installed, launch RimTUB:
python main.py
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once.
🎉 Done! RimTUB is working on your phone! Hooray!
Termux (Android)
- Go to F-Droid and download Termux.
- Install it on your device.
- Open Termux.
- Clone the RimTUB repository:
apt update && apt upgrade -y && apt install git -y git clone https://github.com/RimTUB/RimTUB
- Open Telegram and find user @BotFather.
- Click Start or type
/startif the bot is silent. - Type
/newbot, set a name and link for the bot (for example,RimTUB_nickname_bot). - BotFather will send you a long token — copy it (it looks like
123456:ABC-DEF...). - ❗️ Type
/setinline, select your bot, and type any text, for exampleasdfjwekjdsf. ❗️
- In Termux, navigate to the project folder:
cd RimTUB - Open the configuration file
config.yamlusing a text editor, for example,nano:nano config.yaml
- Insert your data. Example:
PHONES: - +12345678990 # Your phone number linked to Telegram - +380XXXXXXXX # You can add multiple accounts BOT_TOKEN: 123456:ABC-DEF... # Token provided by BotFather
- To save the file in
nano, press Ctrl + O, then Enter to confirm. After that, exit by pressing Ctrl + X.
- In Termux, enter the command to execute the
termux.shscript, which will install all necessary dependencies:bash termux.sh
- Wait for the dependencies installation to complete.
- After all dependencies are installed, launch RimTUB:
python main.py
- After launching, the bot will ask you to enter a code.
- Telegram will send you an SMS — enter this code in the console.
- If you have two-factor authentication enabled (password when logging into Telegram) — enter it as well. You'll only need to do this once.
🎉 Done! RimTUB is working on your phone! Hooray!
📚 Module documentation: docs.rimtub.dev
Here you'll find everything you need to write your own module for RimTUB:
- Step-by-step instructions on writing and module structure.
- Complete description of available functions and methods for working with RimTUB.
- Code examples that will help you quickly start development.
If you want to create your own cool modules, be sure to study the documentation. It has everything! And if you don't understand something, you can ask the developer for help (contacts below)
-
Can I run it on my phone?
Yes! Just install it through Termux.
-
What if I can't run it on my device?
Contact @RimMirK, he can help with hosting.
-
Can I order a custom module?
Yes, also contact @RimMirK
-
I want to add a module to the website
No problem, write to @RimMirK
- Developer: @RimMirK
- Telegram Channel: @RimTUB
- Telegram Chat: @RimTUB_chat
- Official website: rimtub.app
- Documentation: docs.rimtub.app
- Partner MavisHost: @MavisHostNews