Query information from various game servers. Watch their current state via web interface or REST api.
- Games by Valve, both GoldSource and Source based
- Xash3D servers by FWGS
- Quake
- Quake II
- D compiler, e.g. dmd
- dub
- vibe.d dependencies
cp config_example/config.json . # copy example config
nano config.json # edit config
dub run --build=release
xdg-open https://127.0.0.1:27080/servers # open web interface in browser
curl https://127.0.0.1:27080/api/servers | python -m json.tool # get JSON formatted info via REST api
Container will download D compiler and dub package manager and build the project by itself. No need to install D compiler and dub on the host.
cp config_example/config.json . # copy example config
nano config.json # edit config
docker build -t gamewatcher .
docker run -v "$(pwd)/config.json":/opt/gamewatcher/config.json -v "$(pwd)/public":/opt/gamewatcher/public -p 27080:27080 gamewatcher