Asciifacesbot Save

:smiley: Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯

Project README

asciifacesbot

Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯

Backend

Bot runs on Google App Engine

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
  • Register your app in Google Cloud console
  • Register your bot via 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:

  • Add basic inline bot
  • Do something with thumbnail
  • Setup your favorite faces through bot commands
  • Collect feedback

Thanks to https://github.com/maxogden/cool-ascii-faces for the list of faces ¯\_(ツ)_/¯

See also

Open Source Agenda is not affiliated with "Asciifacesbot" Project. README Source: phil-r/asciifacesbot
Stars
24
Open Issues
2
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating