# ontopic

> Display SNS messages on your terminal

Latest version **0.0.3** (published 2020-02-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install ontopic
pnpm add ontopic
yarn add ontopic
bun add ontopic
```

Provides the command `ontopic`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-02-03 |
| First published | 2020-01-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 209 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 24 |
| Author | Andrea Pivetta |
| Maintainers | ziggy42 |
| Keywords | aws, sns, sqs, cli |

## Links

- npm: https://www.npmjs.com/package/ontopic
- Repository: https://github.com/ziggy42/ontopic
- Homepage: https://github.com/ziggy42/ontopic#readme
- Issues: https://github.com/ziggy42/ontopic/issues
- npm.io page: https://npm.io/package/ontopic

## Dependencies (4)

- [uuid](https://npm.io/package/uuid.md) ^3.4.0
- [chalk](https://npm.io/package/chalk.md) ^3.0.0
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.610.0
- [argparse](https://npm.io/package/argparse.md) ^1.0.10

## 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

- 0.0.3 (latest) — 2020-02-03
- 0.0.2 — 2020-01-31
- 0.0.1 — 2020-01-31

## README

![Node.js CI](https://github.com/ziggy42/ontopic/workflows/Node.js%20CI/badge.svg)

# ontopic

`ontopic` let's you listen to [SNS](https://aws.amazon.com/sns) notifications from you command line.  
It does so by creating an [SQS](https://aws.amazon.com/sqs) queue subscribed to the topic and polling it. 
Before the process exits the created resources are removed.  

![Demo](.github/demo/demo.gif)

You must have your `AWS` account correctly configured on your machine for `ontopic` to work.

## Installation
```
npm install -g ontopic
```

## Usage
Basic usage:
```
ontopic <TOPIC_ARN>
```

For more see `--help`:
```
$ ontopic --help
usage: ontopic [-h] [-v] [-r REGION] topicArn

Listen to SNS notifications

Positional arguments:
  topicArn              The SNS Topic ARN to subscribe to.

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -r REGION, --region REGION
                        AWS region to use for the queue. If absent, it will 
                        be set to the environment variable AWS_DEFAULT_REGION,
                        AWS_REGION or defaulted to eu-central-1.
```

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