The walled garden
React + Vite + TypeScript SPA, published at jsx.mrly.net. Designs get found here before Rust replicates them. Nothing is load bearing.
- No imports across the wall: jsx never loads mrlyjs, the kernel never
inherits jsx code.
- The repo's gate rule is suspended here, only here. Logic in TS is fine.
- tsc is the only gate. If it typechecks and builds, it ships.
- Only three deps: react, react-dom, three. Prefer writing from scratch.
- Named exports only. No default exports.
- Import mrly/ through
mrly/index.tsonly. Exception:lib/render/
may deep-import mrly internals.
- Check lib/ before re-implementing anything (screenshots, clipboard,
colors, storage, audio, fractal generation).
- New apps: add component to
apps/, entry tosrc/apps.json. Read an
existing app for patterns.