https://github.com/iljavaleev/fsmbot
Tg bot with coroutines
https://github.com/iljavaleev/fsmbot
coroutines cpp20 postgresql tgbot
Last synced: 3 months ago
JSON representation
Tg bot with coroutines
- Host: GitHub
- URL: https://github.com/iljavaleev/fsmbot
- Owner: iljavaleev
- Created: 2025-04-30T10:27:20.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-04T14:10:32.000Z (5 months ago)
- Last Synced: 2025-06-07T08:42:27.419Z (4 months ago)
- Topics: coroutines, cpp20, postgresql, tgbot
- Language: C++
- Homepage:
- Size: 1.29 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FSMBOT
## An attempt to apply с++20 coroutines in practice. Used them as FSM for user registration and subsequent data updates. Some parts, such as input validation, are left without concrete implementation, since, again, the main thing is to integrate coroutines into the project. For the same reasons, there is no logging and webhook
## Key features
### To work with the bot, the user must go through the registration procedure. After that, he can view his data and update some information. This is where the functionality ends.## Run locally
```
mkdir build && cd build
cmake ..
make
./fsm
```