noti

Monitor a process and trigger a notification.

MIT License

Downloads
26
Stars
4.6K
Committers
25

Bot releases are hidden (Show)

noti - 3.4.0

Published by variadico almost 5 years ago

Added

  • Support to read message body from stdin
  • Support for keybase

Removed

  • Support for HipChat

Changed

  • Noti's exit status is now based on executed subcommand's status
  • Shell login flag is no longer passed when executing an alias
noti - 3.3.0

Published by variadico about 5 years ago

Added

  • Support for Zulip.
  • Support for Telegram.

Fixed

  • The name "noti" was appearing twice in Slack.

Deprecated

  • Hipchat will be removed in next release.
noti - 3.2.0

Published by variadico over 5 years ago

Added

  • Support for Mattermost.
  • Support for Slack App URL.
  • Support for pollPID for BSD and Windows.

Removed

  • Installation by go get, can revisit in Go 1.14.

Fixed

  • Incorrect deprecation mapping.
noti - 3.1.0

Published by variadico over 6 years ago

Added

  • Pushbullet config key to specify a target device.

Fixed

  • --message let's you change the message again.
noti - 3.0.0

Published by variadico almost 7 years ago

Added

  • .noti.yaml config file supports current notifications.
  • Speech notification support for Windows.
  • Man pages for noti and noti.yaml.
  • Configuration option for Slack bot name.

Changed

  • -b=false no longer has to be passed to disable banner when enabling
    multiple notifications.
  • --help has been simplified.
  • --pwatch now polls PID every 2 seconds instead of every 1 second.
  • Version omits v prefix, e.g. 3.0.0 instead of v3.0.0.

Deprecated

  • In an effort to normalize and allow future configuration for different
    services, certain environment variables have been deprecated.
| Deprecated           | Current                        |
---------------------------------------------------------
| NOTI_SOUND           | NOTI_NSUSER_SOUNDNAME          |
| NOTI_SOUND_FAIL      | NOTI_NSUSER_SOUNDNAMEFAIL      |
| NOTI_VOICE           | NOTI_SAY_VOICE                 |
| NOTI_VOICE           | NOTI_ESPEAK_VOICENAME          |
| NOTI_VOICE           | NOTI_SPEECHSYNTHESIZER_VOICE   |
| NOTI_BC_INCOMING_URI | NOTI_BEARYCHAT_INCOMINGHOOKURI |
| NOTI_HIPCHAT_TOK     | NOTI_HIPCHAT_ACCESSTOKEN       |
| NOTI_HIPCHAT_DEST    | NOTI_HIPCHAT_ROOM              |
| NOTI_PUSHBULLET_TOK  | NOTI_PUSHBULLET_ACCESSTOKEN    |
| NOTI_PUSHOVER_TOK    | NOTI_PUSHOVER_TOKEN            |
| NOTI_PUSHOVER_DEST   | NOTI_PUSHOVER_USER             |
| NOTI_SLACK_TOK       | NOTI_SLACK_TOKEN               |
| NOTI_SLACK_DEST      | NOTI_SLACK_CHANNEL             |

Removed

  • Single-dash long options. Long flags must be passed with two dashes, e.g.
    --version.
noti - v2.7.0

Published by variadico about 7 years ago

Deprecated

  • Single-dash long options. Any scripts using -banner or -title should be
    updated to use --banner or --title instead.
noti - v2.6.0

Published by variadico over 7 years ago

Added

  • Support for Pushsafer.
noti - v2.5.0

Published by variadico almost 8 years ago

Added

  • Support for Simplepush.

Fixed

  • Formatting bug in help.
noti - v2.4.0

Published by variadico about 8 years ago

Added

  • Support for BearyChat
noti - v2.3.0

Published by variadico about 8 years ago

Added

  • Banner support for Windows 10.

Fixed

  • Aliases in Bash and ZSH now work.
noti - v2.2.2

Published by variadico about 8 years ago

Fixed

  • noti now compiles on Windows.

Download

# For macOS.
curl -L https://github.com/variadico/noti/releases/download/v2.2.2/noti2.2.2.darwin-amd64.tar.gz | tar -xz

# For Linux.
curl -L https://github.com/variadico/noti/releases/download/v2.2.2/noti2.2.2.linux-amd64.tar.gz | tar -xz

GPG

gpg --keyserver pgp.mit.edu --recv-keys 0x53A78C8C711C09EF
curl -L https://github.com/variadico/noti/releases/download/v2.2.2/noti2.2.2.darwin-amd64.tar.gz.gpg | gpg --decrypt | tar -xz
noti - v2.2.1

Published by variadico about 8 years ago

Added

  • Add notification config docs to repo.

Fixed

  • Bug that caused noti to not work on macOS Sierra.

Notes

Today's binaries are compiled on Go 1.7.

The easy way to grab a binary.

# For macOS.
curl -L https://github.com/variadico/noti/releases/download/v2.2.1/noti2.2.1.darwin-amd64.tar.gz | tar -xz

# For Linux.
curl -L https://github.com/variadico/noti/releases/download/v2.2.1/noti2.2.1.linux-amd64.tar.gz | tar -xz
noti - v2.2.0

Published by variadico over 8 years ago

Added

  • -pwatch flag to trigger notification after PID disappears.
  • Check for updates during -v flag.

Changed

  • Install command changed to: go get -u github.com/variadico/noti/cmd/noti
noti - v2.1.1

Published by variadico over 8 years ago

Added

  • Tests.

Fixed

  • Setting -t or -m will now take precedence over utility name.

Changed

  • Slackbot icon is now a rocket.
  • If utility fails, noti will exit 1.
  • Utility name default now includes subcommand too.
  • Improved error handling for notifiers that shell out.
noti - v2.1.0

Published by variadico over 8 years ago

Added

  • NOTI_SOUND_FAIL tells Noti which sound to play for banner notifications
    when a utility fails on OS X.
  • NOTI_SOUND and NOTI_SOUND_FAIL can be set to _mute for silent
    notifications.
  • HipChat notifications.
  • Pushover notifications.
  • Noti Wiki.

Changed

  • On OS X, banner notifications will play different sounds depending on the
    utility's success or failure, instead of the same sound for both.
  • NOTI_SLACK_DEST no longer defaults to "#random". It must be manually set.
noti - v2.0.0

Published by variadico over 8 years ago

Added

  • Speech notifications.
  • Slack notifications.
  • Optionally set default notification type(s) through NOTI_DEFAULT env var.
  • Multi-notification support.
  • Other configuration through environment variables.
  • Contributing document.
  • Change log.

Changed

  • On OS X, the notification sound must now be set in the environment variable,
    NOTI_SOUND.
  • On OS X, instead of AppleScript, banner notifications are triggered with
    Object-C, which shows (nicer) Terminal icon.

Removed

  • -f flag for OS X. This caused unexpected behavior for people who use iTerm2.
  • OS X-specific flags and usage text from Linux and FreeBSD help.
noti - v1.3.0

Published by variadico almost 9 years ago

Added libnotify support, so now Linux and FreeBSD can have notifications too!

noti - v1.2.0

Published by variadico almost 9 years ago

Added -p flag to send Pushbullet notifications to all devices.

noti - v1.1.0

Published by variadico about 9 years ago

Added -f flag to bring Terminal.app to the foreground.

noti -

Published by variadico over 9 years ago

Initial release.