karimtn / electron-run-shell-example

An example of a standalone HTML5 app using GitHub's Electron project (Chrome Engine + Node.js). This shows running a bash shell as a child process and pouring the output into HTML5 elements.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An HTML5 stand alone app using GitHub Electron (Chrome engine + Node.js) -- this is a GUI wrapper example that runs and process output of a bash shell command.

SETUP

  1. Install GitHub's Electron
  2. Clone this repository
  3. initialize node modules
  4. run application

Install GitHub's Electron

$ sudo npm install electron-prebuilt -g

Clone this repository

$ mkdir ~/projects/
$ git clone https://github.com/martinjackson/electron-run-shell-example.git
$ cd electron-run-shell-example

initialize node modules

$ npm install

run application

$ npm start
--- or ---
$ electron .

About

An example of a standalone HTML5 app using GitHub's Electron project (Chrome Engine + Node.js). This shows running a bash shell as a child process and pouring the output into HTML5 elements.


Languages

Language:JavaScript 63.1%Language:HTML 15.6%Language:Batchfile 10.7%Language:Shell 10.6%