Add screenshot
This commit is contained in:
parent
740c8f5c43
commit
3e53a8198c
26
README.md
26
README.md
|
@ -6,12 +6,8 @@ including pretty icons,
|
||||||
and your apps will show up under the same top URL,
|
and your apps will show up under the same top URL,
|
||||||
like they all work together somehow.
|
like they all work together somehow.
|
||||||
|
|
||||||
There are lots of other things like this around.
|
![Screen Shot](docs/screenshot.png)
|
||||||
Probably the shiniest is called "Heimdall".
|
|
||||||
I made this one because I didn't want to run yet another database
|
|
||||||
or a PHP server
|
|
||||||
when I am perfectly happy editing a JSON file
|
|
||||||
and having my browser do all the work.
|
|
||||||
|
|
||||||
# portal.json
|
# portal.json
|
||||||
|
|
||||||
|
@ -43,6 +39,7 @@ Some notes:
|
||||||
* `"target": "_blank"` will cause clicks to open in a new tab
|
* `"target": "_blank"` will cause clicks to open in a new tab
|
||||||
* `"app": "stat"` makes the icon be the built-in CPU stats pie chart
|
* `"app": "stat"` makes the icon be the built-in CPU stats pie chart
|
||||||
|
|
||||||
|
|
||||||
# Other uses for this
|
# Other uses for this
|
||||||
|
|
||||||
Since the portal stuff is all static files,
|
Since the portal stuff is all static files,
|
||||||
|
@ -50,3 +47,20 @@ you could just not use any of that,
|
||||||
and instead use this as a service to provide CPU stats.
|
and instead use this as a service to provide CPU stats.
|
||||||
Just open `/stats.html` instead of `/`.
|
Just open `/stats.html` instead of `/`.
|
||||||
Or write your own ECMAScript code that imports `stat.mjs`.
|
Or write your own ECMAScript code that imports `stat.mjs`.
|
||||||
|
|
||||||
|
|
||||||
|
# Alternatives
|
||||||
|
|
||||||
|
There are lots of other things like this around.
|
||||||
|
Probably the shiniest is called "Heimdall".
|
||||||
|
|
||||||
|
I made this one because I didn't want to run yet another database
|
||||||
|
or a PHP server
|
||||||
|
when I am perfectly happy editing a JSON file
|
||||||
|
and having my browser do all the work.
|
||||||
|
|
||||||
|
Because this runs so much in the browser,
|
||||||
|
no resources are used when no users are active,
|
||||||
|
and when there are users,
|
||||||
|
it's still very light:
|
||||||
|
less than 1% CPU on my Raspberry Pi.
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 211 KiB |
Loading…
Reference in New Issue