diff --git a/backend/.env b/backend/.env index aea0b59..27fe2bd 100644 --- a/backend/.env +++ b/backend/.env @@ -1,4 +1,6 @@ -ENABLE_TLS=false +ENABLE_TLS=true +CERT_FILE=/home/tola/certs/dashboard.home.com/dashboard.home.com.crt +KEY_FILE=/home/tola/certs/dashboard.home.com/dashboard.home.com.key ROOT_DIRECTORY=../frontend INDEX_FILE=index.html SERVER_ADDRESS=0.0.0.0 diff --git a/backend/.start b/backend/.start new file mode 100755 index 0000000..87107c8 --- /dev/null +++ b/backend/.start @@ -0,0 +1 @@ +./dshbrd & diff --git a/backend/dshbrd b/backend/dshbrd new file mode 100755 index 0000000..c0a8b6a Binary files /dev/null and b/backend/dshbrd differ diff --git a/backend/go.mod b/backend/go.mod index 8bd40a6..cdc75a7 100644 --- a/backend/go.mod +++ b/backend/go.mod @@ -4,4 +4,4 @@ go 1.24.5 require github.com/joho/godotenv v1.5.1 -require github.com/google/uuid v1.6.0 // indirect +require github.com/google/uuid v1.6.0 diff --git a/backend/home-dashboard.service b/backend/home-dashboard.service new file mode 100644 index 0000000..fa23f42 --- /dev/null +++ b/backend/home-dashboard.service @@ -0,0 +1,15 @@ +[Unit] +Description=Dashboard with services +After=NetworkManager.service + +[Service] +ExecStart=/home/tola/dashboard/backend/dshbrd +ExecReload=/bin/kill -s HUP $MAINPID +WorkingDirectory=/home/tola/dashboard/backend +TimeoutSec=0 +RestartSec=10 +Restart=always +User=tola + +[Install] +WantedBy=multi-user.target diff --git a/backend/services.json b/backend/services.json index a00f13e..33a083d 100644 --- a/backend/services.json +++ b/backend/services.json @@ -1 +1 @@ -[{"alt":"telegram-icon","href":"https://web.telegram.org/k/","img":"img/telegram-icon.jpeg","key":"0","text":"Telegram"},{"alt":"github-icon","href":"https://github.com","img":"img/github-icon.png","key":"1","text":"github.com"},{"alt":"gitea-icon","href":"https://gitea.home.com:3000","img":"img/gitea-icon.png","key":"2","text":"gitea.home.com"},{"alt":"jellyfin-icon","href":"http://jellyfin.home.com:8096","img":"img/jellyfin.png","key":"3","text":"jellyfin.home.com"},{"alt":"immich-icon","href":"http://immich.home.com:2283","img":"img/immich-icon.png","key":"4","text":"immich.home.com"},{"alt":"navidrome-icon","href":"http://navidrome.home.com:4533","img":"img/navidrome-icon.png","key":"4","text":"navidrome.home.com"},{"alt":"portainer-icon","href":"https://portainer.home.com:9443","img":"img/portainer-icon.webp","key":"5","text":"portainer.home.com"},{"alt":"dnsmasq-icon","href":"https://dns.home.com","img":"img/dnsmasq-icon.jpeg","key":"6","text":"dns.home.com"},{"alt":"router-icon","href":"http://router.home.com","img":"img/router-icon.svg","key":"7","text":"router.home.com"}] \ No newline at end of file +[{"alt":"telegram-icon","href":"https://web.telegram.org/k/","img":"img/telegram-icon.jpeg","key":"0","text":"Telegram"},{"alt":"github-icon","href":"https://github.com","img":"img/github-icon.png","key":"1","text":"github.com"},{"alt":"gitea-icon","href":"https://gitea.home.com:3000","img":"img/gitea-icon.png","key":"2","text":"gitea.home.com"},{"alt":"jellyfin-icon","href":"http://jellyfin.home.com:8096","img":"img/jellyfin.png","key":"3","text":"jellyfin.home.com"},{"alt":"immich-icon","href":"http://immich.home.com:2283","img":"img/immich-icon.png","key":"4","text":"immich.home.com"},{"alt":"navidrome-icon","href":"http://navidrome.home.com:4533","img":"img/navidrome-icon.png","key":"4","text":"navidrome.home.com"},{"alt":"portainer-icon","href":"https://portainer.home.com:9443","img":"img/portainer-icon.webp","key":"5","text":"portainer.home.com"},{"alt":"dnsmasq-icon","href":"https://dns.home.com","img":"img/dnsmasq-icon.jpeg","key":"6","text":"dns.home.com"},{"alt":"router-icon","href":"http://router.home.com","img":"img/router-icon.svg","key":"7","text":"router.home.com"},{"alt":"bookloreicon","href":"http://booklore.home.com:6060","img":"img/booklore-icon.svg","key":"c2f5d0a5-e9fb-4079-847f-e20a39eb4763","text":"booklore"},{"alt":"expenseowl.home.comicon","href":"http://expenseowl.home.com:5006","img":"img/expenseowl_245847.webp","key":"db046b61-e999-45db-a95d-f4c881fbb32b","text":"expenseowl.home.com"},{"alt":"nextcloud.home.comicon","href":"http://nextcloud.home.com:8080","img":"img/images.png","key":"436bbaf8-8088-4bb1-94ce-f98fecbcaa72","text":"nextcloud.home.com"},{"alt":"deepseekicon","href":"https://chat.deepseek.com","img":"img/deepseek-color.png","key":"954a126f-0ea1-4ad8-95a2-7e83024dcfb0","text":"deepseek"},{"alt":"ai.home.comicon","href":"https://ai.home.com:5556","img":"img/open-webui.png","key":"6e8cd9e9-a4b9-4fce-943e-7743f272f0c7","text":"ai.home.com"}] \ No newline at end of file diff --git a/frontend/img/booklore-icon.svg b/frontend/img/booklore-icon.svg new file mode 100644 index 0000000..e76fc59 --- /dev/null +++ b/frontend/img/booklore-icon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/frontend/img/deepseek-color.png b/frontend/img/deepseek-color.png new file mode 100644 index 0000000..9854582 Binary files /dev/null and b/frontend/img/deepseek-color.png differ diff --git a/frontend/img/expenseowl_245847.webp b/frontend/img/expenseowl_245847.webp new file mode 100644 index 0000000..936cdf9 Binary files /dev/null and b/frontend/img/expenseowl_245847.webp differ diff --git a/frontend/img/images.png b/frontend/img/images.png new file mode 100644 index 0000000..f2118d4 Binary files /dev/null and b/frontend/img/images.png differ diff --git a/frontend/img/open-webui.png b/frontend/img/open-webui.png new file mode 100644 index 0000000..504fce4 Binary files /dev/null and b/frontend/img/open-webui.png differ