Template for building StatusBar plugins.
- Click "Use this template" on GitHub to create your plugin repository
- Clone your new repo
- Customize the plugin (see below)
make devto build and install locally for testing
-
Makefile — Update these variables at the top:
PLUGIN_NAME— Your Swift module name (e.g.WeatherPlugin)PLUGIN_ID— Reverse-domain identifier (e.g.com.example.weather)VERSION— Semver version string
-
Package.swift — Rename the product, target, and module to match
PLUGIN_NAME -
Sources/ — Rename the
MyPlugindirectory to match your module name, then update the source files -
Plugin struct — Update
PluginManifestid/name and add your widgets
| Target | Description |
|---|---|
make build | Release build via SPM |
make bundle | Build + create .statusplugin bundle |
make package | Bundle + create .statusplugin.zip |
make dev | Bundle + install to ~/.config/statusbar/plugins/ |
make clean | Remove build artifacts |
# Edit code, then: make dev # Plugin is installed locally — restart StatusBar or use Dev Mode to loadReleases are fully automated via GitHub Actions:
- Go to Actions → Release in your GitHub repository
- Click "Run workflow" and select a bump type (
patch/minor/major) - The workflow automatically calculates the next version, builds, packages, creates a git tag, and publishes a GitHub Release
- macOS 26+
- Swift 6.2 / Xcode 26 beta
- StatusBarKit 1.0.0+