Urara
A fan guide to Umamusume Pretty Derby with character profiles, song previews, official news and birthdays.
Each character and singer has its own page that arrives as finished HTML, and the site is laid out like a Japanese race card.

- Built with
- React, TypeScript, TanStack Query, Tailwind, React DOM Server
- Features
- Character profiles, Music previews, News feed, Birthday countdown, Weekly featured field, Pre-rendered pages, Light and dark themes
Overview
Urara is a fan guide to Umamusume Pretty Derby. You can browse all 175 characters with their profiles, official colours, voice lines and outfit art, play song previews filtered by singer, read the official news, and see whose birthday is next.
Umamusume info was spread across wikis and playlists, so I put it in one place. It's a React and TanStack Query app on the community Umapyoi API, hosted on GitHub Pages. In the November rebuild I gave it a race-card design and a dark theme, and made the build render every page to static HTML so search engines can index them.
Under the interface
Problems and fixes
Three of the four main pages answered 404 to a crawler.
A Node script renders every route with React DOM's own server renderer and writes one HTML file each, which GitHub Pages serves with a 200.
A profile page doesn't know which profile to ask for until the character list has loaded.
The script renders, fetches whatever the page asked for, and renders again until nothing new is needed.
The staircase edge I wanted on the theme toggle stuttered on a 4K screen.
I shipped a straight edge and wrote up the problem for later.
My first pre-render shipped every page's data inside every page, and the build came to 1,349 MB.
Each page now carries only the data it used.
Character pages lived at ?id= addresses.
Each one now has a slug like /characters/king-halo, and old ?id= links redirect to it.
Some profiles have no English translation yet.
Those pages say so instead of showing blanks.


Outcomes
3 of 4 to 0
Main pages that answered 404. Before, only / returned 200. Now /characters, /music and /news, plus pages like /characters/king-halo and /music/haru-urara, return 200 with their own title.
curl against the live site before and after the deploy, 14 Nov 2026
4 to 354
URLs in the sitemap.
Counted in public/sitemap.xml before and dist/sitemap.xml after, 14 Nov 2026
448.9 kB to 370.2 kB
The JavaScript bundle, or 138.0 kB to 117.0 kB gzipped. Framer Motion was removed in the rebuild.
The old build at commit fbed7f2 against the current one, gzip -9, 14 Nov 2026
1,349 MB to 101.9 MB
Total HTML for the 354 pre-rendered pages, before and after keeping only each page's own data.
Reported by the pre-render script, 14 Nov 2026
About 35 KB
One character page gzipped (king-halo), data included.
gzip on the built file, 14 Nov 2026
36
Unit tests across dates, birthdays, the weekly shuffle, redirects, sanitising and the pre-render HTML step.
vitest, 14 Nov 2026
Takeaways
- Check what a crawler actually gets. The site looked fine in a browser while three of its four main pages answered 404.
- Measure the output, not just the code. The pre-render worked first time and was still 13 times too big.
- When an animation stutters, find out which part of it is expensive before adding tricks.

