homenshum.github.io · GitHub profile
Source for homenshum.github.io and for the banner at the top of every project README in the portfolio. One copy file drives both, so a project's tagline and workflow read the same on GitHub, on the site and in a link preview.
| Output | Where it ends up | Built by |
|---|---|---|
| Wide banner, light and dark (1280×400 SVG) | top of each project README | tools/brand/build.mjs |
| Phone banner, light and dark (720-wide SVG) | same <picture>, under 600px |
tools/brand/build.mjs |
| Profile cards (640×240 SVG) | the HomenShum profile README | tools/brand/build.mjs |
| Link-preview image (1280×640 PNG) | each repository's social preview and the site's og:image |
tools/brand/preview.mjs |
| Static site, one page per project | docs/, served by GitHub Pages |
tools/site/build.mjs |
- Edit its entry in
tools/brand/repos.json:eyebrow,tagline(≤75 characters) and 3–5steps. - Rebuild:
npm run brand && npm run site. - Check:
npm run check(README injector scenarios and the motion contract on every banner). - Refresh that repository's README block:
node tools/brand/readme.mjs <checkout> <Repo>. It only rewrites the block between thebrand:startandbrand:endmarkers.
The homepage's selected-work previews are actual public entry-screen captures in
tools/site/previews/; captures.json records their URLs, date and visible state.
When refreshing them, capture at 1200×800, inspect for private data, update the
visible capture date in tools/site/build.mjs, and rebuild the site. The static
images reserve their layout and load lazily; they do not certify a product's full
workflow. Existing project pages and the complete catalog remain available.
- Tokens, not taste. Colours, radii and type come from NodeRoom's
src/ui/tokens.css: terracotta accent#D97757, Inter, JetBrains Mono. - Text is outlined. Each glyph is defined once per SVG and placed with
<use>, so every reader sees the same type at about 30 KB per banner. - Every frame is complete. Nothing animates in. A renderer that freezes the image, such as an offscreen tab, a rasteriser or a crawler, still shows the whole banner.
- One motion recipe (rung 3, "trace"). A single accent signal runs the steps once, in order, and settles on the outcome. It is finite, and with
prefers-reduced-motionit does not run.tools/brand/motion-check.mjsproves both against a real browser. - The site ships no client JavaScript. Each page has its own title, description, canonical URL, Open Graph image and JSON-LD.