# @rgwch/smartmonview

> A simple frontend for smartmontools

Latest version **0.1.3** (published 2020-07-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install @rgwch/smartmonview
pnpm add @rgwch/smartmonview
yarn add @rgwch/smartmonview
bun add @rgwch/smartmonview
```

## 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.1.3 |
| Published | 2020-07-26 |
| First published | 2020-07-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 53.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | rgwch |
| Maintainers | rgwch |

## Links

- npm: https://www.npmjs.com/package/@rgwch/smartmonview
- Repository: https://gitlab.com/rgwch/smartmonview
- Homepage: https://gitlab.com/rgwch/smartmonview#readme
- Issues: https://gitlab.com/rgwch/smartmonview
- npm.io page: https://npm.io/package/@rgwch/smartmonview

## Dependencies (4)

- [pug](https://npm.io/package/pug.md) ^3.0.0
- [express](https://npm.io/package/express.md) ^4.17.1
- [forever](https://npm.io/package/forever.md) ^3.0.0
- [forever-service](https://npm.io/package/forever-service.md) ^0.5.11

## Recent versions

- 0.1.3 (latest) — 2020-07-26
- 0.1.2 — 2020-07-26
- 0.1.0 — 2020-07-26

## README

## What is it?

A very simple web frontend for the [Smartmontools](https://www.smartmontools.org/). it doesn't give much more than `smartctl -a/-t`, but it allows to do it in a browser.

## Prerequisites

* Linux or macOS computer
* smartmontools installed (e.g. `sudo apt install smartmontools` or `brew install smartmontools`)
* NodeJS 10.x or better installed

## Install

### Just for trying:
```
git clone https://gitlab.com/rgwch/smartmonview
cd smartmonview
npm i
sudo npm start
```
(sudo is required on many systems, since access to S.M.A.R.T functions is restricted)

Navigate the browser to http://servername:5281. It should open with a list of available drives to chose from.

### As a service
Recommended, if you want to access smartmon more frequently

```
npm run build
sudo npm i -g forever
sudo npm i -g forever-service
sudo forever-service install smartmonview --script build/index.js
sudo service smartmonview start
```
That way, smartmonview will run in background, and is automatically restarted on reboot. To stop it, use `sudo service smartmonview stop`. To remove it completely, use `sudo forever-service delete smartmonview`.

## Security advice

Smartmontools runs with root access, and smartmonview gives access to some functions of smartmontools without requiring authentication. So DON'T expose smartmonview's port to the internet and use it only behind a firewall and only within a trusted network where only trustworthy people have access.

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