Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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