Hypermedia power tools for Gophers
This service will launch with an integrated set of tools for building hypermedia-driven applications (HDAs). It has been designed to make drafting, iterating, and refactoring hypermedia safe, fast, and effective.
Development Updates
-
DOM
DOM is a pure Go implementation of a subset of the DOM specification. Its main use is asserting on the HTML your handlers return, without a browser. I have found it works well with LLMs because it follows a well-known specification.
It was developed as github.com/crhntr/dom and has been used in personal and professional projects for years.
-
Muxt
Muxt is a command-line tool that generates
net/httphandlers fromhtml/templatenames and type-checks templates against the Go data they render.
Example Projects
So far, all example apps use Muxt and HTMX. The first two also use Postgres.
- No -tools Example This can be used as a template for new projects. It does not add muxt as a module dependency.
- Sortable Example This is a more sophisticated example that includes migrations, database transactions, and more interactivity.
- HTMX Template This is a simple app template repository.
I intend release an integrated product adding value on top of muxt and dom (and a few other secret projects) in early . For more updates, connect with me on LinkedIn. or follow on GitHub.