REST API and web interface for managing Paper updates.
Note
This project is intended for internal use and does not guarantee stability, compatibility, support, or follow semantic versioning.
Powered by Spring Boot, backend for the web interface and paperweight. Routes are under /api.
paperweight has tasks to interface with the REST API during the update process.
SvelteKit frontend using tailwindcss for styling. Hosted as static files by the Spring Boot server.
Note that Bun can be substituted with the package manager of your choice.
- Install Bun and execute
bun installin/webto install the required dependencies for the frontend. - Install a JVM 21 or newer for the Gradle runtime (prefer a JDK to avoid extra downloads for a compiler).
- The frontend can be tested with
bun run devLocalServerorbun run devProdServerin/web.devLocalServerwill use localhost as the API,devProdServerwill use the production API at https://patch-roulette.papermc.io/api. - The backend can be tested with
./gradlew bootRunin the project root.
- The frontend uses ESLint and Prettier for code style. Run
bun run formatto reformat andbun run lintto check style. - The backend simply has a
.editorconfigfile for code style.
- Published to the GitHub Container Registry on each commit through the
publishactions workflow.