Skip to content

Repository files navigation

About

This tool converts from plain HTML to Gomponents (https://github.com/maragudk/gomponents), a great Go library for generating static HTML in a more type-safe way than the default html/templates. It's usable as both a server (with an HTML or an API, if you so choose) and as a CLI.

A hosted version can be found at https://gomponents.morehart.dev.

Install locally

go install github.com/traherom/gomponentsconverter/cmd/gomponentsconverter@latest

Server

gomponentsconverter serve --port=3333

CLI usage

echo '<div>ioj</div>' | gomponentsconverter convert

About

Tool for converting from HTML to Gomponents (https://github.com/maragudk/gomponents)

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages