A Node.js Telegram bot which can shorten or unshorten your URLs. It can also shorten your magnet links.
This Bot won't work in groups. So it will be a wise decision if you disallow groups from bot father. Go to @BotFather > Bot Settings > Allow Groups? > Turn groups off
- Supports 11 URL Shortener
- tinyurl.com, cutt.ly,
1pt.co, is.gd, da.gd, v.gd, vo.la, bc.vc, goolnk.com, chilp.it, clck.ru
- tinyurl.com, cutt.ly,
- Supports custom alias
- tinyurl.com, cutt.ly,
1pt.co, is.gd, da.gd, v.gd, vo.la
- tinyurl.com, cutt.ly,
- Magnet link Shortener
- mgnet.me
- URL Unshortener
- Fork this repo
- From BotFather make a new bot and copy the BOT_TOKEN and paste it in the sample.env
- Write
/mybots
and select your bot and then **Edit Bot > Edit Commands** and paste the below Commands - Go to TinyUrl, Cuttly, Vola, Bcvc and sign up to get an api key
- Copy the api keys and paste them in the sample.env file
- Press
Commit New File
- Go to Replit and signup with your github account
- Press
+ Create
tab - Press
Import from Github
and select the forked repo - Go to the Secrets tab
- Add the sample.env keys and values one by one and click
Add new Secret
- After adding all 5 Secrets it should look like this
- Press the
Run
button and you should see something like this in the console - Copy the url from the browser preview tab
- Go to Cron-job and sign up
- Then go to the
Cronjobs
tab and clickCreate Cronjob
button - Give it a title and paste the copied replit url in the
URL
field then change the Execution Schedule toEvery 1 minute(s)
- Then press
Create
. Done! Now just check the bot it should work fine 24/7
unshorten - Unshorten a shortened URL (/unshorten ) 🗜 features - Show the list of features 🚀 start - Check if I am alive 🤨 help - Get some help 🆘
Add the url in a cron job website to prevent replit from going to sleep
-
If you have any feedback or any suggestions, please reach out to me at Bipul Dey
-
Feel free to give Pull Requests and Bug Report
🖤 Please give this repo a star if you like it. This will encourage me to do more works like this