itch.io download backend forRentEarth
The Rust Axum backend for the RentEarth game — resolves signed itch.io desktop downloads through the shared jedi itch client and serves the Vite + TanStack single-page web frontend at the root path.
Downloads plus bundled web
axum-rentearth resolves signed itch.io desktop downloads through the shared jedi itch client and serves the RentEarth Vite + TanStack SPA at the root path. It mirrors axum-chuckrpg, sharing the same route shape and itch client.
- Downloads — signed per-platform itch.io redirects.
- Web — Vite + TanStack SPA with SPA fallback.
What it gives you
Features
Signed itch.io downloads
/downloads/{platform} redirects to the signed itch URL for the requested platform via the shared jedi itch client.
Downloads page
/downloads renders an askama page listing the available builds.
Live build state API
/api/downloads exposes the current per-platform build state that the web frontend consumes.
Bundled web
Serves the RentEarth Vite + TanStack SPA at the root, with an SPA fallback so client-routed paths resolve after explicit API and download routes.
Health checks
/health and /api/health back the liveness probes.
Get started
Usage
GET /downloads/{platform} -> 302 redirect to signed itch.io URL
GET /downloads -> HTML downloads page (askama)
GET /api/downloads -> JSON per-platform build state
GET /health -> livenessQuestions
Frequently asked
What does axum-rentearth do?
It resolves RentEarth desktop downloads from itch.io through the shared jedi itch client and serves the RentEarth Vite + TanStack web frontend at the root path.
How does a platform download work?
A request to /downloads/{platform} redirects to the signed itch.io URL for that platform, while /api/downloads exposes the live per-platform build state the web consumes.
How does it relate to axum-chuckrpg?
It mirrors axum-chuckrpg's route shape and shares the jedi itch client, but serves the RentEarth game instead of ChuckRPG.
