MouseHunt Guides, Tools, and Resources - mouse.rip
This is the repository powering mouse.rip.
First, clone the project locally:
git clone https://github.com/MHCommunity/mouse.rip.git mouse-ripNext, change to the project directory:
cd mouse-ripInstall the dependencies with Bun:
bun installFinally, run the development server:
bun run devThe site runs at http://localhost:3000 and reloads when you make changes.
When you're finished, run lint, formatting, and TypeScript checks:
bun run checkUse bun run format to apply formatting and bun run build to verify production page generation.
Mouse, item, group, location, and tool pages link to a social card that /og/card draws on request. The site signs those links and the route only draws signed ones, so a production build needs OG_CARD_SECRET set to a long random string, both when the pages are built and in the deployed Worker. An .env.local covers both when you deploy from your own machine. Without it everything still works: those pages use the site-wide card, and bun run dev signs with a stand-in key.
Then open a pull request.
The site's data comes from the src/data directory.
Run bun run update:data to refresh the generated game data. The updater validates the responses before replacing the existing snapshots. Item contents, drop rates, and mouse attraction and map data are included in the generated pages; marketplace prices are fetched live in the browser.
Images are served from i.mouse.rip. bun run update:images adds any the data uses that aren't there yet, and needs access to it. bun run update refreshes the data first, then updates the images.
To suggest a change, open an issue or a pull request. For questions, or if you'd rather not use GitHub, ask in the #community-tools channel on the MouseHunt Community Discord server.
This project is licensed under the MIT License.