Show HN: Bareforge – A UI builder exporting stateful JavaScript/CLJS projects
Bareforge is a visual landing-page builder designed for BareDOM, enabling users to create static web pages with a drag-and-drop interface and export them as interactive, stateful projects in either ClojureScript or JavaScript. It leverages web components and a custom DOM reconciler without relying on a virtual DOM, maintaining alignment with BareDOM's philosophy. The tool supports features like real-time preview, undo/redo, theme editing, and pluggable export options for various development workflows.
- ▪Bareforge is built in ClojureScript using BareDOM's 90 stateless web components and includes an editor interface made entirely from those same components.
- ▪The canvas uses a hand-written DOM reconciler instead of a virtual DOM to stay consistent with BareDOM's design principles.
- ▪Users can export projects in four modes: CDN-based static HTML, bundled static HTML, interactive ClojureScript with re-frame, and interactive vanilla JavaScript with a reactive store.
- ▪Export targets are pluggable, allowing developers to add support for frameworks like React or Svelte through a simple plugin system.
- ▪Bareforge includes advanced editing features such as type-aware inspectors, free-form positioning, component-aware snapping, autosave to IndexedDB, and 100-step undo/redo history.
Opening excerpt (first ~120 words) tap to expand
Bareforge A visual landing-page builder for BareDOM. This project offers a drag and drop interface to build a web component based static page and using bindings, records and events can export to a fully interactive, functional extensible codebase in either ClojureScript or JavaScript. Bareforge is built in ClojureScript on top of BareDOM's 90 stateless web components. The editor chrome itself is made from BareDOM elements — palette, inspector, toolbars, layers, modals — dogfooding the library inside a real end-user application. The canvas uses a hand-written DOM reconciler (no virtual DOM) to stay philosophically aligned with BareDOM.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.