Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wobsoriano/go-mac-notifier
Send desktop notifications to OSX 10.9 or higher.
https://github.com/wobsoriano/go-mac-notifier
go golang
Last synced: about 2 months ago
JSON representation
Send desktop notifications to OSX 10.9 or higher.
- Host: GitHub
- URL: https://github.com/wobsoriano/go-mac-notifier
- Owner: wobsoriano
- License: mit
- Created: 2022-04-10T05:19:26.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T05:26:31.000Z (over 2 years ago)
- Last Synced: 2024-10-02T08:52:05.616Z (2 months ago)
- Topics: go, golang
- Language: Go
- Homepage:
- Size: 57.6 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - go-mac-notifier
README
# go-mac-notifier
Send desktop notifications to OSX 10.9 or higher.
![](sample.png)
## Install
```bash
$ go get github.com/wobsoriano/go-mac-notifier
```## Usage
```go
package mainimport (
"log""github.com/wobsoriano/go-mac-notifier"
)func main() {
options := notifierOptions{
title: "News",
text: "You are amazing.",
subtitle: "My subtitle",
sound: "Hero", // Check ~/Library/Sounds or /System/Library/Sounds for available sounds
}err := notifier.DisplayNotification(options)
}
```## License
MIT