gsmlg-dev / caddy-admin-ui

Caddy Admin UI written by next.js
32 stars 3 forks source link

Consider using Tabler for UI #1

Open mholt opened 1 year ago

mholt commented 1 year ago

Firstly, I think this project is cool, thanks for sharing it!

I recently found Tabler and it looks really nice. Seems to have a lot of good design elements for a project like this.

gsmlg commented 1 year ago

Thanks, I will look over it.

gedw99 commented 1 month ago

Tabler seems to be quite thorough and have everything needed for a high quality dashboard.

@mholt

Do you think that a templ based template would make sense to make it fast and easy to hook into the Caddy API ?

We can keep all Dashboards up to date in real time using datastar. It uses templ and is a htmx system with SSE to push updates to browsers when the underlying data changes.

https://github.com/delaneyj/datastar/blob/main/backends/go/site/routes_home.go has the code that does https://data-star.dev TODO example.

Datastar can also do editing and all users see the edits in real time. The TODO does this automatically. It's all abstracted out to make it easy to add New forms and bind it to Data that you want to be kept up to date in the GUI.

API access to Caddy using https://github.com/RussellLuo/olaf looks good