Skip to content
/ bro Public

Your friendly, personal, multi-purpose buddy written in Go

License

Notifications You must be signed in to change notification settings

threeal/bro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bro

build status tests status coverage status

Your friendly, personal, multi-purpose buddy written in Go.

Build

  • Requirements: Go, Protocol Compiler (Protobuf's protoc).

  • Generate sources from *.proto files.

    go generate ./pkg/...
  • (Optional) Build targets.

    go build ./cmd/...

Usage

Backend Server

  • Run backend server.

    go run ./cmd/bro-backend spin

    You will be prompted to input the listen address if there is no config file. The config file will be located in $HOME/.bro/backend_config.json.

  • Show help.

    go run ./cmd/bro-backend

CLI Client

  • Run CLI client.

    go run ./cmd/bro --help

    You will be prompted to input the backend address if there is no config file. The config file will be located in $HOME/.bro/config.json.