Skip to content

Eijebong/Archipelago-lobby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archipelago lobby

This project provides a lobby to collect yaml files from players to be able to host archipelagoes easily.

Running this project

export DATABASE_URL="sqlite:///path/to/your/db.sqlite"
export ADMIN_TOKEN="theadmintoken"
cargo run

If you want to run this in a production environment, make sure to set the following too:

ROCKET_ENV=production
ROCKET_SECRET_KEY="yoursecretkeyhere" # openssl rand -base64 32

Discord oauth

To configure the discord oauth, create a Rocket.toml file in the same directory as the binary and include the following content:

[default.oauth.discord]
provider = "Discord"
client_id="<your_client_id>"
client_secret="<your_client_secret>"
redirect_uri="http://127.0.0.1:8000/auth/oauth" # Switch this to your redirect URI
admins = [<discord_id_of_admin>, ...]

YAML checking

When uploading a YAML to a lobby, you can opt-in to validate YAMLs. It will use this service, https://github.com/Eijebong/Archipelago-yaml-checker, just point YAML_VALIDATOR_URL to it.

export YAML_VALIDATOR_URL="http://127.0.0.1:5000/check_yaml"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published