Go web app that lets you track the state of a Cube 2: Sauerbraten game server.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
html
js
.gitignore
README.md
main.go
server_list_poller.go
server_poller.go
viewer.go

README.md

extinfo-web

Go web app that lets you track the state of a Cube 2: Sauerbraten game server.

Try it here!

How it works

Viewers subscribe to Sauerbraten server state information by opening a websocket connection. When that particular game server is not tracked yet, the extinfo server spawns a poller that periodically (every 5 seconds) requests state information from the Sauerbraten server using the extinfo package. The current state is then sent down to every viewer subscribing to that server via a hub managing publishers (game server pollers) and subscribers (websocket viewers consuming the state information).

Vue.js is used to display state information in the browser.