mac-sleep-notifier alternatives and similar packages
Based on the "GUI" category.
Alternatively, view mac-sleep-notifier alternatives based on common mentions on social networks and blogs.
-
fyne
Cross platform GUI toolkit in Go inspired by Material Design -
qt
Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly -
webview
Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows) -
robotgo
RobotGo, Go Native cross-platform GUI automation @vcaesar -
app
A package to build progressive web apps with Go programming language and WebAssembly. -
go-astilectron
Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron) -
systray
a cross platfrom Go library to place an icon and menu in the notification area -
sciter
Sciter: the Embeddable HTML/CSS/JS engine for modern UI development -
goqt
Golang bindings to the Qt cross-platform application framework. -
nuklear
This project provides Go bindings for nuklear.h — a small ANSI C GUI library. -
gosx-notifier
gosx-notifier is a Go framework for sending desktop notifications to OSX 10.8 or higher -
Guark
Build awesome Golang desktop apps and beautiful interfaces with Vue.js, React.js, Framework 7, and more... -
go-thrust
Cross Platform UI Kit powered by Blink/V8/Chromium Content Lib -
one-file-pdf
A minimalist Go PDF writer in 1982 lines. Draws text, images and shapes. Helps understand the PDF format. Used in production for reports. -
gowd
Build cross platform GUI apps with GO and HTML/JS/CSS (powered by nwjs) -
trayhost
Cross-platform Go library to place an icon in the host operating system's taskbar. -
mac-activity-tracker
A library to notify about any (pluggable) activity on your machine, and let you take action as needed -
go-appindicator
:traffic_light: Go bindings for libappindicator3 C library -
AppIndicator Go
:traffic_light: Go bindings for libappindicator3 C library -
gio
Gio is a library for writing cross-platform immediate mode GUI-s in Go. Gio supports all the major platforms: Linux, macOS, Windows, Android, iOS, FreeBSD, OpenBSD and WebAssembly.
Clean code begins in your IDE with SonarLint
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of mac-sleep-notifier or a related project?
README
macOS Sleep/ Wake notifications in golang
Inspired from this blog.
This libary notifies through a channel whenever your machine is put to sleep or is woken up. Calling the Start
function will get you a channel on which you receive both Sleep
and Awake
activities.
Installation
go get -u github.com/prashantgupta24/mac-sleep-notifier/notifier
Usage
notifierCh := notifier.GetInstance().Start()
for {
select {
case activity := <-notifierCh:
if activity.Type == notifier.Awake {
log.Println("machine awake")
} else {
if activity.Type == notifier.Sleep {
log.Println("machine sleeping")
}
}
}
}
Example
See example here