From 225b120ea0ab119c144fdecda506be1768f8e625 Mon Sep 17 00:00:00 2001 From: Neshura Date: Tue, 2 Jan 2024 02:09:50 +0100 Subject: [PATCH] Split pages.json to severs.json and services.json, move to /static/data/ --- src/lib/components/pages.json | 155 ---------------------------------- static/data/servers.json | 31 +++++++ static/data/services.json | 139 ++++++++++++++++++++++++++++++ 3 files changed, 170 insertions(+), 155 deletions(-) delete mode 100644 src/lib/components/pages.json create mode 100644 static/data/servers.json create mode 100644 static/data/services.json diff --git a/src/lib/components/pages.json b/src/lib/components/pages.json deleted file mode 100644 index 1f31314..0000000 --- a/src/lib/components/pages.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "services": [ - { - "name": "Nextcloud", - "icon": "/assets/icons/nextcloud-logo.svg", - "href": "https://nextcloud.neshweb.net/", - "desc": "Self-hosted Cloud Storage Service", - "warn": "Note: Registration requires approval", - "extLink": "https://nextcloud.com/", - "id": 7 - }, - { - "name": "Kavita", - "icon": "/assets/icons/kavita-logo.svg", - "href": "https://kavita.neshweb.net", - "desc": "Self-hosted Manga Library", - "warn": "Registration via Admin invite", - "id": 5 - }, - { - "name": "Images", - "icon": "/assets/icons/images-logo.svg", - "href": "https://imgs.neshweb.net/", - "desc": "Self-hosted Chevereto Image Service", - "warn": "", - "extLink": "https://chevereto.com/", - "id": 4 - }, - { - "name": "Calibre Web", - "icon": "/assets/icons/calibre-logo.avif", - "href": "https://calibre.neshweb.net/", - "desc": "Self-hosted Ebook Library Service", - "warn": "Note: Registration only via Admin", - "id": 6 - }, - { - "name": "PeerTube", - "icon": "/assets/icons/peertube-logo.svg", - "href": "https://tube.neshweb.net/", - "desc": "Self-hosted PeerTube Instance", - "warn": "Note: Registration only via Admin", - "id": 8 - }, - { - "name": "Mastodon", - "icon": "/assets/icons/mastodon-logo.svg", - "href": "https://mastodon.neshweb.net/", - "desc": "Self-hosted Mastodon Instance", - "warn": "Note: Registration requires approval", - "id": 3 - }, - - { - "name": "Vaultwarden", - "icon": "/assets/icons/vaultwarden-logo.svg", - "href": "https://vault.neshweb.net", - "desc": "Self-hosted Password Manager", - "warn": "Note: Invite only", - "id": 9 - }, - { - "name": "Jellyfin", - "icon": "/assets/icons/jellyfin-logo.svg", - "href": "https://jellyfin.neshweb.net/", - "desc": "Open-Source, Self-Hosted Media Platform", - "warn": "Note: Registration only via Admin", - "id": 37 - }, - { - "name": "Navidrome", - "icon": "/assets/icons/navidrome-logo.avif", - "href": "https://navidrome.neshweb.net/", - "desc": "Open-Source, Self-Hosted Music Streaming Platform", - "warn": "Note: Registration only via Admin", - "id": 10 - }, - { - "name": "Gitlab", - "icon": "/assets/icons/gitlab-logo.svg", - "href": "https://gitlab.neshweb.net/", - "desc": "Self-hosted Git Service", - "warn": "Note: Registration only via Admin", - "id": 2 - }, - { - "name": "Forgejo", - "icon": "/assets/icons/forgejo-logo.svg", - "href": "https://forgejo.neshweb.net/", - "desc": "Self-hosted Git Service", - "warn": "Note: Registration only via Admin", - "id": 36 - }, - { - "name": "Portainer", - "icon": "/assets/icons/portainer-logo.avif", - "href": "https://portainer.neshweb.net/", - "desc": "Docker Container Manager", - "warn": "Note: Admin Only", - "id": 34 - }, - { - "name": "Nginx", - "icon": "/assets/icons/npm-logo.avif", - "href": "https://nginx.neshweb.net/", - "desc": "Web-based Nginx Proxy Manager", - "warn": "Note: Admin Only", - "id": 31 - }, - { - "name": "Proxmox", - "icon": "/assets/icons/proxmox-logo.avif", - "href": "https://proxmox.neshweb.net/", - "desc": "Hypervisor Webinterface", - "warn": "Note: Admin Only", - "id": 33 - }, - { - "name": "Dockge", - "icon": "/assets/icons/dockge-logo.avif", - "href": "https://dockge.neshweb.net/", - "desc": "Docker Compose WebUI", - "warn": "Note: Admin Only", - "id": 35 - } - ], - "games": { - "minecraft": { - "name": "Minecraft", - "icon": "/assets/icons/minecraft-logo.avif", - "href": "https://minecraft.neshweb.net/", - "desc": "View all currently available Minecraft Servers and their mods" - }, - "ready_or_not": { - "name": "Ready or Not", - "icon": "/assets/icons/ron-logo.avif", - "href": "https://readyornot.neshweb.net/", - "desc": "Collection of Floor Plans for the Game 'Ready or Not'" - }, - "zomboid": { - "name": "Zomboid", - "icon": "/assets/icons/zomboid-logo.avif", - "ip": "91.13.248.30", - "status": "Online" - }, - "factorio": { - "name": "Factorio", - "status": "Online" - }, - "space_engineers": { - "name": "Space Engineers", - "status": "Online" - } - } -} diff --git a/static/data/servers.json b/static/data/servers.json new file mode 100644 index 0000000..5255e18 --- /dev/null +++ b/static/data/servers.json @@ -0,0 +1,31 @@ +[ + { + "name": "Minecraft", + "icon": "/assets/icons/minecraft-logo", + "iconType": "avif", + "href": "https://minecraft.neshweb.net/", + "desc": "View all currently available Minecraft Servers and their mods" + }, + { + "name": "Ready or Not", + "icon": "/assets/icons/ron-logo", + "iconType": "avif", + "href": "https://readyornot.neshweb.net/", + "desc": "Collection of Floor Plans for the Game 'Ready or Not'" + }, + { + "name": "Zomboid", + "icon": "/assets/icons/zomboid-logo", + "iconType": "avif", + "ip": "91.13.248.30", + "status": "Online" + }, + { + "name": "Factorio", + "status": "Online" + }, + { + "name": "Space Engineers", + "status": "Online" + } +] \ No newline at end of file diff --git a/static/data/services.json b/static/data/services.json new file mode 100644 index 0000000..80e93de --- /dev/null +++ b/static/data/services.json @@ -0,0 +1,139 @@ +[ + { + "name": "Nextcloud", + "icon": "/assets/icons/nextcloud-logo", + "iconType": "svg", + "href": "https://nextcloud.neshweb.net/", + "desc": "Self-hosted Cloud Storage Service", + "warn": "Note: Registration requires approval", + "extLink": "https://nextcloud.com/", + "id": 7 + }, + { + "name": "Kavita", + "icon": "/assets/icons/kavita-logo", + "iconType": "svg", + "href": "https://kavita.neshweb.net", + "desc": "Self-hosted Manga Library", + "warn": "Registration via Admin invite", + "id": 5 + }, + { + "name": "Images", + "icon": "/assets/icons/images-logo", + "iconType": "svg", + "href": "https://imgs.neshweb.net/", + "desc": "Self-hosted Chevereto Image Service", + "warn": "", + "extLink": "https://chevereto.com/", + "id": 4 + }, + { + "name": "Calibre Web", + "icon": "/assets/icons/calibre-logo", + "iconType": "avif", + "href": "https://calibre.neshweb.net/", + "desc": "Self-hosted Ebook Library Service", + "warn": "Note: Registration only via Admin", + "id": 6 + }, + { + "name": "PeerTube", + "icon": "/assets/icons/peertube-logo", + "iconType": "svg", + "href": "https://tube.neshweb.net/", + "desc": "Self-hosted PeerTube Instance", + "warn": "Note: Registration only via Admin", + "id": 8 + }, + { + "name": "Mastodon", + "icon": "/assets/icons/mastodon-logo", + "iconType": "svg", + "href": "https://mastodon.neshweb.net/", + "desc": "Self-hosted Mastodon Instance", + "warn": "Note: Registration requires approval", + "id": 3 + }, + { + "name": "Vaultwarden", + "icon": "/assets/icons/vaultwarden-logo", + "iconType": "svg", + "href": "https://vault.neshweb.net", + "desc": "Self-hosted Password Manager", + "warn": "Note: Invite only", + "id": 9 + }, + { + "name": "Jellyfin", + "icon": "/assets/icons/jellyfin-logo", + "iconType": "svg", + "href": "https://jellyfin.neshweb.net/", + "desc": "Open-Source, Self-Hosted Media Platform", + "warn": "Note: Registration only via Admin", + "id": 37 + }, + { + "name": "Navidrome", + "icon": "/assets/icons/navidrome-logo", + "iconType": "avif", + "href": "https://navidrome.neshweb.net/", + "desc": "Open-Source, Self-Hosted Music Streaming Platform", + "warn": "Note: Registration only via Admin", + "id": 10 + }, + { + "name": "Gitlab", + "icon": "/assets/icons/gitlab-logo", + "iconType": "svg", + "href": "https://gitlab.neshweb.net/", + "desc": "Self-hosted Git Service", + "warn": "Note: Registration only via Admin", + "id": 2 + }, + { + "name": "Forgejo", + "icon": "/assets/icons/forgejo-logo", + "iconType": "svg", + "href": "https://forgejo.neshweb.net/", + "desc": "Self-hosted Git Service", + "warn": "Note: Registration only via Admin", + "id": 36 + }, + { + "name": "Portainer", + "icon": "/assets/icons/portainer-logo", + "iconType": "avif", + "href": "https://portainer.neshweb.net/", + "desc": "Docker Container Manager", + "warn": "Note: Admin Only", + "id": 34 + }, + { + "name": "Nginx", + "icon": "/assets/icons/npm-logo", + "iconType": "avif", + "href": "https://nginx.neshweb.net/", + "desc": "Web-based Nginx Proxy Manager", + "warn": "Note: Admin Only", + "id": 31 + }, + { + "name": "Proxmox", + "icon": "/assets/icons/proxmox-logo", + "iconType": "avif", + "href": "https://proxmox.neshweb.net/", + "desc": "Hypervisor Webinterface", + "warn": "Note: Admin Only", + "id": 33 + }, + { + "name": "Dockge", + "icon": "/assets/icons/dockge-logo", + "iconType": "avif", + "href": "https://dockge.neshweb.net/", + "desc": "Docker Compose WebUI", + "warn": "Note: Admin Only", + "id": 35 + } +]