Launching today

Rtifact
An open-source tool for building HTML artifacts for AI agent
3 followers
An open-source tool for building HTML artifacts for AI agent
3 followers
Why let your AI agent write HTML that consumes 2-5x tokens when it can write JSX? Let your agent write JSX with React, Ant Design, Tailwind CSS, React Icons, and PrismJS. Rtifact handles the build and produces a finished artifact with gzip-compressed assets as onehtml file starting at about 15.6 KB. Rtifact turns ajsx file into a portablehtml artifact that you can share with your colleagues!





Hi Product Hunt, I built Rtifact after asking coding agents for reports and small
tools that needed more than Markdown but didn't justify a permanent app.
Raw HTML gave me one file, but the UI was inconsistent and the source quickly
became a mess of markup, CSS, and JavaScript. Coding agents were already better at React than at improvising that whole stack,
so I let them use it.
With Rtifact, you prompt your agent with the skill:
It will know how to use rtifact CLI to produce .html output. The CLI is simple, you just use:
You get one HTML artifact with the kind of UX React is good at: navigation, tabs,
filters, expandable sections, checklists, and responsive styling.
And no, the file is not enormous. Rtifact gzip-compresses the app. A basic
CDN-backed artifact starts around 15 KB. Current self-contained examples range
from roughly 190 KB to 686 KB, depending on what they import.