Skip to content

skycarl/iou_bot

Repository files navigation

IOU Bot

Telegram bot frontend for IOU app

How to set up

Create Telegram bot

  1. In Telegram, open @botfather
  2. Create a new bot
  3. Get API key

Authorization

Create an authorized_users.txt in the root project directory with an authorized Telegram username on each line, e.g.,

alice
bob

How to run

python -m app.main

Development

Pre-commit hooks:

$ poetry run pre-commit run --all-files

TODO

  • Add more tests
  • Add CI/CD
  • Clean up error handling for invalid messages
  • Bidirectional IOUs
  • Use actual buttons for better UX rather than /send, etc. commands
  • Split bills between given people (after doing buttons)
  • Recurring, automatic payments
  • Only allow authorized users to add / interface with the bot

About

Telegram bot for IOU app

Resources

Stars

Watchers

Forks

Packages

No packages published