Node Webkit Utilities

This project hosts couple of utilities built using NodeWebkit, which will let you have a desktop application using JavaScript.

Utilities:

  • Git Markdown Editor
  • CSS Parser - counts the # of Rules and # of Selectors in a CSS code

Prerequisite

How to?

Run

  • Download/Clone this project
  • Run npm start You should get a custom UI with editor.

Custom code

  • Create a folder.

  • Install Node WebKit

    • Command: npm install nodewebkit - or - for global install npm install nodewebkit -g ( -g stands for global)
  • Install CSS

    • Command: npm install css
  • Install jQuery

    • Command: npm install jquery
  • Install Mark Down

    • Command: npm install markdown
  • Create a package.json file in this folder.

    Code:

     {
        "name": "git-markdown-editor-nodewebkit"
      , "main": "index.html"
      , "description": "Git Markdown Editor NodeWebkit"
      , "scripts": {
        "start": "nodewebkit"
      }
      , "window": {
         "toolbar": false
       , "width": 800
       , "height": 800
      }
     }
  • Run npm start