Why
In the game you need an item's effect in two seconds. The Fandom wiki is heavy and full of ads. I wanted one page with every icon and the numbers on hover.
What it does
- Every item icon in one grid, folded by rarity.
- Hover an icon: name, quote and effect, with the base and per-stack numbers in colour. The tooltip has a fixed size and always stays inside the screen.
- Instant search by name.
- A switch for each of the three expansions, to show or hide its items, and a badge on the items it adds.
- On a phone, tap an item to open its tooltip.
- A protected admin page to edit items and upload icons.
How it is built
On purpose, without a framework or a build step: static HTML and vanilla JavaScript, a small PHP API that returns JSON, and MariaDB. It runs on my Synology NAS, behind a Cloudflare Tunnel.
Item data comes from the Risk of Rain 2 wiki. Items are added and corrected through the admin page.
The demo is recorded by two Playwright scripts that drive the live site, one for the computer and one for the phone, so it can be filmed again after a change.
Over the years
- 2023: first version, a static page and a PHP API.
- 2025: one request instead of one per tab, search, redesign.
- 2026: the admin page, the Alloyed Collective expansion, then the phone layout.
