4 ms·
Show HN: Auto generated form UI with HTMX and Starlark
https://github.com/claceio/clace https://github.com/claceio/clace is a project I have been building as a way for teams to easily deploy internal tools. As part of that, I added the ability to create simple auto generated UI for backend actions. The goal is to make it easy to develop and deploy automation scripts, instead of using Rundeck or Jenkins to run scripts.
Clace is implemented in Go. Starlark (python dialect) is used to configure backed actions. You define the params and what action should run (like run a shell script, run a HTTP API or a database call). Clace will show an auto-generated UI. The UI uses HTMX for interactivity, using OOB swap. The results are shown as text, table, JSON tree or even custom HTML reports.
https://utils.demo.clace.io/dict https://utils.demo.clace.io/dict is demo dictionary app (app source is at https://github.com/claceio/apps/blob/main/misc/dictionary/app.star https://github.com/claceio/apps/blob/main/misc/dictionary/ap...).
- deleted 2y ago[deleted]
- ajayvk 2y agoClace allows you to build simple reports and automations without writing any UI code. Error handling is supported for invalid inputs, all updates are done without any full page refresh. https://utils.demo.clace.io/list_files https://utils.demo.clace.io/list_files is another demo, source is at https://github.com/claceio/apps/tree/main/system/list_files https://github.com/claceio/apps/tree/main/system/list_files. The docs are at https://clace.io/docs/actions/ https://clace.io/docs/actions/