Coder Social home page Coder Social logo

erb3 / sveio Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 270 KB

A multiplayer geography game inspired by Posio

Home Page: https://sveio.shuttleapp.rs

License: MIT License

HTML 20.60% JavaScript 15.58% CSS 9.64% Rust 50.07% Dockerfile 4.11%
geography geography-game posio rust

sveio's Introduction

Sveio

A geography game inspired by Posio, written in πŸ”₯πŸš€Rust. View the public instance at sveio.shuttleapp.rs!

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

Shuttle

Shuttle.rs is supported for the demo server. To enable shuttle support use the shuttle feature.

Deploy with Shuttle:

cargo shuttle deploy

Configuration

The server uses the following environmental variables, and can also be passed as cli args.

  • SVEIO_PORT: The port to serve on. Defaults to 8085.

For more information please run sveio -h.

Socket.io

Sveio uses Socketioxide

Here are some resources to get you started with Socketioxide:

Credits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.