quick little admin panel
This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
leah d80ee751fe set cookie on login 2022-01-29 15:21:16 +00:00
database just a bit of db code 2022-01-29 13:31:44 +00:00
resources bit of basic oauth code 2022-01-27 23:16:13 +00:00
templates iron out some bugs 2022-01-29 15:15:00 +00:00
tests add a tests dir 2022-01-26 17:00:42 +00:00
.gitignore exclude logfile 2022-01-27 23:20:16 +00:00
LICENSE Initial commit 2022-01-26 14:45:25 +00:00
README.md add build instructions to the readme 2022-01-28 00:34:51 +00:00
config.example.yml whitespace tweak 2022-01-26 20:38:54 +00:00
go.mod set cookie on login 2022-01-29 15:21:16 +00:00
go.sum set cookie on login 2022-01-29 15:21:16 +00:00
main.go set cookie on login 2022-01-29 15:21:16 +00:00
tailwind.config.js template bits 2022-01-27 20:21:09 +00:00

README.md

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.