Mirai QQ bot C++ CMake template project. Based on the HTTP API instead of mirai-native.
This project utilizes some C++17 features, so a working C++17 compliant compiler is needed to compile this project.
Use of package managers is encouraged. I'm currently using vcpkg for package management. Currently the following packages are used in this project:
- cpr: C++ requests library.
- WebSocket++: C++ websocket client/server library.
- Asio: Cross-platform C++ library for network and low-level I/O programming. This is the standalone version, not the boost version.
- libiconv: C text encoding library.
- JSON for Modern C++: Easy integration of json in C++.
This project uses Doxygen syntax for documenting the API functions. You can use Doxygen to generate pdf/html documentation, or if you have a decent IDE proper documentation will show up in the auto-complete pop-ups.