Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andykaban/pupok-polaroid-bot
Telegram polaroid bot
https://github.com/andykaban/pupok-polaroid-bot
bot golang polaroid telegram telegram-bot
Last synced: 19 days ago
JSON representation
Telegram polaroid bot
- Host: GitHub
- URL: https://github.com/andykaban/pupok-polaroid-bot
- Owner: Andykaban
- Created: 2018-12-02T12:45:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T12:21:02.000Z (over 2 years ago)
- Last Synced: 2024-10-09T17:27:24.857Z (about 1 month ago)
- Topics: bot, golang, polaroid, telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 11.8 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pupok-polaroid-bot
===========Small and funny telegram bot which convert photos like a polaroid camera
## How to use
1 - Install Docker
2 - Clone this repo
3 - make
or GOOS=linux GOARCH=amd64 make4 - Setup config.json bot configuration file by example
```
{
"bot_token" : "Telegram bot token",
"bot_proxy_url" : "SOCK5 proxy url (optional if needed)",
"bot_proxy_login" : "SOCK5 proxy login (optional if use proxy auth)",
"bot_proxy_password" : "SOCK5 proxy login (optional if use proxy auth)",
"bot_temp_dir" : "/tmp/picture_folder (or any other existing directory)",
"font_path" : "./static/fonts/wqy-zenhei.ttf (You can use OS system ttf fonts)",
"background_path" : "./static/images/background.png (Path to polaroid camera background)"
}
```
5 - Run the bot ./pupok-polaroid-bot %path_to_config% (without parameter if config placed in the same directory)6 - Send /start command to the bot