https://github.com/freeslave/gamewatcher
Query information from various game servers
https://github.com/freeslave/gamewatcher
Last synced: 3 months ago
JSON representation
Query information from various game servers
- Host: GitHub
- URL: https://github.com/freeslave/gamewatcher
- Owner: FreeSlave
- License: bsl-1.0
- Created: 2017-03-17T11:23:10.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T11:34:18.000Z (almost 5 years ago)
- Last Synced: 2025-07-10T23:57:10.152Z (10 months ago)
- Language: D
- Size: 67.4 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_1_0.txt
Awesome Lists containing this project
README
# Gamewatcher
Query information from various game servers. Watch their current state via web interface or REST api.
[](https://github.com/FreeSlave/gamewatcher/actions/workflows/ci.yml)
## Supported game servers
* Games by Valve, both GoldSource and Source based
* Xash3D servers by [FWGS](https://github.com/FWGS)
* Quake
* Quake II
## Dependencies
* D compiler, e.g. dmd
* dub
* [vibe.d](https://github.com/rejectedsoftware/vibe.d) dependencies
## How to run
```
cp config_example/config.json . # copy example config
nano config.json # edit config
dub run --build=release
xdg-open http://127.0.0.1:27080/servers # open web interface in browser
curl http://127.0.0.1:27080/api/servers | python -m json.tool # get JSON formatted info via REST api
```
## Run in docker
### Build and run in docker container:
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
```