gitbonsai.dev site

Merged
ST
5h ago
+1309-17

The gitbonsai.dev site (site/), with its Pages workflow, and "just planted" instead of "grown over 0 weeks".


Summary by cubic

Adds the gitbonsai.dev site — a landing page with timelapse examples, a live tree preview, and how-to instructions — deployed to GitHub Pages. Also rewords the seedling description so fresh accounts read "just planted" instead of "grown over 0 weeks".

New Features

  • Builds site/ into a static site with hero trees, per-theme timelapse videos of six example trees, and a player with play, scrub, and keyboard controls.
  • Lets visitors grow a preview tree interactively via api.gitbonsai.dev, with rate-limit and error messaging.
  • Self-hosts its fonts under OFL licenses, so no visitor's address goes to a font host.
  • Adds a Pages workflow that deploys on pushes to main or by hand, plus site/build.sh and mkvideo.py to render trees, compose videos, and emit the frame manifest.

Bug Fixes

  • Fixes the age wording so histories under two years stay in months instead of rounding to "1 year" after 104 weeks.
  • Splits API collection windows when GitHub's gateway times them out (HTTP 502/504), not only when it reports resource limits.