Cauldron is a powerful, bidirectional card template editor designed for building game cards using HTML and CSS. It allows designers to flip seamlessly between a visual GUI editor and direct code editing without losing data or styling integrity.
- Node.js: Version 18 or later is recommended.
- npm: Comes with Node.js.
-
Install dependencies:
npm install
-
Run the development server:
npm run start
This will start a Vite development server (typically at
http://localhost:5173). -
Build for production:
npm run build
The production build will be available in the
distdirectory.
- Bidirectional Editing: Switch between a drag-and-drop GUI and an HTML/CSS code editor.
- CSS-as-Source-of-Truth: All styling is managed via a centralized CSS engine, supporting advanced features like
:hover,@keyframes, and media queries. - Lossless Round-Trip: Manual code edits are accurately parsed back into the visual block tree.
- Handlebars Support: Seamless integration for dynamic card data.
- Design Architecture (DESIGN.md) - Deep dive into how the bidirectional editing and CSS engine work.