eternal-flame-ad/sensors — explained in plain English
Analysis updated 2026-07-19 · repo last pushed 2024-04-21
Log CPU and GPU temperatures to a file by piping the JSON output of monitor mode.
Display live CPU temperature with color-coded warnings on your Linux desktop using the Xmobar plugin.
Build a custom hardware monitoring dashboard in Haskell using the reusable sensor-reading library.
Take a one-time snapshot of all sensor readings for quick diagnostics using dump mode.
| eternal-flame-ad/sensors | bobymicroby/boby-alga-toolkit | cab404/ron | |
|---|---|---|---|
| Language | Haskell | Haskell | Haskell |
| Last pushed | 2024-04-21 | 2021-02-10 | 2021-08-17 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | pm founder | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires lm_sensors or nvidia-smi installed on a Linux system and comfort reading Haskell source code since full library docs are not yet written.
Sensors is a Haskell library that lets you read hardware sensor data, things like CPU temperature, GPU temperature, and power usage, from your computer. It provides both a reusable library for developers and a command-line tool for anyone who wants to check or monitor what their hardware is doing. At its core, the library talks to different "backends" that know how to query specific hardware sources. Right now it supports two: lm_sensors, which reads Linux hardware sensors like CPU temps, and nvidia-smi, which pulls data from NVIDIA graphics cards. You can use the command-line tool in two modes: a "dump" mode that takes a one-time snapshot of all sensor readings, and a "monitor" mode that continuously polls sensors at a set interval and outputs the data as JSON. There's also an optional plugin for Xmobar, a Linux status bar tool, so you can display live sensor readings, like your CPU temp in red when it gets too hot, right on your desktop. The primary audience is Linux power users and developers who already use Haskell and want to build monitoring tools or dashboards. A practical use case would be someone running a server or workstation who wants to keep an eye on temperatures and GPU utilization, either through a script that logs the JSON output or through a status bar that shows live readings with color-coded warnings when things get hot. The Xmobar plugin example in the README shows a setup where CPU temps above 85°C turn red and below 40°C stay green. The project is still a work in progress. Two additional backends are planned but not yet built: hwmon (another Linux sensor interface) and Windows support via the Windows API. The README also notes that full library documentation is still pending, pointing readers to the source code and the CLI implementation for now. This means it's best suited for someone comfortable digging into Haskell code rather than expecting polished, beginner-friendly docs.
A Haskell library and command-line tool that reads hardware sensor data like CPU and GPU temperatures on Linux, with live monitoring output as JSON and an optional desktop status bar plugin.
Mainly Haskell. The stack also includes Haskell, lm_sensors, nvidia-smi.
Dormant — no commits in 2+ years (last push 2024-04-21).
The license terms are not mentioned in the README, so what you can and cannot do with this code is unclear.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.