bigskysoftware/htmx ? reverse-engineered prompt

Reverse engineered prompt

Build me a small JavaScript library for making HTML feel much more interactive without forcing people to write a lot of front end code. I want to be able to put simple attributes on normal buttons, links, and forms so they can make requests, update just part of the page, and work well with AJAX, CSS transitions, WebSockets, and server sent events. Keep it lightweight, dependency free, and easy to extend.

Please also include a simple docs site with examples that show how it works in real pages, plus a solid test setup so I can verify the core behavior and common attributes. Make it easy to run locally, easy to modify, and clear enough that someone can understand the idea quickly just by looking at the examples. If you need current browser or build details, look up the latest docs online before finishing it.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab