Telegram bot developed in C++ to run on a Raspberry Pi Model B (2011/2012).
It automatically responds with:
- Current class
- Next class
- Task management
- Current weather and upcoming weather in São João da Boa Vista
- Sends automatic notifications before classes and about task deadlines
- Operates 24 hours a day as a Linux service (systemd)
- C++
- libcurl (HTTP requests)
- nlohmann/json (JSON parser)
- Telegram Bot API
- Open-Meteo API (weather)
- systemd (24-hour execution)
Commands available on Telegram:
/aula
/proximaaula
/climahoje
/climaamanha
/tarefas
/add
/del
The bot uses Long Polling to periodically query the Telegram API:
- Checks for new messages
- Processes commands
- Sends response
- Waits a few seconds
- Repeats
Project developed for learning:
- Networks
- REST APIs
- C++ programming
- Linux systems
- 24-hour services
- Embedded systems
Developed for personal academic use.