Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/octoblu/meshblu-util
Generate and publish a public key based on meshblu.json credentials
https://github.com/octoblu/meshblu-util
Last synced: 10 days ago
JSON representation
Generate and publish a public key based on meshblu.json credentials
- Host: GitHub
- URL: https://github.com/octoblu/meshblu-util
- Owner: octoblu
- License: mit
- Created: 2015-01-27T18:40:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T17:56:58.000Z (over 7 years ago)
- Last Synced: 2024-08-10T07:51:34.887Z (5 months ago)
- Language: CoffeeScript
- Size: 95.7 KB
- Stars: 2
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Meshblu Util
Generate and publish a public key based on meshblu.json credentials[![Build Status](https://travis-ci.org/octoblu/meshblu-util.svg?branch=master)](https://travis-ci.org/octoblu/meshblu-util)
# Install
```
npm install -g meshblu-util
```# Usage
## Register
Register a new device with meshblu
```
meshblu-util register > meshblu.json
```## Subscribe
Subscribe to the device in meshblu.json
```
meshblu-util subscribe ./meshblu.json
```Subscribe to a device that meshblu.json has permission to listen to
```
meshblu-util subscribe -u 422e55fe-d461-4db8-9554-96b16d5660b5 ./meshblu.json
```## Get
Get your meshblu device
```
meshblu-util get ./meshblu.json
```## Update
Update your meshblu device
```
meshblu-util update -d '{"online": true}' ./meshblu.json
```## Keygen
Generate a secure keypair and update your device's publicKey
```
meshblu-util keygen ./meshblu.json
```