CDN-first UI component workbench for rapid prototyping with @knighted/jsx and @knighted/css.
@knighted/develop is a browser-native component editor/workbench for fast
UI iteration without a local bundler-first inner loop.
The app is designed to showcase two libraries:
@knighted/jsxfor DOM-first and React-mode JSX authoring@knighted/cssfor in-browser CSS compilation workflows
Dependencies are delivered over CDN ESM with on-demand loading by mode, so the browser acts as the runtime host for editing, render, lint, and typecheck flows.
@knighted/develop lets you:
- write component code in dynamic editor tabs in the browser
- add, rename, and remove tabs with entry-role protection for required tabs
- keep per-tab dirty/synced state while iterating across files
- switch render mode between DOM and React
- switch style mode between native CSS, CSS Modules, Less, and Sass
- run in-browser lint and type diagnostics
- open diagnostics in a shared drawer and jump to source locations
- use iframe-isolated preview style encapsulation while iterating
- connect a GitHub repository and run Open PR / Push Commit workflows
- use AI chat with tab-aware proposals and apply/undo controls
- switch theme and collapse the preview panel while preserving fast feedback loops
The app started as a focused compile-and-preview loop and has grown into a more complete browser-native editor surface. The goal is still fast experimentation, now with practical multi-file editing and repository workflows in the same UI.
- Live workbench: https://knightedcodemonkey.github.io/develop/
- Source repository: https://github.com/knightedcodemonkey/develop
- GitHub PAT setup and usage: docs/byot.md
For PR/BYOT and AI chat flows, use a fine-grained GitHub PAT and follow the existing setup guide:
- Full setup and behavior: docs/byot.md
- Repository permissions screenshot: docs/media/byot-repo-perms.png
- Models permission screenshot: docs/media/byot-model-perms.png
MIT
