Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Auto generated form UI with HTMX and Starlark (clace.io)
2 points by ajayvk on Nov 10, 2024 | hide | past | favorite | 1 comment
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 is demo dictionary app (app source is at https://github.com/claceio/apps/blob/main/misc/dictionary/ap...).



Clace 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 is another demo, source is at https://github.com/claceio/apps/tree/main/system/list_files. The docs are at https://clace.io/docs/actions/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: