capsule AI-native Unix-like composition layer

yingjieli-public-site v1.0.0

subsystem yingjieli.site

capsule://quake0day/yingjieli-public-site@1.0.0

The public, read-only frontend of yingjieliartist.com. Renders the
hero, biography, masonry gallery of works, exhibitions, and contact
sections, plus a keyboard / touch-friendly lightbox. Pulls all
content at runtime from /api/data and all images from /api/img/<key>
(with /images/* as the legacy static fallback).

Owns

Does not own

AI orientation

This is the public site. It is read-only at runtime — there is no
"save" flow here. All content is fetched from /api/data on load; the
page is built from that JSON, not from data embedded in HTML. If
you add a new section, you also need a new field in the content-store
capsule's DEFAULT_DATA and a new card in the admin UI.

Avoid

Extension points

render-gallery at site/assets/app.js
Builds the masonry gallery from works[]. Respects works[].gallery
flag for which items appear in the home grid vs detail-only.

Provides

Requires

Dependencies

Capsules

Runtime

Invariants (must always hold)

Glossary

masonry
variable-height grid layout that preserves each work's aspect ratio
lightbox
full-screen image viewer with keyboard / swipe nav
hero
the large featured-work block at the top of the home page

Source

https://github.com/quake0day/yingjieli/blob/main/capsules/public-site/capsule.yaml

Pull this capsule locally:

capsule pull capsule://quake0day/yingjieli-public-site@1.0.0

Or render to your terminal:

capsule man capsule://quake0day/yingjieli-public-site@1.0.0