About
Overview
Niwa is a working scaffold for a Japanese plant database focused on conditions in and around Tokyo. The visual register is borrowed from McMaster-Carr — dense data, hairline rules, system fonts, restrained colour. Content is placeholder for now: ten plants you can use as the shape, with real data dropped in later.
Methodology
Plant data lives as per-locale YAML triples in an Astro content collection, validated by Zod at build time. Adding a plant means dropping three small files in
src/data/plants/<slug>/. At build, Pagefind generates a full-text index and a Workbox service worker pre-caches each plant page for offline use.Roadmap
- Real data, with horticultural review
- Additional regions (Kanagawa, Saitama, Chiba)
- Proper photography and habitat maps
- Decide a permanent name (currently placeholder "Niwa")