Skip to main content

MacMonitor — macOS Telemetry Agent, Menu Bar & BLE Server

Lightweight macOS background agent, native Menu Bar status item, and CoreBluetooth GATT peripheral (v1.0.0) that streams real-time Apple Silicon / macOS hardware metrics over authenticated BLE to an ESP32 OLED dashboard.


Features

  • Automatic Startup on Login: Native macOS LaunchAgent (dev.anbuinfosec.macmonitor + dev.anbuinfosec.macmonitor.menubar) starts automatically when you log in and restarts automatically if interrupted.
  • Native macOS Menu Bar App: Zero-dependency Swift AppKit status bar icon showing live CPU %, BLE connection status, GPU %, RAM, Battery, Temperature, Network speed, VPN state, 1-click Pairing Key copy, USB ESP32 provisioning, and autostart toggle.
  • Zero-Sudo Apple Silicon Telemetry: Reads Mach CPU/RAM ticks, IOAccelerator GPU utilization, IOHIDEventSystem die thermal sensors, AppleSmartBattery, scutil/utun WireGuard/VPN state, and sanitized top-5 processes without root privileges.
  • PyPI & Homebrew Ready: Installable via pip, brew, or ./install.sh (macmonitor and macmon CLI aliases).

Installation

Option 1: Homebrew (brew)

# Install from formula & start login service
brew install --build-from-source ../Formula/macmonitor.rb
macmonitor autostart enable

Option 2: PyPI / pip

pip install .
macmonitor autostart enable

Option 3: Local Installer Script

./install.sh

CLI Reference (macmonitor / macmon)

macmonitor start              # Start background service + Menu Bar & register LaunchAgent
macmonitor stop               # Stop background service
macmonitor restart            # Restart background service
macmonitor status             # Show daemon, BLE, and autostart status JSON
macmonitor menu               # Start native macOS Menu Bar app (--stop to quit)
macmonitor autostart enable   # Enable automatic startup at macOS login
macmonitor autostart disable  # Disable automatic startup at macOS login
macmonitor autostart status   # Check LaunchAgent registration status
macmonitor pair-init          # Generate or display 64-hex Keychain pairing key
macmonitor pair-esp32         # Auto-provision a USB-connected ESP32 over Serial
macmonitor devices            # List connected & authenticated ESP32 devices
macmonitor snapshot           # Print a live JSON telemetry snapshot
macmonitor doctor             # Run full system, BLE, Menu Bar, and telemetry diagnostics
macmonitor logs -n 50         # Tail rotating agent logs
macmonitor config --init      # Write default ~/.config/macmonitor/config.toml

Building PyPI Distributions (sdist & wheel)

make pypi
ls -lh dist/
# Produces dist/macmonitor-1.0.0.tar.gz and dist/macmonitor-1.0.0-py3-none-any.whl
# Publish with: twine upload dist/*

Metadata

Release files for macmonitor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for macmonitor 1.0.0
File Size Uploaded Provenance Actions
macmonitor-1.0.0.tar.gz 45.0 kB Without provenance Details for macmonitor-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for macmonitor 1.0.0
File Interpreter ABI Platform Actions
macmonitor-1.0.0-py3-none-any.whl Python 3 none any Details for macmonitor-1.0.0-py3-none-any.whl

Total release size: 94.2 kB

Release files / macmonitor-1.0.0.tar.gz

Download URL macmonitor-1.0.0.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
04b93201c185484c4c8d7d53c42f6f14648ecb9c57a7a826ee8ba0ce3a79673e
BLAKE2b-256 checksum
How to use checksums
63414410a5b92dd6d7aeffee17ef7e3941eff25b708e59fad3ba8cf56609da22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / macmonitor-1.0.0-py3-none-any.whl

Download URL macmonitor-1.0.0-py3-none-any.whl
Size 49.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23eecdb7979c4caaa9eb2c4209acf22f06d6de96b46d0985e5c89566ff517d48
BLAKE2b-256 checksum
How to use checksums
9c81666e042fddaea94a3c1f08570539eb3818b0be4d304a2de93caf5dada9d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for macmonitor 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page