静态 TanStack 启动目录,用于基于自然的设计系统和生成的主题资产。
Morphous is a static TanStack Start catalog for nature-inspired design systems. Each system starts from an animal, plant, mineral, weather, or landscape motif and ships a transparent motif asset, light and dark design-system boards, recorded prompts, and shadcn/tweakcn-compatible theme exports.
The published site is configured for:
morphos.ameyanagi.com.output/publicbun install
bun run dev
bun run check
bun run test
bun run ci
bun run build
bun run generate:previews
bun run pages:preparebun run check runs lint and typecheck. bun run ci runs lint, typecheck, tests, and the production build. bun run generate:previews creates lightweight WebP preview derivatives for gallery rendering. bun run pages:prepare validates the static build output and adds the GitHub Pages files needed for deployment.
Start the local dev server:
bun run devThe app uses the generated catalog data in src/data/systems.json and static bundle assets under public/systems.
Each system bundle lives at:
public/systems/{slug}/Core bundle files:
prompts.json
system.json
theme.css
theme.jsonMost current systems also include motif.png, design-system-light.png, and design-system-dark.png. Older bundles may use equivalent asset names recorded in system.json, such as animal.png or design-system.png. Some systems also keep source or generated-image records in nested folders. The catalog UI reads the public bundle files and exposes prompts and theme exports from the individual system directory.
The project-specific Codex skill lives at:
.codex/skills/morphous-catalog/SKILL.mdUse it when creating or refreshing motif assets, design-system boards, prompt records, and theme exports. Image generation is intentionally handled by the Codex image tool, then copied into each system bundle.
After generated assets or system metadata changes, refresh and validate the catalog:
bun run generate:catalog
bun run generate:previews
bun run validate:catalogHusky installs a local pre-commit hook through bun install via the prepare script. The hook runs:
bun run precommitThat runs bun run generate:previews first, then bun run check, so commits are gated by generated previews, lint, and typecheck without running the full production build locally. Current previews are skipped by timestamp; if generation updates preview files, stage those generated files and retry the commit.
GitHub Pages is deployed by .github/workflows/pages.yml. The workflow runs on pushes to main and can also be started manually from GitHub Actions.
Deployment flow:
bun run ci..output/public as the Pages artifact.actions/deploy-pages.The custom domain is committed in public/CNAME, and .nojekyll is included so GitHub Pages serves generated assets exactly as built.
Pull requests to main run .github/workflows/ci.yml, which executes the same CI script without deploying.
Before pushing a catalog update:
bun run validate:catalog
bun run generate:previews
bun run ci
bun run pages:preparepages:prepare creates a static 404.html fallback from index.html so deep links work when served by GitHub Pages.
Licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
暂无开放 Issues,或尚未同步最近议题。