Skip to content

A Telegram bot that tracks the number of coffee capsules used by university students.

Notifications You must be signed in to change notification settings

andsanv/coffee_keeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coffee Keeper

The inspiration

Andrea: "These prices are way too high, f-cking coffee machines."
Francesco: "Yeah, Polimi should do something. We should just bring our own coffee from home."
Angelo: "Capsules cost way less if you buy them yourself."
Franceso: "Definitely."
Andrea: "Why don't we buy a coffee machine?"
Angelo: "Ahahah."
Andrea: "No, I mean, seriously."
Francesco: "Aight, but how are we doing it? We can't just bring it over every day from home."
Angelo: "We can find a locker with a power outlet close to it."
Andrea: "Exactly."
Francesco: "Everyone brings their own capsules? Seems messy, every coffee machine has its own capsules supported."
Angelo: "What if one of us buys a big pack of them and we divide them?"
Francesco: "I don't want capsules in my backpack."
Andrea: "Let's just leave them grouped in their box, in the locker with the coffee machine."
Francesco: "And how do we know how many capsules each one of us has left?"


What is it?

Coffee Keeper is a telegram bot able to monitor the count of coffee capsules used by uni students. It works in group chats and allows users to edit their amounts by using commands.


How does it work?

Telegram contacts my bot through webhook, which triggers an AWS Lambda that parses the message sent, eventually communicating with DynamoDB tables to store data between executions.

About

A Telegram bot that tracks the number of coffee capsules used by university students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages