All Projects → SpEcHiDe → UniBorg

SpEcHiDe / UniBorg

Licence: MPL-2.0 License
Pluggable Telegram bot and userbot based on Telethon

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to UniBorg

PyroGramBot
pluggable Telegram Bot based on Pyrogram
Stars: ✭ 168 (-14.29%)
Mutual labels:  ffmpeg, download, upload, pluggable
DevelopersUserbot
Telegram Userbot Made for Developers by Developers
Stars: ✭ 25 (-87.24%)
Mutual labels:  userbot, telegram-userbot, telethon
Backdoor
A backdoor that runs on Linux and Windows
Stars: ✭ 36 (-81.63%)
Mutual labels:  download, upload
ZDrive
Seamless download/upload contents via Google Drive 📂
Stars: ✭ 25 (-87.24%)
Mutual labels:  download, upload
speed-cloudflare-cli
📈 Measure the speed and consistency of your internet connection using speed.cloudflare.com
Stars: ✭ 99 (-49.49%)
Mutual labels:  download, upload
opentele
A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.
Stars: ✭ 90 (-54.08%)
Mutual labels:  telegram-userbot, telethon
rsync
gokrazy rsync
Stars: ✭ 308 (+57.14%)
Mutual labels:  download, upload
spotify telegram bio updater
This userbot updates the biography of a telegram user according to their current spotify playback.
Stars: ✭ 21 (-89.29%)
Mutual labels:  telegram-userbot, telethon
Nana-Bot
Telegram Modular Userbot using python3.7
Stars: ✭ 38 (-80.61%)
Mutual labels:  userbot, telegram-userbot
tgcf
The ultimate tool to automate custom telegram message forwarding. Live-syncer, Auto-poster, backup-bot, cloner, chat-forwarder, duplicator, ... Call it whatever you like! tgcf can fulfill your custom needs.
Stars: ✭ 378 (+92.86%)
Mutual labels:  telegram-userbot, telethon
filimo-plus-cli
FilimoPlusCli: download filimo items
Stars: ✭ 22 (-88.78%)
Mutual labels:  ffmpeg, download
telecharm-userbot
A powerful, cool and well-made userbot for your Telegram profile, with promising extension capabilities.
Stars: ✭ 17 (-91.33%)
Mutual labels:  userbot, telegram-userbot
Fire-X
Powerful Telegram Maintained UserBot in Telethon
Stars: ✭ 22 (-88.78%)
Mutual labels:  userbot, telethon
miniprogram-network
Redefine the Network API of Wechat MiniProgram (小程序网络库)
Stars: ✭ 93 (-52.55%)
Mutual labels:  download, upload
Spotify-Telegram-Bio-Updater
Spotify Telegram Bio Updater Heroku Integration
Stars: ✭ 26 (-86.73%)
Mutual labels:  telegram-userbot, telethon
httputils
Http工具包:OkHttp轻量封装 、功能全面、设计力求优雅与纯粹,Java领域前后端处Http问题的新选择。
Stars: ✭ 21 (-89.29%)
Mutual labels:  download, upload
WTelegramClient
Telegram client API library written 100% in C# and .NET Standard
Stars: ✭ 192 (-2.04%)
Mutual labels:  userbot, telegram-userbot
One4uBot
Telegram Userbot Project to helping your Telegram experience based on PaperplaneExtended - Our Support https://t.me/userbotindo,
Stars: ✭ 51 (-73.98%)
Mutual labels:  userbot, telethon
LEGEND-BOT
#LEGENDBOT telethon based userbot with assistant added and 280+ modules and best experience made with love🔥⚡
Stars: ✭ 52 (-73.47%)
Mutual labels:  userbot, telethon
simple http server
simple http server for upload and download
Stars: ✭ 101 (-48.47%)
Mutual labels:  download, upload

uniborg

Pluggable asyncio Telegram userbot based on Telethon.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.

disclaimer

⚠️ This fork uses "requests" module in various places, instead of the async alternative. ⚠️

  • This was an attempt to learn userbot development using Telethon, this project is now no longer usable, and is FORKed and MODIFied to suit MY needs, so use at your own risk.

installing

The Easiest Way

  • Install Docker by following the official docker docs

  • Start docker daemon [skip if already running]:

dockerd
  • Build Docker image:
docker build . -t uniborg
  • Run the image:
docker run uniborg

It is not recommended to use "sudo", while using Docker. GNU/Linux Permissions are highly customisable, and it is generally not required to have "ROOT" permission, unless you know what you are doing. You can still install all the dependencies in your system [with ROOT permissions], but please be aware of the potential issues when doing so. The installed packages may conflict with the system package manager's installed packages, which can cause trouble down the road and errors when upgrading conflicting packages. You have been warned.

The Legacy Way

Simply clone the repository and run the main file:

git clone https://github.com/udf/uniborg.git
cd uniborg
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
cp sample_config.env config.env
# <edit config.env with appropriate values>
python3 -m kopp

internals

The core features offered by the custom TelegramClient live under the uniborg/ directory, with some utilities, enhancements, the _core plugin, and the _inline_bot plugin.

  • Only five of the environment variables are mandatory.
  • Please read the WiKi to understand the use of the variables.
  • This is because of telethon.errors.ApiIdPublishedFloodError
    • APP_ID:
    • API_HASH:
    • TG_BOT_TOKEN_BF_HER:
    • TG_BOT_USER_NAME_BF_HER:
    • DATABASE_URL:
  • The userbot should work without setting the non-mandatory environment variables.

design

The modular design of the project enhances your Telegram experience through plugins which you can enable or disable on demand.

Each plugin gets the borg, logger, Config magical variables to ease their use. Thus creating a plugin as easy as adding a new file under the plugin directory to do the job:

# stdplugins/myplugin.py
@borg.on(slitu.admin_cmd(pattern="hi"))
async def handler(event):
    await event.client.send_message(
        event.chat_id,
        "hey"
    )

learning

Check out the already-mentioned plugins directory, or some third-party plugins to learn how to write your own, and consider reading Telethon's documentation.

credits

Thanks to:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].