Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/phanirithvij/stickerbot
- Owner: phanirithvij
- Created: 2020-05-07T06:44:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-21T06:29:29.000Z (about 2 years ago)
- Last Synced: 2024-06-20T17:39:20.292Z (6 months ago)
- Topics: telegram-bot
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)