QuickDash banner

QuickDash

3 devlogs
9h 20m 11s

TUI Dashbord with on the fly configs! (for homelab monitoring etc)

  • configurable log & command windows for viewing logs and getting command results.
dan1984

I finally implemented live loading the configs. If the json setting file is updated, the watchfiles library catches it and updates the commands, texts, etc… Only problem is that it works only once :P Ill fix it tomorrow probably.

Also, I got rid of the docker sdk and just went back to using asyncio subproc shells. I think this way is better because I can use the same function on LXC’s and VMs later on.

I am still using eval on the custom commands parts DX if anyone has an idea to replace eval it would be very appreciated! :)

Attachment
0
dan1984

Made the CPU part display more info.
Also the disks arn’t placeholders now. (only problem, I use btrfs so the root and home subvols just return the same usage…)
Finally got the Docker SDK log view working. I really need to get used to async…
Also the ‘custom’ command widget is kinda working. (It uses EVAL. very customizable. gota fix that someday)

Attachment
0
dan1984

I needed a TUI dashboard for my homelab so that i can ssh with my phone and see the stats easily.
I wanted a btop like smooth TUI so i decided on using Textual.
I first created the ram and cpu stat windows.
The progress bar was a lot of pain to render properly :(

Attachment
Attachment
1

Comments

dan1984
dan1984 16 days ago

The SSD’s are placeholders. I only have 1T :)