Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winston-yallow/mosaic-server
WebRTC Signalling Server made for a Godot game
https://github.com/winston-yallow/mosaic-server
game-development webrtc-demos webrtc-signaling websocket
Last synced: about 1 month ago
JSON representation
WebRTC Signalling Server made for a Godot game
- Host: GitHub
- URL: https://github.com/winston-yallow/mosaic-server
- Owner: winston-yallow
- License: mit
- Created: 2021-09-16T19:20:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T19:29:01.000Z (over 3 years ago)
- Last Synced: 2024-11-14T03:34:28.484Z (3 months ago)
- Topics: game-development, webrtc-demos, webrtc-signaling, websocket
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mosaic Server
Small webserver used for WebRTC Signalling by [Mosaic](https://github.com/winston-yallow/mosaic-client).
This was done for a game jam with limited time and probably contains bugs.I planned to make this into a module and creating a setup.py but ran out of time. For now the
main entry point is the `cli.py` file.## Usage
### Requirements
I suggest using a virtual environment. You can create one and install the dependencies like this on linux:```bash
python3 -m venv venv
pip install -r requirements.txt
```### Running the Server
(if you followed the steps above you need to activate the environment with `source venv/bin/activate`)
Example commands:
```bash
# Print help
python src/cli.py --help# Start server and print info messages
python src/cli.py --loglevel INFO# Start server with SSL support
python src/cli.py \
--cert path/to/fullchain.pem \
--key path/to/privkey.pem
```## License
All code in this repo is using the MIT License