Changed screenshot, updated readme, fixed categories
This commit is contained in:
parent
b23c7196a6
commit
b307a12382
3 changed files with 132 additions and 25 deletions
98
README.md
98
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Dashboard
|
# Dashboard
|
||||||
|
|
||||||
![screenshot](https://github.com/phntxx/dashboard/blob/master/screenshot.png 'screenshot')
|
![Alt text](/screenshot.png?raw=true 'screenshot')
|
||||||
|
|
||||||
Dashboard is just that - a dashboard. It's inspired by [SUI](https://github.com/jeroenpardon/sui) and has all the same features as SUI, such as simple customization through JSON-files and a handy search bar to search the internet more efficiently.
|
Dashboard is just that - a dashboard. It's inspired by [SUI](https://github.com/jeroenpardon/sui) and has all the same features as SUI, such as simple customization through JSON-files and a handy search bar to search the internet more efficiently.
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ Dashboard is designed to be customizable. Everything is handled using four .json
|
||||||
|
|
||||||
### Applications
|
### Applications
|
||||||
|
|
||||||
To add an application, append the following to applications.json or simply edit one of the examples given.
|
To add an application, append the following to apps.json or simply edit one of the examples given.
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
|
@ -76,6 +76,100 @@ To add an application, append the following to applications.json or simply edit
|
||||||
|
|
||||||
To find icons, simply go to the [Material Design Icon Library](https://material.io/icons/) and copy one of the codes for an icon there.
|
To find icons, simply go to the [Material Design Icon Library](https://material.io/icons/) and copy one of the codes for an icon there.
|
||||||
|
|
||||||
|
**NEW FEATURE: CATEGORIES**
|
||||||
|
|
||||||
|
To add a category to your dashboard, change apps.json to resemble the following:
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"categories": [
|
||||||
|
...
|
||||||
|
],
|
||||||
|
"apps": [
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, a category can be added by entering the following within the "categories" field:
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"name": "[Name of the category]",
|
||||||
|
"items": [
|
||||||
|
[Application goes here]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
In the end, your apps.json file should look something like this:
|
||||||
|
|
||||||
|
1. Without categories
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"apps": [
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
2. With apps and categories
|
||||||
|
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"categories": [
|
||||||
|
{
|
||||||
|
"name": "[Name of the category]",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
"apps": [
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "[Name of the Application]",
|
||||||
|
"displayURL": "[URL you want to show]",
|
||||||
|
"URL": "[URL to redirect to]",
|
||||||
|
"icon": "[Icon code]"
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Bookmarks
|
### Bookmarks
|
||||||
|
|
||||||
To add a bookmark, append the following to bookmarks.json or simply edit one of the examples given.
|
To add a bookmark, append the following to bookmarks.json or simply edit one of the examples given.
|
||||||
|
|
|
@ -1,11 +1,41 @@
|
||||||
{
|
{
|
||||||
"apps": [
|
"categories": [
|
||||||
{
|
{
|
||||||
"name": "Pihole",
|
"name": "Networking",
|
||||||
"displayURL": "example.com",
|
"items": [
|
||||||
"URL": "https://example.com",
|
{
|
||||||
"icon": "vpn_lock"
|
"name": "pfSense",
|
||||||
|
"displayURL": "example.com",
|
||||||
|
"URL": "https://example.com",
|
||||||
|
"icon": "security"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Pihole",
|
||||||
|
"displayURL": "example.com",
|
||||||
|
"URL": "https://example.com",
|
||||||
|
"icon": "vpn_lock"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Monitoring",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"name": "Tautulli",
|
||||||
|
"displayURL": "example.com",
|
||||||
|
"URL": "https://example.com",
|
||||||
|
"icon": "bar_chart"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Grafana",
|
||||||
|
"displayURL": "example.com",
|
||||||
|
"URL": "https://example.com",
|
||||||
|
"icon": "show_chart"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"apps": [
|
||||||
{
|
{
|
||||||
"name": "Plex",
|
"name": "Plex",
|
||||||
"displayURL": "example.com",
|
"displayURL": "example.com",
|
||||||
|
@ -30,29 +60,12 @@
|
||||||
"URL": "https://example.com",
|
"URL": "https://example.com",
|
||||||
"icon": "games"
|
"icon": "games"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "pfSense",
|
|
||||||
"displayURL": "example.com",
|
|
||||||
"URL": "https://example.com",
|
|
||||||
"icon": "security"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "ESXi",
|
"name": "ESXi",
|
||||||
"displayURL": "example.com",
|
"displayURL": "example.com",
|
||||||
"URL": "https://example.com",
|
"URL": "https://example.com",
|
||||||
"icon": "dns"
|
"icon": "dns"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Tautulli",
|
|
||||||
"displayURL": "example.com",
|
|
||||||
"URL": "https://example.com",
|
|
||||||
"icon": "bar_chart"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Grafana",
|
|
||||||
"displayURL": "example.com",
|
|
||||||
"URL": "https://example.com",
|
|
||||||
"icon": "show_chart"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 849 KiB |
Loading…
Reference in a new issue