1.0.4 • Published 7 years ago

dreamcmd v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

DreamCMD

DreamCMD is a NodeJS server that executes a command after a HTTP request is received.

How it works

A http request is sent

GET http://localhost/ping

Then a command get executed

echo pong

Installation

sudo npm install -g dream-cmd

Config.json

The default config.json looks like this

{
  "port": 8080,
  "commands": [
    {
      "path": "/notepad",
      "cmd": "notepad"
    }
  ]
}