# mozaik-ext-uptimerobot

> Uptime Robot widget for Mozaïk v1

Latest version **0.1.0** (published 2018-02-21) · 0 weekly downloads

## Install

```sh
npm install mozaik-ext-uptimerobot
pnpm add mozaik-ext-uptimerobot
yarn add mozaik-ext-uptimerobot
bun add mozaik-ext-uptimerobot
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-02-21 |
| First published | 2018-02-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Aerion Technologies |
| Maintainers | aeriontech |

## Links

- npm: https://www.npmjs.com/package/mozaik-ext-uptimerobot
- Repository: https://github.com/aerionTech/mozaik-ext-uptimerobot
- Homepage: https://github.com/aerionTech/mozaik-ext-uptimerobot#readme
- Issues: https://github.com/aerionTech/mozaik-ext-uptimerobot/issues
- npm.io page: https://npm.io/package/mozaik-ext-uptimerobot

## Dependencies (10)

- [mozaik](https://npm.io/package/mozaik.md) ^1.4.4
- [reflux](https://npm.io/package/reflux.md) ^6.4.1
- [convict](https://npm.io/package/convict.md) ^4.0.2
- [babelify](https://npm.io/package/babelify.md) 7.2.0
- [bluebird](https://npm.io/package/bluebird.md) ^3.5.1
- [babel-core](https://npm.io/package/babel-core.md) 6.7.6
- [react-mixin](https://npm.io/package/react-mixin.md) ^4.0.0
- [uptimerobot-apiv2](https://npm.io/package/uptimerobot-apiv2.md) 0.0.2
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) 6.5.0
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) 6.6.0

## Recent versions

- 0.1.0 (latest) — 2018-02-21

## README

# mozaik-ext-uptimerobot
[Uptime Robot](https://uptimerobot.com/) widget for [Mozaïk](http://mozaik.rocks/) v1

## Setup
- Install module from npm:
  ```shell
  npm install mozaik-ext-uptimerobot
  ```
- Register client api by adding to dashboard `src/server.js`:

  ```javascript
  import uptimerobot from 'mozaik-ext-uptimerobot/client';
  mozaik.bus.registerApi('uptimerobot', uptimerobot);
  ```

- Register widgets by adding to dashboard ``src/App.jsx``:

  ```javascript
  import uptimerobot from 'mozaik-ext-uptimerobot';

  Mozaik.Registry.addExtensions({
      uptimerobot
  });
  ```
- Add UPTIMEROBOT_API_KEY to `.env`

- Build the dashboard:

  ```shell
  npm run build-assets
  ```

## Configuring widget
### example

```javascript
{
    type: 'uptimerobot.monitors',
    statuses: "9", // only down monitors
    columns: 1, rows: 1,
    x: 0, y: 1
}
```

### parameters

key           | required | description
--------------|----------|---------------
`statuses`    | no       | If not used, will return all monitors statuses (up, down, paused) in an account. Else, it is possible to define any number of monitor statuses like: statuses="2-9")

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