go-bitbar icon indicating copy to clipboard operation
go-bitbar copied to clipboard

Go library for building BitBar plugins

go-bitbar logo

Travis Badge Go Report Card Badge GoDoc Badge

This repo contains a package for creating BitBar plugins in Go.

Usage

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()
}

Examples