WSL2 xterm-256color zsh 161 views

A demo to show case my library, HexaFun. Here we have one Domain, the SysmonState which keeps values like cpu, memory and disk usage. An interface called MetricsProvider is responsible for providing the metrics. The default implementation uses Oshi to get the system metrics. Our TUI is made of 4 adapters that take the SysmonState and renders it either as a TUI, a cli, JSON or Prometheus, showcasing how adapters work in Hexagonal Architecture.

More recordings by guinetik

Tasks TUI 1:14

by guinetik