Telegram ShortenerBot
ShortenerBot:
All supported domains: v.gd, da.gd, is.gd, ttm.sh, clck.ru, chilp.it, osdb, tinyurl, owly
Requires APIKEY: shorte.st, bc.vc, pubiza, linkvertise, bit.ly, post, cutt.ly, adf.ly, shortcm, tinycc, ouo.io
Setting up config file
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
Required Variables:
BOT_TOKEN: Telegram Bot Token. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26asAPP_ID: Telegram App ID. Example:32523453API_HASH: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1dasAUTH_IDS: Auth only some groups or users. If you want public, leave it empty or give0. Example:-100656 56191 -10056561BOT_USERNAME: Your bot's username. without @. Example:ShortenerBot
Other Variables:
OWNER_ID: Bot's owner id. Send/idtot.me/MissRose_botin private to get your id Required for logs. If you don't want, leave it empty- Shortener Variables:
- Not required signup:
v.gd,da.gd,is.gd,ttm.sh,clck.ru,chilp.it,osdb,owly - Required signup:
shorte.st,bc.vc,pubiza,linkvertise,bit.ly,post,cutt.ly,adf.ly,shortcm,tinycc,tinyurl,ouo.io shortest: Enter Api Key if you want.bcvc: Enter Api Key if you want. bc.vc sample api:"2dgdg5f1fgag7cg6f0622&uid=45634"pubiza: Enter Api Key if you want. pubiza sample api:"hsdfgCgdgrsdfgsfgfgsdgLsfgXef mainstream". Split api key and ad type with a space. Genel içerik için:mainstreamYetişkin içerik için:adultİçerik Kilidi için:content_lockerlinkvertise: Enter Api Key if you want.bitly: Enter Api Key if you want.post: Enter Api Key if you want.cuttly: Enter Api Key if you want.adfly: Enter Api Key if you want. adfly sample api:"hsdfgCgdgrsdfgsfgfgsdgLsfgXef 51515155"Split api key and user id with a space.shortcm: Enter Api Key if you want. shortcm sample api:"hsdfgCgdgrsdfgsfgfgsdgLsfgXef abcdotcom"Split api key and domain with a space.tinycc: Enter Api Key if you want. tinycc sample api:"hsdfgCgdgrsdfgsfgfgsdgLsfgXef tinyccusername"Split api key and username with a space.ouoio: Enter Api Key if you want.
- Not required signup:
AUTO_DEL_SEC: Global auto deletion seconds. Default 10.AUTO_SHORT_MOTOR: If you want auto shorting, fill likeis.gd. Useful for groups / channels. Auto Shorting. Default None. If you dont want, dont fill.DELETE_AUTO_SHORTENED: Auto delete, auto-shortened link; afterAUTO_DEL_SECsecs. Default False.DELETE_COMMAND_SHORTENED: Auto delete, shortened with command link; fterAUTO_DEL_SECsecs. Default False.
Deploy
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
Deploy to Heroku:
- Open me in new tab
- Fill required variables
- Fill app name (or dismiss)
Deploy to Local:
- install python to your machine
git clone https://github.com/HuzunluArtemis/ShortenerBotcd ShortenerBotpip install -r requirements.txtpython bot.py
Deploy to Vps:
git clone https://github.com/HuzunluArtemis/ShortenerBotcd ShortenerBot- For Debian based distros
sudo apt install python3 && sudo snap install docker - For Arch and it's derivatives:
sudo pacman -S docker python
License
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
ShortenerBot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.