This repo contains a package for creating SwiftBar plugins in Go.
It is forked by me chew-z from go-bitbar and all credits should go there. I have just added logic for Swiftbar's WebView component. And in the future I hope to add some more logic (Swiftbar has some extended capabilities over original Bitbar and xbar (Bitbar reboot)) and push PR.
Creating a BitBar plugin is as simple as (see the godocs for more details):
package main
import "github.com/johnmccabe/go-bitbar"
func main() {
app := bitbar.New()
app.StatusLine("Hello")
submenu := app.NewSubMenu()
submenu.Line("World!")
app.Render()
}
- vmpooler-bitbar is used to monitor and manage VMs running on Puppetlabs vmpooler
- openfaas-bitbar is used to monitor and manage functions running on OpenFaaS
- If you are using go-bitbar please reach out to be added to this list