r/coolgithubprojects • u/Affectionate_Pea3516 • 2h ago
Sysbar: an open-source (Apache-2.0) macOS menu bar system monitor in Swift, no dependencies
Hi everyone,
I'm sharing **Sysbar**, a small open-source macOS menu bar app for system monitoring. I built it for my own use and I'm releasing it under the **Apache-2.0** license.
I've used [Stats](https://github.com/exelban/stats) for years. After installing [oMLX](https://github.com/jundot/omlx), I really liked its System Stats panel and wanted something similar as a standalone menu bar app. Sysbar builds on oMLX's monitoring code, and the menu bar icon is inspired by Stats.
**Repo:** https://github.com/rodrigotrombeta/Sysbar
**What it shows**
- CPU and GPU usage, including E-core and P-core breakdowns on Apple Silicon
- Memory usage, pressure, compression and swap
- Disk space and read/write speeds
- Network upload/download speeds
- Top processes by CPU and memory
- Customizable menu bar charts, colors and detailed panels
- English and Portuguese interfaces
**How it's built**
- Native Swift (AppKit + SwiftUI), no third-party dependencies and no Xcode project. You can build it with just the Command Line Tools.
- Public APIs only (Mach host statistics, IOKit, `vm_statistics64`): no `sudo` and no privileged helper.
- Small: about 0.8 MB on disk and about 25 MB of RAM.
- Requires macOS 14 Sonoma or later.
**Build from source**
git clone https://github.com/rodrigotrombeta/Sysbar.git
cd Sysbar
./build.sh install
A prebuilt DMG is also available on the [Releases page](https://github.com/rodrigotrombeta/Sysbar/releases/latest). It isn't signed with an Apple Developer ID or notarized yet, so macOS blocks it on first launch. To allow it, go to System Settings → Privacy & Security → Open Anyway, or run `xattr -dr com.apple.quarantine /Applications/Sysbar.app`. If you'd rather not do that, building from source avoids the warning entirely.
It's still early, and I keep improving it as I use it. Issues, feature ideas and pull requests are very welcome. I'd especially like to hear from people on Intel Macs or other Apple Silicon chips, since I've only tested it on my own machine.
Thanks to the oMLX contributors and to Stats for the inspiration.