platypush-webext/README.md

34 lines
734 B
Markdown
Raw Normal View History

2020-06-21 18:30:24 +02:00
# Platypush browser extension
This extension allows you to run Platypush commands on remote hosts as well as
2020-07-07 22:22:57 +02:00
custom scripts, build custom actions as scripts that can access both the browser
API and Platypush API, and attach hooks to events generated by remote Platypush systems.
Article on the motivations behind this extensions and some examples to get started: https://medium.com/@automationguru/one-browser-extension-to-rule-them-all-3118dc7f9c9b
2020-06-21 18:30:24 +02:00
## Installation
2020-06-22 01:49:53 +02:00
Install the dependencies:
2020-06-22 01:34:23 +02:00
```bash
2020-06-22 01:49:53 +02:00
npm install
```
Dev installation (requires npm+Vue cli tools):
```bash
npm run build:dev
2020-06-22 01:34:23 +02:00
```
Production installation (requires npm):
2020-06-21 18:30:24 +02:00
```bash
npm run build
```
2020-06-22 01:49:53 +02:00
Generate the extension .zip file:
2020-06-21 18:30:24 +02:00
```bash
npm run build-zip
2020-06-21 18:30:24 +02:00
```