A simple customisable text dashboard that doesn’t update automatically.
The content and layout in the dashboard is controlled by
widgets.yaml. This YAML file starts with a single root node
Widgets
. The dashboard is splited evenly into columns and rows by
writing columns
and rows
as list of dictionaries under the
Widgets
node, and they can be nested arbitrarily. For example the
following configuration
Widgets: - rows: - columns: - # some content - # some other content - # some content at the bottom
produces this layout:
+-----+-----+ | | | +-----+-----+ | | +-----------+
The “content” part can be three things:
-
A
text
node, which produces a box with some stuff inside. What’s inside depends on theInfoSource
node underneath. -
A
list
node, which contains aName
node (a string), and aWidgets
node which contains a bunch oftext
nodes. This also produces a box. Thetext
nodes inside do not come with boxes. -
A
big_text
node, which calls figlet. This doesn’t come with a box.
I’m too lazy to write more details. Take a look at
widgets-example.yaml
in the repo. It produces the following
dashboard: