I'm excited to share CarbonLint, an open-source tool I've been building to help developers measure the actual energy consumption and carbon emissions of their software in real-time.
While there are great tools for tracking CPU/RAM, there aren't many accessible ways to translate those hardware metrics into actual environmental impact natively on your local machine.
How it works: • It's built with Rust & Tauri (v2) for a tiny footprint. • It monitors CPU, memory, disk I/O, and network activity of specific processes. • It calculates energy usage based on user-configurable hardware profiles (e.g., Apple M-series, Intel, AMD). • It translates energy into CO2-equivalent emissions using real-time, region-specific power grid carbon intensity data. • Available natively across Windows (.exe/.msi), macOS (.dmg), Linux (.deb/.AppImage/.rpm), and Android (.apk).
Key features:
Global keyboard shortcuts to start/stop profiling sessions instantly. UI runs quietly in the system tray. Comprehensive session reports detailing exactly how much energy a specific software run consumed. The code is fully open-source (MIT), and everything runs locally on your machine. I'd love to hear your feedback on the architecture, the energy estimation models, or any feature requests you might have.
Repo: https://github.com/nishal21/CarbonLint Website: https://nishal21.github.io/CarbonLint/
Thanks!