Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/phanirithvij/stickerbot

Download telegram stickers in lottie json format.
https://github.com/phanirithvij/stickerbot

telegram-bot

Last synced: 10 days ago
JSON representation

Download telegram stickers in lottie json format.

Awesome Lists containing this project

README

        

# Sticker bot

On telegram [@TempStickerBot](https://telegram.me/TempStickerBot)

**Setup**

```
git clone github.com/phanirithvij/stickerbot
```

Place your API key from @BotFather in `config copy.yml`

Then rename the file to `config.yml`

```shell
mv "config copy.yml" config.yml
```

Run the bot by `go run .` or `go build && ./stickerbot`

**What it does:**

- Users send bot a sticker or stickerpack url of their choice
- Bot downloads the stickerpack and zips it
- Bots sends the zip file of the pack to the user
- The user can now download the sticker pack
- The stickerpack for now contains lottie json files
- There is no user specifc db storage so the storage is global
- You can also call @BotUserName and search for any **stickerpacks** (one sticker per pack) by text.
- Oh, and the bot downloads any gif file that's sent to it. (And does nothing with that file).

## TODO

- [ ] Better inline search
- [ ] Use redis or something as the db instead of a json file
- [ ] Remove/Move that gif code

## Screenshots

![image](https://user-images.githubusercontent.com/29627898/81421172-a80bd800-916e-11ea-8cba-ab504fc9d606.png)