woodruffw / notify.cr

A Crystal library for desktop notifications.

Home Page:https://woodruffw.github.io/notify.cr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notify.cr

license Build Status

A Crystal library for Desktop Notifications compatible notification daemons. Uses DBus internally.

Important: Platforms with notification systems that don't use DBus/Desktop Notifications are currently not supported. If you'd like support for one of these platforms (e.g., macOS and Windows), please contribute one!

Installation

Add this to your application's shard.yml:

dependencies:
  notify:
    github: woodruffw/notify.cr

Usage

require "notify"

notifier = Notify.new

notifier.notify "hello", body: "<b>world!</b>"

Contributing

  1. Fork it (https://github.com/woodruffw/notify/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • woodruffw William Woodruff - creator, maintainer

About

A Crystal library for desktop notifications.

https://woodruffw.github.io/notify.cr/

License:Other


Languages

Language:Crystal 100.0%