Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Mrvishal2k2/TG-ShortLinkBot
An simple url shortener bot which uses api of bit.ly
https://github.com/Mrvishal2k2/TG-ShortLinkBot
hacktoberfest hacktoberfest-accepted python telegram telegram-bot
Last synced: 4 days ago
JSON representation
An simple url shortener bot which uses api of bit.ly
- Host: GitHub
- URL: https://github.com/Mrvishal2k2/TG-ShortLinkBot
- Owner: Mrvishal2k2
- License: mit
- Created: 2021-01-03T16:43:54.000Z (almost 4 years ago)
- Default Branch: Bitly
- Last Pushed: 2022-10-11T18:33:00.000Z (about 2 years ago)
- Last Synced: 2024-08-01T20:49:39.347Z (3 months ago)
- Topics: hacktoberfest, hacktoberfest-accepted, python, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 48
- Watchers: 3
- Forks: 51
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - Mrvishal2k2/TG-ShortLinkBot - An simple url shortener bot which uses api of bit.ly (Python)
README
# TG-BitlyBot
Make a short link by using [Bit.ly](https://bit.ly/) API key Or With [Da.gd](https://da.gd) If BITLY_KEY isn't present* **Language:** [Python3](https://www.python.org)
* **Library:** [Pyrogram](https://docs.pyrogram.org)### Installation
#### Easy Way
Use [ShortLinkRobot](https://t.me/URLShortenRobot) with 10+ sites and inline Support !!#### The Simple Way
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)#### Hard Way (VPS)
* This is just a demo of commands to use
```
git clone https://github.com/Mrvishal2k2/TG-ShortLinkBot
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 bot.py
```### Developer
* Telegram [Mrvishal2k2](https://t.me/Mrvishal_2k2)
* You can checkout my bots At [BotDunia](https://t.me/BotDunia)
#### Required Variables
* `BOT_TOKEN`: Create a bot using [@BotFather](https://telegram.dog/BotFather), and get the Telegram API token.
* `API_ID`: Get this value from [telegram.org](https://my.telegram.org/apps)
You can also get it from [UseTGXBot](https://t.me/UseTGXBot)
* `API_HASH`: Get this value from [telegram.org](https://my.telegram.org/apps)
You can also get it from [UseTGXBot](https://t.me/UseTGXBot)
* `BITLY_KEY`: (Not Compulsory) Create [Bit.ly](https://bitly.com/a/sign_in) account then get this value from Profile settings > Generic access token.
If BITLY_KEY is not provided Still u can use with [Da.gd](https://da.gd) Shortlink !!
* `OWNER`: (Not mandatory) Owner's Username without @## Commands:
```
start - start the bot
help - ask help
```### Support:
* Join BotDunia channel
* Join Support Group### Follow on:
## All rights reserved !!
* Kangers stay away from Kang !!
* Don't be a copy cat !!
* Good to see if you give me credits if you are using !!
* This is only for personal use !! Don't make a Bot channel Business with this !!## Credits
* [Mahesh Malekar](https://github.com/Mahesh0253) For his Awesome [GPLinks](https://github.com/Mahesh0253/GPlink-bot) Opensource
* And everyone in this Journey