kittyhtml

· ai experiments

render an html dom inline in the terminal

kittyhtml gives you the ability to have an llm produce an HTML report for you that you can then render inline in your image-compatible terminal as an image of a rendered HTML dom.

Basically, you can pass html directly to the package and it will spit out a rendered HTML page inline.

echo '<h1>hi</h1>' | kittyhtml --width 400

Under the hood it uses Blitz for DOM rendering.

npm page here