mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-23 12:43:52 +03:00
Replaces JSON data with YAML
This commit is contained in:
parent
3320929beb
commit
479221c5d5
@ -5,9 +5,9 @@
|
||||
</div>
|
||||
<div v-else class="there-are-items">
|
||||
<Item
|
||||
v-for="item in items"
|
||||
:key="`${groupId}-${item.id}`"
|
||||
:id="`${groupId}-${item.id}`"
|
||||
v-for="(item, index) in items"
|
||||
:id="`${index}_${makeId(item.title)}`"
|
||||
:key="`${index}_${makeId(item.title)}`"
|
||||
:url="item.url"
|
||||
:title="item.title"
|
||||
:description="item.description"
|
||||
@ -36,6 +36,11 @@ export default {
|
||||
Collapsable,
|
||||
Item,
|
||||
},
|
||||
methods: {
|
||||
makeId(str) {
|
||||
return str.replace(/\s+/g, '-').replace(/[^a-zA-Z ]/g, '').toLowerCase();
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@ -1,57 +1,49 @@
|
||||
---
|
||||
site-settings:
|
||||
title: Server Dashboard
|
||||
description: List of all running services
|
||||
items:
|
||||
pageInfo:
|
||||
title: Hello World
|
||||
description: ''
|
||||
sections:
|
||||
- id: '0'
|
||||
name: Firewall
|
||||
collapsed: false
|
||||
cols: 3
|
||||
items:
|
||||
- id: '001'
|
||||
title: OPNsense
|
||||
- title: OPNsense
|
||||
description: Firewall Central Management
|
||||
icon: networking/opnsense
|
||||
iconType: img
|
||||
url: https://192.168.1.1
|
||||
- id: '002'
|
||||
title: NetData
|
||||
- title: NetData
|
||||
description: System resource usage on firewall
|
||||
icon: networking/netdata
|
||||
iconType: img
|
||||
url: http://192.168.1.1:19999/
|
||||
- id: '003'
|
||||
title: MalTrail
|
||||
- title: MalTrail
|
||||
description: Malicious traffic detection system
|
||||
icon: networking/maltrail
|
||||
iconType: img
|
||||
url: 192.168.1.1:8338
|
||||
- id: '004'
|
||||
title: Ntopng
|
||||
- title: Ntopng
|
||||
description: Network traffic probe and network use monitor
|
||||
icon: networking/ntop
|
||||
iconType: img
|
||||
url: 192.168.1.1:3001
|
||||
- id: '005'
|
||||
title: Sensei
|
||||
- title: Sensei
|
||||
description: Additional data features
|
||||
icon: networking/sensei
|
||||
iconType: img
|
||||
url: https://192.168.1.1/ui/sensei/
|
||||
- id: '006'
|
||||
title: Monit
|
||||
- title: Monit
|
||||
description: Status of firewall system alerts
|
||||
icon: networking/monit
|
||||
iconType: img
|
||||
url: https://192.168.1.1/ui/monit/status
|
||||
- id: '007'
|
||||
title: Firewall Logs
|
||||
- title: Firewall Logs
|
||||
description: Real-time view of firewall data and logs
|
||||
icon: networking/logs
|
||||
iconType: img
|
||||
url: https://192.168.1.1/ui/diagnostics/firewall/log
|
||||
- id: '008'
|
||||
title: WireGuard
|
||||
- title: WireGuard
|
||||
description: Manage WireGuard client and server on firewall
|
||||
icon: networking/wireguard
|
||||
iconType: img
|
||||
@ -61,70 +53,64 @@ items:
|
||||
collapsed: false
|
||||
cols: 2
|
||||
items:
|
||||
- id: '001'
|
||||
title: Pi-Hole
|
||||
- title: Pi-Hole
|
||||
description: DNS settings for ad & tracker blocking
|
||||
provider: Cockpit
|
||||
iconType: img
|
||||
icon: networking/pihole
|
||||
url: http://192.168.130.2/admin
|
||||
- id: '002'
|
||||
title: PiAlert
|
||||
- title: PiAlert
|
||||
description: Presence monitoring and ARP scanning
|
||||
provider: GoAccess
|
||||
iconType: img
|
||||
icon: networking/pialert
|
||||
url: http://192.168.130.2/pialert/
|
||||
- id: '003'
|
||||
title: SmokePing
|
||||
- title: SmokePing
|
||||
description: Network latency monitoring
|
||||
iconType: img
|
||||
icon: networking/smokeping
|
||||
url: http://192.168.130.2:8086/
|
||||
- id: '004'
|
||||
title: StatPing
|
||||
- title: StatPing
|
||||
description: Up-time monitoring for local service
|
||||
iconType: img
|
||||
icon: networking/statping
|
||||
url: http://192.168.130.2:8083/
|
||||
- id: '005'
|
||||
title: LibreSpeed
|
||||
- title: LibreSpeed
|
||||
description: Local network speed and latency test
|
||||
iconType: img
|
||||
icon: networking/librespeed
|
||||
url: http://192.168.130.2:49154/
|
||||
- id: '006'
|
||||
title: NetData
|
||||
- title: NetData
|
||||
description: Real-time system resource usage
|
||||
iconType: img
|
||||
icon: networking/netdata
|
||||
url: http://192.168.130.2:19999
|
||||
- id: '007'
|
||||
title: Portainer
|
||||
- title: Portainer
|
||||
description: Docker container management
|
||||
iconType: img
|
||||
icon: networking/portainer
|
||||
url: http://192.168.130.2:9000/
|
||||
- id: '008'
|
||||
title: cAdvisor
|
||||
- title: cAdvisor
|
||||
description: Container monitoring
|
||||
iconType: img
|
||||
icon: networking/cadvisor
|
||||
url: http://192.168.130.2:8084/
|
||||
- id: '009'
|
||||
title: Glances
|
||||
- title: Glances
|
||||
description: Simple resource usage
|
||||
iconType: img
|
||||
icon: networking/glances
|
||||
url: http://192.168.130.2:61208
|
||||
- id: '010'
|
||||
title: Prometheus
|
||||
- title: Dozzle
|
||||
description: Docker container web log viewer
|
||||
iconType: img
|
||||
icon: networking/dozzle
|
||||
url: http://192.168.130.2:8093
|
||||
- title: Prometheus
|
||||
description: System Statistics Aggregation with PromQL
|
||||
iconType: img
|
||||
icon: networking/prometheus
|
||||
url: http://192.168.130.2:8090/
|
||||
- id: '011'
|
||||
title: Grafana
|
||||
- title: Grafana
|
||||
description: Data visualised on dashboards
|
||||
iconType: img
|
||||
icon: networking/grafana
|
||||
@ -134,68 +120,57 @@ items:
|
||||
collapsed: false
|
||||
cols: 3
|
||||
items:
|
||||
- id: '001'
|
||||
title: Modem
|
||||
- title: Modem
|
||||
description: ISP Router Modem Combo
|
||||
iconType: img
|
||||
icon: ''
|
||||
url: http://192.168.1.5
|
||||
- id: '002'
|
||||
title: Wireless Access Point
|
||||
- title: Wireless Access Point
|
||||
description: View clients connected to WiFi
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: http://192.168.1.109/info.php
|
||||
- id: '003'
|
||||
title: Fing
|
||||
- title: Fing
|
||||
description: Monitor connectivity issues, ISP quality, health checks and troubleshooting
|
||||
provider: Fing
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: https://app.fing.com/
|
||||
- id: '004'
|
||||
title: Switch
|
||||
- title: Switch
|
||||
description: Manage VLANs on Ubiquity Ethernet switch
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: "/"
|
||||
- id: '007'
|
||||
name: External Services
|
||||
- name: External Services
|
||||
collapsed: true
|
||||
cols: 1
|
||||
items:
|
||||
- id: '001'
|
||||
title: DuckDNS
|
||||
- title: DuckDNS
|
||||
description: Dynamic DNS for fixed public IP
|
||||
icon: networking/duckdns
|
||||
iconType: img
|
||||
url: https://www.duckdns.org/
|
||||
- id: '002'
|
||||
title: BorgBase
|
||||
- title: BorgBase
|
||||
description: Off-site system Borg backups
|
||||
icon: networking/borgbase
|
||||
iconType: img
|
||||
url: https://www.borgbase.com/repositories
|
||||
- id: '003'
|
||||
title: Mullvad
|
||||
- title: Mullvad
|
||||
description: Hosted VPN provider
|
||||
icon: networking/mullvad
|
||||
iconType: img
|
||||
url: https://mullvad.net/en/account/
|
||||
- id: '004'
|
||||
title: ZeroTier
|
||||
- title: ZeroTier
|
||||
description: Secure networks between devices
|
||||
icon: networking/zeroteir
|
||||
iconType: img
|
||||
url: https://my.zerotier.com/
|
||||
- id: '005'
|
||||
title: HealthChecks
|
||||
- title: HealthChecks
|
||||
description: Cron Job Monitoring
|
||||
icon: networking/healthchecks
|
||||
iconType: img
|
||||
url: https://healthchecks.io/checks/
|
||||
- id: '006'
|
||||
title: ISP - Vodafone
|
||||
- title: ISP - Vodafone
|
||||
description: Broadband internet provider
|
||||
icon: networking/vodafone
|
||||
iconType: img
|
||||
@ -205,26 +180,22 @@ items:
|
||||
collapsed: false
|
||||
cols: 1
|
||||
items:
|
||||
- id: '001'
|
||||
title: Public IP
|
||||
- title: Public IP
|
||||
description: Check public IP and associated data
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: https://www.whatismyip.com/
|
||||
- id: '002'
|
||||
title: Who Is Lookup
|
||||
- title: Who Is Lookup
|
||||
description: Check ICAN info for a given IP address or domain
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: https://whois.domaintools.com/
|
||||
- id: '003'
|
||||
title: Speed Test
|
||||
- title: Speed Test
|
||||
description: Upload + download speeds and latency
|
||||
icon: ''
|
||||
iconType: img
|
||||
url: https://speed.cloudflare.com/
|
||||
- id: '004'
|
||||
title: Mullvad Check
|
||||
- title: Mullvad Check
|
||||
description: Confirms a secure connection to Mullvad's WireGuard servers
|
||||
icon: ''
|
||||
iconType: img
|
||||
|
@ -1,4 +1,9 @@
|
||||
[
|
||||
{
|
||||
"pageInfo": {
|
||||
"title": "Hello World",
|
||||
"description": ""
|
||||
},
|
||||
"sections": [
|
||||
{
|
||||
"id": "0",
|
||||
"name": "Firewall",
|
||||
@ -6,7 +11,6 @@
|
||||
"cols": 3,
|
||||
"items": [
|
||||
{
|
||||
"id": "001",
|
||||
"title": "OPNsense",
|
||||
"description": "Firewall Central Management",
|
||||
"icon": "networking/opnsense",
|
||||
@ -14,7 +18,6 @@
|
||||
"url": "https://192.168.1.1"
|
||||
},
|
||||
{
|
||||
"id": "002",
|
||||
"title": "NetData",
|
||||
"description": "System resource usage on firewall",
|
||||
"icon": "networking/netdata",
|
||||
@ -22,7 +25,6 @@
|
||||
"url": "http://192.168.1.1:19999/"
|
||||
},
|
||||
{
|
||||
"id": "003",
|
||||
"title": "MalTrail",
|
||||
"description": "Malicious traffic detection system",
|
||||
"icon": "networking/maltrail",
|
||||
@ -30,7 +32,6 @@
|
||||
"url": "192.168.1.1:8338"
|
||||
},
|
||||
{
|
||||
"id": "004",
|
||||
"title": "Ntopng",
|
||||
"description": "Network traffic probe and network use monitor",
|
||||
"icon": "networking/ntop",
|
||||
@ -38,7 +39,6 @@
|
||||
"url": "192.168.1.1:3001"
|
||||
},
|
||||
{
|
||||
"id": "005",
|
||||
"title": "Sensei",
|
||||
"description": "Additional data features",
|
||||
"icon": "networking/sensei",
|
||||
@ -46,7 +46,6 @@
|
||||
"url": "https://192.168.1.1/ui/sensei/"
|
||||
},
|
||||
{
|
||||
"id": "006",
|
||||
"title": "Monit",
|
||||
"description": "Status of firewall system alerts",
|
||||
"icon": "networking/monit",
|
||||
@ -54,7 +53,6 @@
|
||||
"url": "https://192.168.1.1/ui/monit/status"
|
||||
},
|
||||
{
|
||||
"id": "007",
|
||||
"title": "Firewall Logs",
|
||||
"description": "Real-time view of firewall data and logs",
|
||||
"icon": "networking/logs",
|
||||
@ -62,7 +60,6 @@
|
||||
"url": "https://192.168.1.1/ui/diagnostics/firewall/log"
|
||||
},
|
||||
{
|
||||
"id": "008",
|
||||
"title": "WireGuard",
|
||||
"description": "Manage WireGuard client and server on firewall",
|
||||
"icon": "networking/wireguard",
|
||||
@ -78,7 +75,6 @@
|
||||
"cols": 2,
|
||||
"items": [
|
||||
{
|
||||
"id": "001",
|
||||
"title": "Pi-Hole",
|
||||
"description": "DNS settings for ad & tracker blocking",
|
||||
"provider": "Cockpit",
|
||||
@ -87,7 +83,6 @@
|
||||
"url": "http://192.168.130.2/admin"
|
||||
},
|
||||
{
|
||||
"id": "002",
|
||||
"title": "PiAlert",
|
||||
"description": "Presence monitoring and ARP scanning",
|
||||
"provider": "GoAccess",
|
||||
@ -96,7 +91,6 @@
|
||||
"url": "http://192.168.130.2/pialert/"
|
||||
},
|
||||
{
|
||||
"id": "003",
|
||||
"title": "SmokePing",
|
||||
"description": "Network latency monitoring",
|
||||
"iconType": "img",
|
||||
@ -104,7 +98,6 @@
|
||||
"url": "http://192.168.130.2:8086/"
|
||||
},
|
||||
{
|
||||
"id": "004",
|
||||
"title": "StatPing",
|
||||
"description": "Up-time monitoring for local service",
|
||||
"iconType": "img",
|
||||
@ -112,7 +105,6 @@
|
||||
"url": "http://192.168.130.2:8083/"
|
||||
},
|
||||
{
|
||||
"id": "005",
|
||||
"title": "LibreSpeed",
|
||||
"description": "Local network speed and latency test",
|
||||
"iconType": "img",
|
||||
@ -120,7 +112,6 @@
|
||||
"url": "http://192.168.130.2:49154/"
|
||||
},
|
||||
{
|
||||
"id": "006",
|
||||
"title": "NetData",
|
||||
"description": "Real-time system resource usage",
|
||||
"iconType": "img",
|
||||
@ -128,7 +119,6 @@
|
||||
"url": "http://192.168.130.2:19999"
|
||||
},
|
||||
{
|
||||
"id": "007",
|
||||
"title": "Portainer",
|
||||
"description": "Docker container management",
|
||||
"iconType": "img",
|
||||
@ -136,7 +126,6 @@
|
||||
"url": "http://192.168.130.2:9000/"
|
||||
},
|
||||
{
|
||||
"id": "008",
|
||||
"title": "cAdvisor",
|
||||
"description": "Container monitoring",
|
||||
"iconType": "img",
|
||||
@ -144,7 +133,6 @@
|
||||
"url": "http://192.168.130.2:8084/"
|
||||
},
|
||||
{
|
||||
"id": "009",
|
||||
"title": "Glances",
|
||||
"description": "Simple resource usage",
|
||||
"iconType": "img",
|
||||
@ -152,7 +140,6 @@
|
||||
"url": "http://192.168.130.2:61208"
|
||||
},
|
||||
{
|
||||
"id": "010",
|
||||
"title": "Dozzle",
|
||||
"description": "Docker container web log viewer",
|
||||
"iconType": "img",
|
||||
@ -160,7 +147,6 @@
|
||||
"url": "http://192.168.130.2:8093"
|
||||
},
|
||||
{
|
||||
"id": "011",
|
||||
"title": "Prometheus",
|
||||
"description": "System Statistics Aggregation with PromQL",
|
||||
"iconType": "img",
|
||||
@ -168,7 +154,6 @@
|
||||
"url": "http://192.168.130.2:8090/"
|
||||
},
|
||||
{
|
||||
"id": "012",
|
||||
"title": "Grafana",
|
||||
"description": "Data visualised on dashboards",
|
||||
"iconType": "img",
|
||||
@ -184,7 +169,6 @@
|
||||
"cols": 3,
|
||||
"items": [
|
||||
{
|
||||
"id": "001",
|
||||
"title": "Modem",
|
||||
"description": "ISP Router Modem Combo",
|
||||
"iconType": "img",
|
||||
@ -192,7 +176,6 @@
|
||||
"url": "http://192.168.1.5"
|
||||
},
|
||||
{
|
||||
"id": "002",
|
||||
"title": "Wireless Access Point",
|
||||
"description": "View clients connected to WiFi",
|
||||
"icon": "",
|
||||
@ -200,7 +183,6 @@
|
||||
"url": "http://192.168.1.109/info.php"
|
||||
},
|
||||
{
|
||||
"id": "003",
|
||||
"title": "Fing",
|
||||
"description": "Monitor connectivity issues, ISP quality, health checks and troubleshooting",
|
||||
"provider": "Fing",
|
||||
@ -209,7 +191,6 @@
|
||||
"url": "https://app.fing.com/"
|
||||
},
|
||||
{
|
||||
"id": "004",
|
||||
"title": "Switch",
|
||||
"description": "Manage VLANs on Ubiquity Ethernet switch",
|
||||
"icon": "",
|
||||
@ -219,13 +200,11 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "007",
|
||||
"name": "External Services",
|
||||
"collapsed": true,
|
||||
"cols": 1,
|
||||
"items": [
|
||||
{
|
||||
"id": "001",
|
||||
"title": "DuckDNS",
|
||||
"description": "Dynamic DNS for fixed public IP",
|
||||
"icon": "networking/duckdns",
|
||||
@ -233,7 +212,6 @@
|
||||
"url": "https://www.duckdns.org/"
|
||||
},
|
||||
{
|
||||
"id": "002",
|
||||
"title": "BorgBase",
|
||||
"description": "Off-site system Borg backups",
|
||||
"icon": "networking/borgbase",
|
||||
@ -241,7 +219,6 @@
|
||||
"url": "https://www.borgbase.com/repositories"
|
||||
},
|
||||
{
|
||||
"id": "003",
|
||||
"title": "Mullvad",
|
||||
"description": "Hosted VPN provider",
|
||||
"icon": "networking/mullvad",
|
||||
@ -249,7 +226,6 @@
|
||||
"url": "https://mullvad.net/en/account/"
|
||||
},
|
||||
{
|
||||
"id": "004",
|
||||
"title": "ZeroTier",
|
||||
"description": "Secure networks between devices",
|
||||
"icon": "networking/zeroteir",
|
||||
@ -257,7 +233,6 @@
|
||||
"url": "https://my.zerotier.com/"
|
||||
},
|
||||
{
|
||||
"id": "005",
|
||||
"title": "HealthChecks",
|
||||
"description": "Cron Job Monitoring",
|
||||
"icon": "networking/healthchecks",
|
||||
@ -265,7 +240,6 @@
|
||||
"url": "https://healthchecks.io/checks/"
|
||||
},
|
||||
{
|
||||
"id": "006",
|
||||
"title": "ISP - Vodafone",
|
||||
"description": "Broadband internet provider",
|
||||
"icon": "networking/vodafone",
|
||||
@ -281,7 +255,6 @@
|
||||
"cols": 1,
|
||||
"items": [
|
||||
{
|
||||
"id": "001",
|
||||
"title": "Public IP",
|
||||
"description": "Check public IP and associated data",
|
||||
"icon": "",
|
||||
@ -289,7 +262,6 @@
|
||||
"url": "https://www.whatismyip.com/"
|
||||
},
|
||||
{
|
||||
"id": "002",
|
||||
"title": "Who Is Lookup",
|
||||
"description": "Check ICAN info for a given IP address or domain",
|
||||
"icon": "",
|
||||
@ -297,7 +269,6 @@
|
||||
"url": "https://whois.domaintools.com/"
|
||||
},
|
||||
{
|
||||
"id": "003",
|
||||
"title": "Speed Test",
|
||||
"description": "Upload + download speeds and latency",
|
||||
"icon": "",
|
||||
@ -305,7 +276,6 @@
|
||||
"url": "https://speed.cloudflare.com/"
|
||||
},
|
||||
{
|
||||
"id": "004",
|
||||
"title": "Mullvad Check",
|
||||
"description": "Confirms a secure connection to Mullvad's WireGuard servers",
|
||||
"icon": "",
|
||||
@ -314,4 +284,5 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
@ -8,8 +8,8 @@
|
||||
:gutter="30"
|
||||
>
|
||||
<ItemGroup
|
||||
v-for="item in items"
|
||||
:key="item.id"
|
||||
v-for="(item, index) in items"
|
||||
:key="index"
|
||||
:groupId="item.id"
|
||||
:title="item.name"
|
||||
:collapsed="item.collapsed"
|
||||
@ -26,7 +26,7 @@
|
||||
import Header from '@/components/Header.vue';
|
||||
import FilterTile from '@/components/FilterTile.vue';
|
||||
import ItemGroup from '@/components/ItemGroup.vue';
|
||||
import * as linkData from '../data/item-data.json';
|
||||
import conf from '../data/conf.yml';
|
||||
|
||||
export default {
|
||||
name: 'home',
|
||||
@ -40,7 +40,7 @@ export default {
|
||||
ItemGroup,
|
||||
},
|
||||
data: () => ({
|
||||
items: linkData.default,
|
||||
items: conf.sections,
|
||||
searchTile: '',
|
||||
}),
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user