https://github.com/ovoshatchery/ovos-bus-server
alternative ovos bus service (websocket server) in C++
https://github.com/ovoshatchery/ovos-bus-server
maintainer-wanted proof-of-concept
Last synced: over 1 year ago
JSON representation
alternative ovos bus service (websocket server) in C++
- Host: GitHub
- URL: https://github.com/ovoshatchery/ovos-bus-server
- Owner: OVOSHatchery
- License: mit
- Created: 2022-12-26T14:57:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-01-03T02:41:26.000Z (over 2 years ago)
- Last Synced: 2025-01-30T05:16:50.053Z (over 1 year ago)
- Topics: maintainer-wanted, proof-of-concept
- Language: C++
- Homepage:
- Size: 728 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OVOS Bus Server
Alternative C++ messagebus server implementation for ovos-core using
the [WebSocket++](https://github.com/zaphoyd/websocketpp) WebSocket library.
## Dependencies
The following libraries are bundled in the source tree, under the `server/external` directory:
- [WebSocket++](https://github.com/zaphoyd/websocketpp)
- [Asio](http://think-async.com/)
- [JsonCpp](https://github.com/open-source-parsers/jsoncpp)
When compiling under MinGW, [Boost.Thread](http://www.boost.org/doc/libs/release/libs/thread/) is also required, due to
a bug in MinGW that prevents WebSocket++ from using C++11 functionality alone (
see [this StackOverflow post](http://stackoverflow.com/questions/33662788/undefined-reference-to-stderrcoperation-canceled-when-compiling-websocketp)
for details.)
## Building the server
Building the server requires a recent version of the [CMake](https://cmake.org/) build system. To build the server,
invoke the following commands in the `server` directory:
```
cmake .
cmake --build .
```
When compiling with Visual Studio under Windows, these command need to be run from the _"Visual Studio Native Tools
Command Prompt"_, which includes the neccessary build tools in the `PATH`.
## License
The bundled libraries are each covered by their own licenses:
- WebSocket++ - **BSD 3-Clause License** (see `server/external/LICENSE/websocketpp.txt`)
- Asio - **Boost Software License** (see `server/external/LICENSE/asio.txt`)
- JsonCpp - **Public Domain / MIT License** (see `server/external/LICENSE/jsoncpp.txt`)
All of the remaining code is licensed under the MIT License. See the file `LICENSE` for details.
## Credits
Based of https://github.com/adamrehn/websocket-server-demo