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
- 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 at [backend/src/entity/run_report.rs]
- 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
TODO: ACTUALLY PUBLISH THE FUCKING MOD
- Sign in on the website
- Ensure that r2modman is installed.
- Make a new profile (or use an existing profile)
- Install "Weather Index" 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
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
Mod
- Run
dotnet buildinmod/to install the dependencies and build the mod - TODO
[^1]: The official library is so buggy, this project instead uses a fork
