Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phil-r/asciifacesbot
:smiley: Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯
https://github.com/phil-r/asciifacesbot
ascii ascii-art bot faces telegram telegram-bot
Last synced: about 1 month ago
JSON representation
:smiley: Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯
- Host: GitHub
- URL: https://github.com/phil-r/asciifacesbot
- Owner: phil-r
- License: mit
- Created: 2016-02-20T14:51:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-05-24T04:13:17.000Z (over 3 years ago)
- Last Synced: 2024-10-29T10:03:04.805Z (2 months ago)
- Topics: ascii, ascii-art, bot, faces, telegram, telegram-bot
- Language: Python
- Homepage: https://telegram.me/asciifacesbot
- Size: 15.6 KB
- Stars: 24
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-telegram-bots - asciifacesbot - Bot that allows you to append ascii faces to your messages ¯\\\_(ツ)\_/¯ (Examples / Python)
README
# asciifacesbot
Telegram Bot [@asciifacesbot](https://telegram.me/asciifacesbot) that allows you to append ascii faces to your messages ¯\\\_(ツ)\_/¯## Backend
Bot runs on [Google App Engine](https://cloud.google.com/appengine/)## Telegram API
Bot replies to every incoming webhook and doesn't send requests to the API directly## How to run your own `asciifacesbot`
- Clone this project
- Run `pip install -r requirements.txt -t lib/` to install dependencies
- Download and install [App Engine SDK](https://cloud.google.com/appengine/downloads)
- Register your app in [Google Cloud console](https://console.cloud.google.com)
- Register your bot via [BotFather](https://telegram.me/BotFather)
- Rename `sample_app.yaml` to `app.yaml` and replace `YOUR_TELEGRAM_BOT_TOKEN` with your bot token
- Set up webhook by running something like `curl -X POST -H "Content-Type: application/json" -d '{"url":"https://{yourappid}.appspot.com/{YOUR_TELEGRAM_BOT_TOKEN}"}' https://api.telegram.org/bot{YOUR_TELEGRAM_BOT_TOKEN}/setWebhook`
- Run `gcloud app deploy app.yaml --project yourappid` in the project folder
- `¯\_(ツ)_/¯`## TODO:
- [x] Add basic inline bot
- [ ] Do something with thumbnail
- [ ] Setup your favorite faces through bot commands
- [ ] [Collect feedback](https://core.telegram.org/bots/inline#collecting-feedback)Thanks to https://github.com/maxogden/cool-ascii-faces for the list of faces ¯\\\_(ツ)\_/¯
## See also
- [Hacker news bot](https://github.com/phil-r/hackernewsbot)