Add the following code to your project's shard.yml under:
dependencies
to use in production
- OR -
development_dependencies
to use in development
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!
Add this to your application's shard.yml
:
dependencies:
notify:
github: woodruffw/notify.cr
require "notify"
notifier = Notify.new
notifier.notify "hello", body: "<b>world!</b>"
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)