610 B
610 B
admin
quick little admin panel.
todo
- respectable web ui
- signup form
- lots of db code
- gitea authentication
- pam auth (maube?)
- automatic user creaton/deletion
- resource usage dashboard
how 2 build
you need to build the stylesheet with tailwind first:
npm i -g tailwindcss
npx tailwindcss -i ./resources/main.css -o ./resources/build/main.css --watch
then just build it
go get
go build
how 2 run
copy the config.example.yml file to config.yml and edit the values accordingly, then just run the binary and crack it open in your web browser.