Skip to content

Go cross-platform library for sending desktop notifications, alerts and beeps

License

Notifications You must be signed in to change notification settings

gen2brain/beeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beeep

Build Status Go Reference Go Report Card

beeep provides a cross-platform library for sending desktop notifications, alerts and beeps.

Installation

go get -u github.com/gen2brain/beeep

Build tags

  • nodbus - disable godbus/dbus and use only notify-send

Examples

err := beeep.Beep(beeep.DefaultFreq, beeep.DefaultDuration)
if err != nil {
    panic(err)
}
err := beeep.Notify("Title", "Message body", "assets/information.png")
if err != nil {
    panic(err)
}
err := beeep.Alert("Title", "Message body", "assets/warning.png")
if err != nil {
    panic(err)
}

About

Go cross-platform library for sending desktop notifications, alerts and beeps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages