Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An application laucher by Griffin PowerMate
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
.gitignore
LICENSE
README.md
config.example.json
package.json
powermate.png

README.md

node-powermate-launcher

An application laucher by Griffin PowerMate

Installation

$ npm install node-powermate-launcher

Help

$ npl --help

Usage: app [options]

Options:

  -h, --help                     output usage information
  -V, --version                  output the version number
  -d, --debug                    enables the debug mode
  -c, --config <path>            configuration file path to setup several servers

Configuration

An example of config file:

[
  {
    "label": "Bash commands"
  , "commands": [
      {
        "name": "List"
      , "exec": "ls -la"
      }
    , {
        "name": "Current folder"
      , "exec": "pwd"
      }
    ]
  }
, {
    "label": "Rymshots"
  , "commands": [
      {
        "name": "Rimshot"
      , "exec": "cvlc --novideo ./rimshot.mp3"
      }
    , {
        "name": "Money"
      , "icon": "./money_icon.png"
      , "exec": "cvlc --novideo ./cash-register-05.wav"
      }
    , {
        "name": "Money"
      , "icon": "./mario-coin.png"
      , "exec": "cvlc --novideo ./mario-coin.mp3"
      }
    ]
  }
]

License

Check the LICENSE file

Something went wrong with that request. Please try again.