Custom macOS menu bar programs in three easy steps, no third step

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

SwiftBar lets developers display script output directly in the macOS menu bar, saving time and eliminating the need to open a terminal or build a full app.

Read this as

SwiftBar lets you turn any shell script into a tiny macOS menu bar app. Instead of watching a terminal, the script’s output appears in the bar and a dropdown menu. It works on macOS Monterey (12) and later, and you only need to write a script and name it like date.1m.sh to set a refresh interval. Developers and power users can quickly display status, weather, or build results without building a full app.

SwiftBar offers a lightweight way to surface script output in macOS’s menu bar, eliminating the need for full app development. It supports macOS Monterey (12) and later, and automatically executes any script placed in its plugin folder, using the filename to set refresh intervals. This reduces overhead for developers and power users, allowing quick monitoring of build status, server health, or weather without terminal distraction.

SwiftBar is a macOS application that turns executable scripts into menu bar plugins. It parses script output into a header for the bar and a body for the dropdown, handling stdout and stderr separately. The plugin API is compatible with BitBar and xbar, and filenames encode refresh intervals (e.g., date.1m.sh). It runs on macOS Monterey (12) and later, and supports nested folders, symlinks, and a .swiftbarignore file.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

SwiftBar BitBar xbar macOS Monterey Homebrew GitHub

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading