/keepintouch-bot

Webhook-based telegram bot, that helps stay in touch with hundreds of people.

Primary LanguagePythonMIT LicenseMIT

Keepintouch-bot

Build Status codecov license Code style: black

Webhook-based telegram bot, that helps you stay in touch with hundreds of people

Based on article "Stay in touch with hundreds of people" by Derek Sivers.

How it works

  • Share Contact with the bot
  • Choose a Group (A, B, C or D) for the contact
  • Bot will notify you when it's time to write a message to the contact

How it's built

Runs on Yandex.Cloud Functions or any other serverless platform.

The bot handles POST requests triggered by Telegram Webhooks.

Also, it triggered by Yandex.Cloud Triggers once a day to check, if it's time to write a message to your contacts.

Uses Django Framework, without unnecessary features. Some ideas how to make it fast and lightweight are taken from serverless-micro-django

Deployment

Deployment is done via Yandex-Serverless-Action

For more information, see workflow

Development

The only way to develop a new features for Telegram bot is writing tests.

make test