• Stars
    star
    152
  • Rank 244,685 (Top 5 %)
  • Language
    JavaScript
  • Created about 11 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ป An installer for node-webkit

nodewebkit Build Status

An installer for node-webkit.

node-webkit is an app runtime based on Chromium and node.js. For building desktop applications that will run on OSX, Windows and Linux.

NPM

ATTENTION

node-webkit was renamed to nw.js as of version 0.12.0.
The new and official installer for nw.js is now npm install nw and the repo is located at github.com/nwjs/npm-installer

All future releases >= 0.12.0 will be released through nw.

usage

Install locally to your project with: npm install nodewebkit and then in your package.json add a script:

{
  "scripts": {
    "start": "nodewebkit"
  }
}

Now it will run your local project when you type npm start.

If your project is in another folder, add the path to the project "start": "nodewebkit path/to/app".

You could also call the binary directly with node_modules/.bin/nodewebkit instead of adding to your package.json.

global

You can also install globally with npm install nodewebkit -g and then in any project type nodewebkit to run the project. Installing locally is recommended though as each project can have its own dependent version of node-webkit.

example

If you want a really quick example try this:

  1. git clone https://github.com/zcbenz/nw-sample-apps && cd nw-sample-apps
  2. npm install nodewebkit
  3. "node_modules/.bin/nodewebkit" file-explorer

and now you should see a file explorer demo app.

command line options

There are a few (platform-specific) arguments you can pass to the nodewebkit executable to customize your node-webkit application:

  • --mac_plist <path-to-plist-file>: (OS X only) Copies the given file to Info.plist in the app bundle. This lets you do things like change your app's name and point to a different icon.

  • --mac_icon <path-to-icns-file>: (OS X only) Copies the given .icns file to the Resources/ dir in the app bundle. You will need to point to the file with a custom plist file as well (see --mac_list)

NOTE: These options will keep the copied files in the app bundle for as long as the bundle is on the filesystem (they're not deleted between app invocations). As a result, they're not recommended if you installed nodewebkit globally using -g. Also note that OS X caches these files, so you may need to manually clear these cached files during development.

install a specific version of node-webkit

To install a spcific version of node-webkit use npm with the specific version: npm install [email protected]

Please note: This npm package version tracks the version of node-webkit that will be installed, with an additional build number that is used for revisions to the installer. As such 0.9.2-1 and 0.9.2-2 will both install [email protected] but the latter has newer changes to the installer.

You may use npm view nodewwebkit versions toย view theย list of available versions.

finding the path to the node-webkit binary

If you would like to programmatically retrieve the path to the node-webkit binary use:

var findpath = require('nodewebkit').findpath;
var nwpath = findpath();
// nwpath will equal the path to the binary depending on your environment

using a proxy with or without authentication

If you are behind a proxy server you have to set an environment variable http_proxy with proxy servers url:

export http_proxy="http://username:[email protected]:8080"

or

export http_proxy="http://myproxy.com:8080"

license

node-webkit's code and this installer use the MIT license.

More Repositories

1

webpack-stream

๐Ÿน Run webpack through a stream interface
JavaScript
1,392
star
2

gaze

๐Ÿ”ฎ A globbing fs.watch wrapper built from the best parts of other fine watch libs.
JavaScript
1,155
star
3

letswritecode

๐ŸŽ“ code examples for Let's Write Code
JavaScript
792
star
4

napa

๐Ÿท A helper for installing stuff without a package.json with npm.
JavaScript
412
star
5

grunt-hub

๐Ÿ— A Grunt task to watch and run tasks on multiple Grunt projects
JavaScript
194
star
6

on-load

On load/unload events for DOM elements using a MutationObserver
JavaScript
113
star
7

workerify

Transform web workers into browserified inline Blobs with browserify.
JavaScript
113
star
8

yo-yoify

Transform choo, yo-yo or bel template strings into pure and fast document calls
JavaScript
111
star
9

voxel-drone

๐ŸŽฒ๐Ÿš An AR Drone simulator in voxeljs.com
JavaScript
99
star
10

base-element

๐Ÿ”ฐ An element authoring library for creating standalone and performant elements.
JavaScript
81
star
11

testron

๐Ÿ”Œ CI your client side tests with Electron
JavaScript
71
star
12

es6-loader

ES6 module loader for webpack
JavaScript
61
star
13

grunt-benchmark

๐Ÿ—โŒš Grunt task for benchmarking
JavaScript
60
star
14

atlaspack

๐ŸŒŒ Pack images into a texture atlas.
JavaScript
50
star
15

csv-viewer

A WIP CSV viewer element.
JavaScript
49
star
16

vinyl-named

๐Ÿ’ฝ Give vinyl files arbitrary names.
JavaScript
46
star
17

fs-explorer

A WIP file system explorer element.
JavaScript
44
star
18

grunt-beep

๐Ÿ—๐Ÿ’ฅ It beeps. What more do you need?
JavaScript
37
star
19

posix-tools

๐Ÿ”ง A collection of pure JavaScript POSIX-like tools
JavaScript
36
star
20

grunt-ejs

A grunt task for rendering ejs templates.
JavaScript
31
star
21

ember-webpack-resolver

An Ember resolver for use with webpack
JavaScript
31
star
22

grunt-gulp

Run gulp tasks through declarative Grunt config
JavaScript
31
star
23

voxel-sky

๐ŸŽฒ๐ŸŒ•โ˜€๏ธ A sky for voxeljs.com
JavaScript
26
star
24

view-list

๐Ÿ“œ An infinite scrolling list view element built on a virtual DOM.
JavaScript
24
star
25

voxel-snow

๐ŸŽฒโ„๏ธ Let it voxel.js snow!
JavaScript
24
star
26

voxel-texture

๐ŸŽฒ๐ŸŒ… A texture helper for http://voxeljs.com.
JavaScript
24
star
27

cakebox

A Dropbox API Plugin for CakePHP 2.x
PHP
23
star
28

grunt-docs

A grunt plugin to compile using DocPad.
JavaScript
23
star
29

webpackify

Use webpack through a Browserify plugin
JavaScript
22
star
30

resize-event

Detect resize on an element without polling or iframes
JavaScript
22
star
31

base-router

๐Ÿš‰ A simple and portable router for the client and server.
JavaScript
21
star
32

modal-element

๐Ÿ”ฒ A basic modal element built on a virtual DOM.
JavaScript
21
star
33

navelgazer

๐ŸŠ๐Ÿ”ฎ A super fast, light weight, simple file watcher and platform layer for gaze.
C++
21
star
34

voxel-virus

๐ŸŽฒ๐Ÿ‘พ Spread a virus in voxel.js
JavaScript
20
star
35

grunt-spell

๐Ÿ—๐Ÿ”ค A Grunt plugin for spellchecking
JavaScript
20
star
36

level-rest

๐Ÿ“Š๐Ÿ’ค A REST adapter for LevelUP
JavaScript
20
star
37

tune

๐ŸŽถ Tune up baudio
JavaScript
20
star
38

userhome

๐Ÿ  A platform independent path to the user's home.
JavaScript
19
star
39

timecat.us

โฐ๐Ÿฑ time cat - everyone's favorite game
JavaScript
19
star
40

browser-module-cache

Caches browserify-cdn modules using level.js
JavaScript
18
star
41

voxel-critter

๐ŸŽฒ๐Ÿ€ Make your voxelbuilder.com critter come to life!
JavaScript
17
star
42

dontkry.com

โ›”๐Ÿ˜ข My website
JavaScript
16
star
43

craft

๐Ÿ”จ An HTML5 crafting API.
JavaScript
16
star
44

scriptify

๐Ÿ“ƒ Browserify inline script tags in HTML
JavaScript
16
star
45

ndthree

The unholy union of three.js and Mikola Lysenko's ndarrays.
JavaScript
15
star
46

voxel-share

Take a snapshot of voxel.js and share on imgur/twitter
JavaScript
14
star
47

animate-styles

Composable CSS Animations Built On animate.css
JavaScript
14
star
48

tic

โŒ› setInterval/setTimeout using a delta tick. Useful for timing things with games.
JavaScript
14
star
49

voxel-avatar

Overlay an image or video on a minecraft skin in voxel.js
JavaScript
12
star
50

grunt-minjson

A Grunt plugin for minifying json files.
JavaScript
11
star
51

whatever_modules

โ“ Finally! We can rename the `node_modules` folder to whatever we want. The tyranny is over! Now we can put whatever modules we want in there! Wooo!
JavaScript
11
star
52

CakePHP-Wordpress-Component

THIS REPOSITORY IS DEPRECATED
PHP
11
star
53

voxel-portal-gun

A portal gun in voxel.js
JavaScript
11
star
54

first-person-camera

A generic first person camera for WebGL.
JavaScript
10
star
55

blaster

๐Ÿ”ซ A router for generating a static site that can turn into a single page app
JavaScript
10
star
56

attach-css

๐Ÿ’… Localizes CSS based on a virtual DOM tree.
JavaScript
10
star
57

computed-proxy

Computed properties with JavaScript Proxy
JavaScript
10
star
58

jmpress.js

This repo has moved! The repo you are looking for is now at jmpressjs/jmpress.js.
10
star
59

dtype

Return a data type from a string representing the type
JavaScript
9
star
60

button-styles

Modular CSS button styles
JavaScript
9
star
61

voxel-clouds

๐ŸŽฒโ˜๏ธ Clouds for voxel.js
JavaScript
9
star
62

oven

A CakePHP 2 Re-Baker and CMS Plugin / BETA
PHP
9
star
63

voxel-trajectory

Calculate trajectories in voxel.js
JavaScript
9
star
64

grunt-jam

A Grunt task for compiling Jam packages
JavaScript
8
star
65

voxel-throw

Pick up and throw voxels in voxel.js
JavaScript
8
star
66

ember-templates-loader

Load templates into Ember with webpack.
JavaScript
8
star
67

freshcake

FreshBooks API Wrapper for CakePHP
PHP
8
star
68

cake-grunt-compass

An example CakePHP app that uses Grunt, Compass and JamJS.
JavaScript
8
star
69

grunt-openport

A grunt plugin to find open ports
JavaScript
8
star
70

filepicker-element

An button for opening the file picker dialog and returning the files picked.
JavaScript
8
star
71

locastore

๐Ÿ‘ A localStorage wrapper that falls back to memory in private browsing mode.
JavaScript
7
star
72

voxel-ssao

Experimental SSAO for voxel.js
JavaScript
6
star
73

voxel-tile

Load google map or open street map tiles into http://voxeljs.com.
JavaScript
6
star
74

voxel-infinite

A WIP infinite voxel world generator
JavaScript
5
star
75

grunt-net

Run grunt tasks over a network using dnode.
JavaScript
5
star
76

voxel-debug

Debug helpers for voxel.js
JavaScript
5
star
77

voxel-camera

A video camera for voxeljs.com
JavaScript
5
star
78

webpack-yo-yo

An example using yo-yo with webpack
JavaScript
5
star
79

gruntfile

Gruntfile helper for making modular gruntfiles.
JavaScript
5
star
80

flatearth

Flatten all your nested deps just like the earth.
JavaScript
5
star
81

CakePHP-Dropbox-Component

THIS REPOSITORY IS DEPRECATED
PHP
4
star
82

drone-hud

A WIP HUD for drone-video (https://github.com/TooTallNate/node-drone-video)
JavaScript
4
star
83

twitterbootcake

Twitter Bootstrap CakePHP Admin Theme
PHP
4
star
84

leveler

A streaming stat leveling API.
JavaScript
4
star
85

dom-tilemap

Render a tilemap from a ndarray to the DOM.
JavaScript
4
star
86

eatcake

A convenient way to install CakePHP with Composer.
PHP
4
star
87

willitmerge

A command line tool to check if pull requests are mergeable.
JavaScript
4
star
88

gamescript

an event based game engine
JavaScript
4
star
89

grunt-step

๐Ÿ—๐Ÿพ Add confirmation steps to your Grunt flow.
JavaScript
4
star
90

grunt-required

A Grunt task for detecting required modules and option to automatically install with npm.
JavaScript
4
star
91

base-svg-element

A layer on base-element for SVG elements.
JavaScript
3
star
92

cruveejs

cruveejs: A Cruvee API Wrapper for NodeJS
JavaScript
3
star
93

shama

Things for helping me build other things.
JavaScript
3
star
94

grunt-willitmerge

A Grunt plugin to check if open Github pull requests can be merged.
JavaScript
3
star
95

checkbox-element

โ˜‘๏ธ A basic checkbox element built on a virtual DOM.
JavaScript
3
star
96

beep_game

JavaScript
3
star
97

voxel-settings

voxel.js setting config for cettings
JavaScript
3
star
98

metamorph

Morphs package meta files into each other.
JavaScript
3
star
99

grunt-prompts

Built-in prompts for a grunt style generator.
JavaScript
3
star
100

browser-test-helpers

A small set of generic test helpers for browser interaction tests.
JavaScript
3
star