CLI
Use the BeeBuzz CLI when the sender can run a command and you want the notification content encrypted before upload.
The CLI fetches your paired device public keys, encrypts locally, and sends ciphertext to BeeBuzz.
Install
Section titled “Install”With Homebrew:
brew tap beebuzz/tap https://codeberg.org/beebuzz/homebrew-tapbrew install beebuzzWith Go:
go install go.beebuzz.app/cli/cmd/beebuzz@latestYou can also download binaries from the CLI releases.
Check the install:
beebuzz versionConnect
Section titled “Connect”Create an API token in the BeeBuzz web app, then run:
beebuzz connectPaste the API token when prompted.
For hosted BeeBuzz, the CLI defaults to https://api.beebuzz.app.
beebuzz send "Build finished"Add a body:
beebuzz send "Build failed" "Deploy exited with code 1"Send to a topic:
beebuzz send --topic alerts "CPU high"Set priority:
beebuzz send --priority high "Door opened"Attachments
Section titled “Attachments”Attach a local file:
beebuzz send --attachment ./snapshot.jpg "Motion detected"Inline attachments sent by the CLI are encrypted before upload.
Attachment content is limited to 1 MiB.
Profiles
Section titled “Profiles”Profiles let one CLI install talk to more than one BeeBuzz account or instance.
beebuzz profile listbeebuzz profile use workbeebuzz profile show workbeebuzz profile delete workEnvironment Variables
Section titled “Environment Variables”BEEBUZZ_API_URLoverrides the API URLBEEBUZZ_API_TOKENprovides the token without an interactive prompt
Precedence is:
- flags
- environment variables
- profile
- defaults
Common Issues
Section titled “Common Issues”If the CLI cannot send:
- confirm the API token belongs to the same account as the paired device
- confirm the token can send to the target topic
- run
beebuzz keysto refresh paired device keys - check that the receiving device is still paired