A simple UI app showing some Renoir power metrics.
It consists of
- A small executable making use of WebKit in order to render HTML
- The HTML/JS frontend which fetches and displays power metrics via Chart.js.
The HTML page (main.html) can also be opened directly in your browser instead.
Binaries are available from the releases page.
- Install go from your package manager or download it from the Golang site.
- Clone repo with
git clone https://github.com/moson-mo/rpmui.git
- Change to rpmui dir:
cd rpmui
- Build with
go build
In the default configuration, the graphs have been made for an 8-core AMD Renoir model.
You can customize main.html to your own needs...
- rpms - Renoir power metrics server. (Needs to be installed upfront)
- webview - A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs.
- osext - Extensions to the "os" (golang) package.
- Chart.js - Simple JavaScript library to create charts.
- jQuery - jQuery JavaScript framework.