MCPcopy Index your code
hub / github.com/TeamUltroid/Ultroid

github.com/TeamUltroid/Ultroid @v0.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7 ↗ · + Follow
873 symbols 5,164 edges 160 files 37 documented · 4%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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


Deploy

Documentation

Documentation

Tutorial

  • Full Tutorial - Full Tutorial

- Tutorial to get Redis URL and password - here.

Deploy to Heroku

Get the Necessary Variables and then click the button below!

Deploy

Deploy to Okteto

Get the Necessary Variables and then click the button below!

Develop on Okteto

Deploy Locally

Local Deploy - Easy Method

  • Linux - wget -O locals.py https://git.io/JY9UM && python3 locals.py
  • Windows - cd desktop ; wget https://git.io/JY9UM -o locals.py ; python locals.py
  • Termux - wget -O install-termux https://tiny.ultroid.tech/termux && bash install-termux

Local Deploy - Traditional Method

  • Get your Necessary Variables
  • Clone the repository:
    git clone https://github.com/TeamUltroid/Ultroid.git
  • Go to the cloned folder:
    cd Ultroid
  • Create a virtual env:
    virtualenv -p /usr/bin/python3 venv . ./venv/bin/activate
  • Install the requirements:
    pip(3) install -U -r re*/st*/optional-requirements.txt pip(3) install -U -r requirements.txt
  • Generate your SESSION:
  • For Linux users: bash sessiongen or wget -O session.py https://git.io/JY9JI && python3 session.py
  • For Termux users: wget -O session.py https://git.io/JY9JI && python session.py
  • For Windows Users: cd desktop ; wget https://git.io/JY9JI -o ultroid.py ; python ultroid.py
  • Fill your details in a .env file, as given in .env.sample. (You can either edit and rename the file or make a new file named .env.)
  • Run the bot:
  • Linux Users: bash startup
  • Windows Users: python(3) -m pyUltroid

[OUTDATED] Ultroid CLI

Ultroid CLI is a command-line interface for deploying Ultroid.

  • Installing -
    Run the following code on a terminal, with curl installed.
    ver=$(curl https://raw.githubusercontent.com/BLUE-DEVIL1134/UltroidCli/main/version.txt) && curl -L -o ultroid https://github.com/BLUE-DEVIL1134/UltroidCli/releases/download/$ver/ultroid.exe OR Go to UltroidCli and install the version release from the Github Releases. Add the executable to your system path as specified in the Readme.

  • Documentation - Take a look at the docs for more detailed information.


Necessary Variables

  • SESSION - SessionString for your accounts login session. Get it from here

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 - MONGO_URI - Get it from mongodb. - For SQLDB - DATABASE_URL- Get it from elephantsql.

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 ; python ultroid.py * Termux : wget -O session.py https://git.io/JY9JI && python session.py * TelegramBot : @SessionGeneratorBot


License

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


Credits

Made with 💕 by @TeamUltroid.

Core symbols most depended-on inside this repo

get_string
called by 580
strings/__init__.py
get
called by 284
pyUltroid/startup/_database.py
get_key
called by 252
pyUltroid/startup/_database.py
delete
called by 148
pyUltroid/startup/_database.py
set_key
called by 110
pyUltroid/startup/_database.py
eod
called by 82
pyUltroid/_misc/_wrappers.py
inline_mention
called by 81
pyUltroid/fns/helper.py
eor
called by 81
pyUltroid/_misc/_wrappers.py

Shape

Function 694
Method 133
Class 27
Route 19

Languages

Python100%

Modules by API surface

pyUltroid/fns/tools.py47 symbols
pyUltroid/startup/_database.py40 symbols
assistant/callbackstuffs.py32 symbols
pyUltroid/fns/FastTelethon.py27 symbols
pyUltroid/fns/helper.py23 symbols
pyUltroid/fns/google_image.py23 symbols
plugins/pmpermit.py20 symbols
pyUltroid/fns/misc.py18 symbols
plugins/admintools.py17 symbols
pyUltroid/startup/BaseClient.py15 symbols
plugins/utilities.py15 symbols
pyUltroid/fns/gDrive.py13 symbols

Datastores touched

(mongodb)Database · 1 repos

For agents

$ claude mcp add Ultroid \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact