# po-notify

> CLI to send Pushover messages

Latest version **2.0.0** (published 2018-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install po-notify
pnpm add po-notify
yarn add po-notify
bun add po-notify
```

Provides the command `po-notify`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-11-18 |
| First published | 2018-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Max Kueng |
| Maintainers | maxkueng |
| Keywords | po, pushover, notify, notification, message, messaging, cli, commandline |

## Links

- npm: https://www.npmjs.com/package/po-notify
- Repository: https://github.com/maxkueng/po-notify
- Homepage: https://github.com/maxkueng/po-notify#readme
- Issues: https://github.com/maxkueng/po-notify/issues
- npm.io page: https://npm.io/package/po-notify

## Dependencies (3)

- [rucola](https://npm.io/package/rucola.md) ^1.1.4
- [get-stdin](https://npm.io/package/get-stdin.md) ^6.0.0
- [pushover-notifications](https://npm.io/package/pushover-notifications.md) ^1.2.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-11-18

## README

po-notify
=========

A command-line tool to send [Pushover][po] messages.

## Install

```sh
npm install -g po-notify
```

## Usage

```sh
po-notify [options] --message "Some message"
po-notify [options] "Some message"
echo "Some message" | po-notify [options]
```

### Options

 - `-t, --token TOKEN [required]`: Pushover API token
 - `-u, --user KEY [required]`: User or group key of the recipient
 - `-m, --message MESSAGE` [required]: Message body
 - `-t, --title TITLE [optional]`: Message title
 - `-p, --priority lowest|low|normal|high|emergency [optional; default: normal]`: Message priority
 - `-r, --retry SECONDS [optional]`: Retry interval. If priority is emergency this is required
 - `-e, --expire SECONDS [optional]`: Message expiration. If priority is emergency this is required
 - `-d, --device DEVICE [optional]`: Device name

All options can also be put in a configuration file in `~/.config/ponotify` or
`~/.ponotifyrc`. This can be in INI, YAML or JSON format. It's recommended that
you put `token` and `user` in a config file and provide the other options as
command-line arguments.

`~/.ponotifyrc`
```ini
token = af7sdf86sdg87dfg58df75g8d7gfdg
user = gd8fu8ewfu8fndsusadf8sdfu8fdus
```

Alternatively, you can use environment variables too:

```sh
export PONOTIFY_TOKEN=af7sdf86sdg87dfg58df75g8d7gfdg
export PONOTIFY_USER=gd8fu8ewfu8fndsusadf8sdfu8fdus

po-notify "Job completed"
```

## Example

```sh
ansible-playbook somestuff.yml && po-notify -t "Ansible done" "somestuff.yml completed successfully. Nice!"
```

## License

Copyright (c) 2017 - 2018 Max Kueng

MIT License


[po]: https://pushover.net/

---
_Source: https://npm.io/package/po-notify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
