A render HTML plugin for MulmoChat.
This plugin renders HTML content in an isolated iframe. It supports various libraries including Tailwind CSS, D3.js, Three.js, p5.js, and Mermaid for diagrams.
yarn add @gui-chat-plugin/html// In src/tools/index.ts
import HtmlPlugin from "@gui-chat-plugin/html/vue";
const pluginList = [
// ... other plugins
HtmlPlugin,
];
// In src/main.ts
import "@gui-chat-plugin/html/style.css";import { pluginCore, TOOL_NAME, HTML_LIBRARIES } from "@gui-chat-plugin/html";| Export | Description |
|---|---|
@gui-chat-plugin/html |
Core (framework-agnostic) |
@gui-chat-plugin/html/vue |
Vue implementation |
@gui-chat-plugin/html/style.css |
Tailwind CSS styles |
tailwind- Tailwind CSS for utility-first stylingd3.js- D3.js for data-driven visualizationsthree.js- Three.js for 3D graphics and WebGLp5.js- p5.js for creative coding and generative artmermaid- Mermaid for diagrams and flowcharts
- "Create a bar chart using D3.js"
- "Make a 3D rotating cube with Three.js"
- "Draw a flowchart with Mermaid showing a login process"
- "Create an animated pattern using p5.js"
yarn install
yarn dev # Start dev server
yarn build # Build
yarn typecheck # Type check
yarn lint # LintMIT
- Protocol spec: gui-chat-protocol
- Reference implementations using this protocol: mulmoclaude · MulmoChat