zig-notify

v0.1.0 Zig Systems & Platform

Cross-platform desktop notifications -- macOS osascript / Linux libnotify

Install

zig fetch --save git+https://github.com/Jesssullivan/zig-notify.git

Overview

Cross-platform notification abstraction in Zig with C FFI -- macOS (osascript) and Linux (libnotify). License: Zlib OR MIT Desktop notifications have completely different APIs on macOS (UNUserNotificationCenter or osascript) and Linux (libnotify/D-Bus). This library provides a single C API that works on both platforms, with urgency level support and proper lifecycle management. - Send notifications: Title, body, and urgency level - Permission handling: Request notification permission (macOS),...
notificationsdesktopfficross-platform