A geography game inspired by Posio, written in 🔥🚀Rust. View the public instance at sveio.shuttleapp.rs!
Important
Sveio does not impose any rate limit itself. You have to do this yourself, with something like nginx.
Sveio is available as a docker image. If you use docker run
you can run the following to start it:
docker run -d -p 8085:8085 ghcr.io/erb3/sveio:latest
Alternatively, you can use the following docker compose:
services:
sveio:
container_name: sveio
image: ghcr.io/erb3/sveio:latest
ports:
- 8085:8085
restart: unless-stopped
Shuttle.rs is supported for the demo server.
To enable shuttle support use the shuttle
feature.
Deploy with Shuttle:
cargo shuttle deploy
The server uses the following environmental variables, and can also be passed as cli args.
SVEIO_PORT
: The port to serve on. Defaults to8085
.
For more information please run sveio -h
.
Sveio uses Socketioxide
Here are some resources to get you started with Socketioxide:
- I never thought I'd use Socket.Io again by Dreams of Code
- The examples