Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ShivangKakkar/VideoStickerBot


https://github.com/ShivangKakkar/VideoStickerBot

pyrogram telegram telegram-bot video-stickers

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

## [Video Sticker Bot](https://t.me/Video_Sticker_Bot)

> A star ⭐ from you means a lot to me !

#### Telegram bot to convert Video and GIFs to Video Stickers.

[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)

## Functions

1. Create video stickers using videos.
2. Create video stickers using gifs.
3. Create video stickers from existing video stickers (Kang Mode)
4. Get webm file of any video sticker.
5. Set custom emojis to video sticker.
6. Save default emojis for video stickers.

## Deployment

### Deploy to Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/StarkBotsIndustries/VideoStickerBot)

1. Tap on above button and fill values for needed variables
2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
3. After deploying is complete, tap on "Manage App"
4. Check the logs to see if your bot is ready!

### Local Deploying

1. Clone the repo
```markdown
git clone https://github.com/StarkBotsIndustries/VideoStickerBot
```
2. Get a DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.

3. Edit `settings.py` and as your needs, rename `.env.sample` to `.env` and fill with your variables.

4. Enter the directory
```markdown
cd VideoStickerBot
```
5. Run the file
```markdown
python3 bot.py
```

## Environment Variables

#### Mandatory Vars

- `API_ID` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `API_HASH` - Get this from [my.telegram.org](https://my.telegram.org/auth)
- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `DATABASE_URL` - Will be automatically added by Heroku.

## To-Do

> That's on you suggestions mainly...

[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

## Credits

- Me for [pystark](https://github.com/StarkBotsIndustries/pystark)
- [Dan Tès](https://github.com/delivrance) for his [Pyrogram](https://docs.pyrogram.org) Library

## Support

Channel :- [@StarkBots](https://t.me/StarkBots)

Group Chat :- [@StarkBotsChat](https://t.me/StarkBotsChat)

## :)

[![ForTheBadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)

[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://github.com/StarkBotsIndustries)

[![ForTheBadge makes-people-smile](http://ForTheBadge.com/images/badges/makes-people-smile.svg)](https://github.com/StarkBotsIndustries)