{NK} NodeKit is the universal, open-source, embedded engine that provides a full Node.js instance inside desktop and mobile applications for macOS, iOS, Android, and Windows.
This repository provides a command line interface to create a new {NK} NodeKit skeleton app for any or all of the target platforms, and/or wraps an existing Node.js, desktop or web application in a {NK} NodeKit package that can be deployed to each of the appropriate app stores.
See nodekit.io for further details on {NK} NodeKit
{NK} NodeKit Command Line
Installation
Make sure you have Node.js installed (between v4 and v6).
Optimal: install Node.js version 6.7 or later and npm 3.10 or later using nvm
npm install -g nodekit-cli
Create and run a nodekit application
nodekit create myAppcd myAppnodekit platform add macosnodekit buildnodekit run
Target Platforms
Platform | Supported |
---|---|
android | In Testing |
ios | Supported |
macos | Supported |
windows | In progress |
ubuntu | Not started |
nodejs | Not started |
License
Apache 2.0
Related Repositories on GitHub
- nodekit-io/nodekit contains the core documents and issues tracker
- nodekit-io/nodekit-cli contains the command line tool
- nodekit-io/nodekit-darwin, nodekit-io/nodekit-windows, and nodekit-io/nodekit-android contain the platform specific versions of {NK} NodeKit Source
Use of Cordova Command Line Tooling
Note that the command line interface for creating, building and running platforms is adapted from the Cordova Command line interface. The platforms directory will contain some files forked from the Cordova repositories but these are only used during the build phase, and the Cordova engine is not included in the NodeKit runtime engine. We do this because XCode, Visual Studio and Android Studio continue to evolve their build pipelines and project file structures, and so we can get the benefits of all the hard work that goes into cordova-cli, cordova-lib and cordova-common.
Automatic refactor and patch from cordova-cli repository
npm installgulp cleangulp refactor