https://github.com/leaningtech/cheerpnet
A virtual LAN and socket library for the Web, based on WebRTC
https://github.com/leaningtech/cheerpnet
Last synced: about 1 year ago
JSON representation
A virtual LAN and socket library for the Web, based on WebRTC
- Host: GitHub
- URL: https://github.com/leaningtech/cheerpnet
- Owner: leaningtech
- License: mit
- Created: 2019-09-16T15:43:56.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T10:48:57.000Z (over 6 years ago)
- Last Synced: 2025-04-07T10:51:28.041Z (about 1 year ago)
- Language: C++
- Size: 32.2 KB
- Stars: 46
- Watchers: 13
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Cheerpnet
A virtual LAN and socket library for the Web, based on WebRTC
## Build and install
```
mkdir build
cd build
cmake .. -GNinja -DCMAKE_TOOLCHAIN_FILE=/opt/cheerp/share/cmake/Modules/CheerpToolchain.cmake -DCMAKE_INSTALL_PREFIX=/opt/cheerp
ninja && sudo ninja install
```
## Use
See `cheerpnet.h` for the API and the `example` folder for a minimal application.
You need API keys for a Firebase Realtime Database, and populate a FirebaseConfig
object with the required info, then pass it to the init function.