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.
-
webview
Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows). -
qt
Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly -
go-astilectron
DISCONTINUED. Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron) -
Guark
Build awesome Golang desktop apps and beautiful interfaces with Vue.js, React.js, Framework 7, and more... -
energy
Energy is a framework developed by Go language based on CEF (Chromium Embedded Framework) for developing cross-platform desktop applications for Windows, Mac OS X, and Linux -
gosx-notifier
gosx-notifier is a Go framework for sending desktop notifications to OSX 10.8 or higher -
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. -
Go-Gui
Build modern, cross-platform applications entirely in Go. No browser runtime. No JavaScript. No HTML or CSS. -
mac-activity-tracker
A library to notify about any (pluggable) activity on your machine, and let you take action as needed -
Go-Glyph
High-performance text rendering library for Go, powered by Pango, FreeType, and FontConfig. Provides text shaping, layout, rasterization, and editing with pluggable rendering backends. -
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.
Kargo - Stop Scripting Promotions. Start Shipping with Kargo
* 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