
You are viewing a potentially older version of this package. View Latest Version
WeatherIndex
Unified platform for Risk of Rain 2 runsWeather Index
Unified platform for Risk of Rain 2 runs
Features
- Rust backend
- axum routing
- better-auth-rs[^1] for auth
- OAuth providers: Discord, Google, GitHub, Hack Club Auth, and Slack (Hack Club workspace)
- sea-orm for database handling
- SvelteKit frontend
- Geist design systems
- TailwindCSS for styling
- Lucide icons for non-brand icons
- Simple Icons for brand-icons
- Scalar for API documentation
- Risk of Rain 2 mod
- Tracks all sorts of data, from kills, to distance traveled, to stage order, to which items where picked up and when
- Full table can be found here
- Data dumper to extract item data, enemy/survivor data, and more
- Tracks all sorts of data, from kills, to distance traveled, to stage order, to which items where picked up and when
- CORS support
Installation
Full interactive guide is available on the website here
- Sign in on the website
- Ensure that r2modman is installed.
- Make a new profile (or use an existing profile)
- Install "WeatherIndex" from the
Onlinetab Start Modded- In the game's
Mod Settings, findWeatherIndexand clickLink Account. This will open your web browser for authentication.
Project Structure
Weather-Index/
├── backend # This is where the BACKEND goes
├── data # This is where static DATA goes
├── frontend # This is where the FRONTEND goes
└── mod # This is where the MOD goes
Development Setup
For all of the components, you will need a clone of https://github.com/Shuflduf/Weather-Index.git
Backend
- Make
backend/.envfrombackend/.env.exampleand fill in all the fields - Run
cargo buildinbackend/to install the dependencies - Run
cargo runinbackend/to start the backend on http://localhost:3000
Frontend
- Make
frontend/.envfromfrontend/.env.exampleand fill in all the fields - Run
deno installinfrontend/to install the dependencies - Run
deno run devinfrontend/to start the frontend on http://localhost:5173
Mod
- Run
dotnet build -c Releaseinmod/to install the dependencies, build the mod, and package it. - In your r2modman profile, click
Settingsand clickImport Local Mod - Select the generated zip under
mod/bin/Release/netstandard2.1/WeatherIndex_[VERSION].zip Start Modded- Change the
Debug > Backend URLoption tohttp://localhost:3000if interacting with the backend (which you probably are)
[^1]: The official library is so buggy, this project instead uses a fork