Send private messages and highlights to your Android, iOS or Windows 10 devices via the Pushsafer service (https://www.pushsafer.com)
##How to send push-notification out of weechat with Pushsafer
Pushsafer.com make it easy and safe to send & receive push-notifications to your
- Android devices
- iOS devices (iPhone, iPad, iPod Touch, Watch)
- Windows 10 Phone & Desktop
- Browser (Chrome & Firefox)
Load the pushsafer-weechat.rb plugin into Weechat. Place it in the ~/.weechat/ruby directory:
/ruby load https://raw.githubusercontent.com/appzer/pushsafer-weechat/master/pushsafer-weechat.rb
It also requires a Pushsafer account and Ruby, the Ruby OpenSSL libraries, and RubyGems installed on your host.
Set your Pushsafer private key.
/set plugins.var.ruby.pushsafer-weechat.privatekey XXXXXXXXXXXXXXXXXXX
The following parameters you can modify, further informations you will find on https://www.pushsafer.com/en/pushapi
-
plugins.var.ruby.pushsafer-weechat.privatekey
The private or alias key for your Pushsafer service. Defaults to an empty string and must be set for pushsafer-weechat to work.
-
plugins.var.ruby.pushsafer-weechat.interval
The interval between notifications. Doesn't notify if the last
notification was within x seconds.
Default: 60 seconds
-
plugins.var.ruby.pushsafer-weechat.sound
Set your notification sound options
a number 0-28 0 = silent, blank = device default
Default: blank (Sound will be device default)
-
plugins.var.ruby.pushsafer-weechat.device
Set your notification device
your device or device group id, if empty = to all devices
Default: blank
-
plugins.var.ruby.pushsafer-weechat.icon
Set your notification icon
a number 1-98
Default: blank
-
plugins.var.ruby.pushsafer-weechat.vibration
Set your notification vibration
a number 0-3
Default: blank
-
plugins.var.ruby.pushsafer-weechat.time2live
Set your notification time to live
a number 0-43200: Time in minutes, after which message automatically gets purged.
Default: blank
-
plugins.var.ruby.pushsafer-weechat.url
Set your notification url
a url or url scheme
Default: blank
-
plugins.var.ruby.pushsafer-weechat.urltitle
Set your notification url title
title of url
Default: blank