Skip to content

krnbatra/SplitwiseTelegramBot

Repository files navigation

SplitwiseTelegramBot

A telegram bot for managing Splitwise application from within Telegram.

What can this bot do?

The current version supports the following commands.

  1. connect: Connects your Splitwise account
  2. list_expense: List expenses from your Splitwise account
  3. create_expense: Creates new expense in your Splitwise account
  4. settle_expense: Settles expense in your Splitwise account

Use /connect to connect to your Splitwise account.

✨ Demo

Getting started

Setting up the local instance

Install the dependencies using:

   pip install -r requirements.txt

Set up the value of environment variables

   * BOT_TOKEN = Ask @BotFather for this token
   
   Register your app on Splitwise to get the value of next 2 tokens
   * CONSUMER_KEY
   * CONSUMER_SECRET
   
   * REDIS_URL = 127.0.0.1:6379

Make value of WEBHOOK = False in this file.

Finally run

   python main.py

Author

👤 Karan Deep Batra

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if you liked this project!

Splitwise Telegram Bot - Telegram Bot for managing your Splitwise account. | Product Hunt Embed

License

This project is licensed under the MIT License - see the LICENSE.md file for details