Push notifications for desktop platforms

I currently use countly for desktop (macos, linux, windows) to track user events. Working well but is there a way to integrate push notifications? I understand I'd be responsible for generating the UI but is there an API I can connect the app to and receive notifications either from a push or through polling?

Currently Countly push notifications work with APNS/FCM only, hence it doesn't really support desktop app type push notifications. You would need to write a plugin for this (maybe using node-notifier for a general purpose, multi-platform desktop notifications library).