Erb3 / Sveio

A multiplayer geography game inspired by Posio
MIT License
1 stars 0 forks source link
geography geography-game hacktoberfest posio rust

Sveio

A geography game inspired by Posio, written in 🔥🚀Rust.

Deployment

[!IMPORTANT] Sveio does not impose any rate limit itself. You have to do this yourself, with something like nginx.

Docker

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

Configuration

Name Description Env Flag Default
Port The HTTP port to listen to SVEIO_PORT -p 8085
Logging Logging level SVEIO_LOGGING_LEVEL -l info
Guess time Amount of seconds allowed to guess SVEIO_GUESS_TIME --guess-time 7
Showcase time Amount of seconds to show markers SVEIO_SHOWCASE_TIME --showcase-time 3

For more information please run sveio -h.

Socket.io

Sveio uses Socketioxide

Here are some resources to get you started with Socketioxide:

Credits