<commit_before># AppJS
AppJS is an SDK to develop desktop applications using Node.js melded with Chromium. With AppJS you can develop desktop tools and applications using the same libraries and knowledge used to build websites. You get all the following in one package:

* JS, HTML5, CSS, SVG, WebGL provided by Chromium
* mature http/https servers and client APIs - Node
* filesystem, dns, cryptography, subprocesses, OS APIs - Node
* sandboxed code execution environements virtual machines - Node
* tools for exposing native C++ bindings to JavaScript--APIs for authoring and the tools for compiling - Node

---

* __Site: [appjs.org](http://appjs.org)__
* __Community: [mailing list](https://groups.google.com/forum/#!forum/appjs-dev)__

---

__AppJS is under heavy development. Expect many API changes and things to break.__

## 30 Second Quickstart
The below packages include everything needed to get started with AppJS, including Node.js, all dependencies, binaries, and a launcher ready to go out of the box. 1.) Extract to a folder. 2.) Double click on launch. 3.) Hello World.

__AppJS 0.0.14 Distributables:__

* Linux [32 bit](http://dists.appjs.org/0.0.14/appjs-0.0.14-linux-ia32.tar.gz) / [64 bit](http://dists.appjs.org/0.0.14/appjs-0.0.14-linux-x64.tar.gz) -> launch.sh
* [Mac](http://dists.appjs.org/0.0.14/appjs-0.0.14-darwin-ia32.zip) -> launch.sh

__AppJS 0.0.15 Distributables:__

* [Windows](http://dists.appjs.org/0.0.15/appjs-0.0.15-win32-ia32.zip) -> app.exe

## Shared Contexts

![Browser/Node Cross Context](https://github.com/appjs/appjs/raw/master/examples/node-in-browser.png "Browser/Node Cross Context")

![DOM Event Listener in Node](https://github.com/appjs/appjs/raw/master/examples/shared-context.jpg "DOM Event Listener in Node")

![Hello World](https://github.com/appjs/appjs/raw/master/examples/output.jpg "Hello World")

## One Minute Usage Overview
```javascript
var app = module.exports = require('appjs');

app.serveFilesFrom('./content');  // serves files to browser requests to "http://appjs/*"

var window = app.createWindow('http://appjs/', {
  width      : 640,
  height     : 460,
  resizable  : false,
  alpha      : true  // alpha composited background (Windows & Mac)
});

window.on('create', function(){
  console.log("Window Created");
});

window.on('ready', function(){
  this.require = require;
  this.process = process;
  this.module = module;
  this.console.open();
  this.console.log('process', process);
  this.frame.center();
  this.frame.show();
  console.log("Window Ready");
});

window.on('close', function(){
  console.log("Window Closed");
});
```

## Node Install
__Due to the complex dependencies of AppJS, installation via npm is difficult and error prone.__

* First you need [Node 0.8+](https://github.com/joyent/node/wiki/Installation) installed.
* Then use npm to install [node-gyp](https://github.com/TooTallNate/node-gyp): `npm install node-gyp`.
* Finally, install appjs: `npm install appjs`.

Currently the binaries require Node for the following architectures:

* Linux - 64 bit
* Mac - 32 bit
* Windows - 32 bit

## Platform build requirements:

* __Mac OS X__: Currently 32bit node only, `$ node -e "console.log(process.arch)"` -> __ia32__
* __Linux__: `sudo apt-get install libgtk2.0-dev`
* __Windows__: Windows SDK, DirectX SDK, and Visual C++ 2010

## Coming Soon
The follow are things we're currently working on solutions for and are high on the priority list to fix/address.

* distribution tools to help package up your apps for deployment
* expanded platform APIs to cover the standard use-cases for desktop apps


## License
( The MIT License )
<commit_msg>move images below quick start<commit_after># AppJS
AppJS is an SDK to develop desktop applications using Node.js melded with Chromium. With AppJS you can develop desktop tools and applications using the same libraries and knowledge used to build websites. You get all the following in one package:

* JS, HTML5, CSS, SVG, WebGL provided by Chromium
* mature http/https servers and client APIs - Node
* filesystem, dns, cryptography, subprocesses, OS APIs - Node
* sandboxed code execution environements virtual machines - Node
* tools for exposing native C++ bindings to JavaScript--APIs for authoring and the tools for compiling - Node

---

* __Site: [appjs.org](http://appjs.org)__
* __Community: [mailing list](https://groups.google.com/forum/#!forum/appjs-dev)__

---

__AppJS is under heavy development. Expect many API changes and things to break.__

## 30 Second Quickstart
The below packages include everything needed to get started with AppJS, including Node.js, all dependencies, binaries, and a launcher ready to go out of the box. 1.) Extract to a folder. 2.) Double click on launch. 3.) Hello World.

__AppJS 0.0.14 Distributables:__

* Linux [32 bit](http://dists.appjs.org/0.0.14/appjs-0.0.14-linux-ia32.tar.gz) / [64 bit](http://dists.appjs.org/0.0.14/appjs-0.0.14-linux-x64.tar.gz) -> launch.sh
* [Mac](http://dists.appjs.org/0.0.14/appjs-0.0.14-darwin-ia32.zip) -> launch.sh

__AppJS 0.0.15 Distributables:__

* [Windows](http://dists.appjs.org/0.0.15/appjs-0.0.15-win32-ia32.zip) -> app.exe


## One Minute Usage Overview
```javascript
var app = module.exports = require('appjs');

app.serveFilesFrom('./content');  // serves files to browser requests to "http://appjs/*"

var window = app.createWindow('http://appjs/', {
  width      : 640,
  height     : 460,
  resizable  : false,
  alpha      : true  // alpha composited background (Windows & Mac)
});

window.on('create', function(){
  console.log("Window Created");
});

window.on('ready', function(){
  this.require = require;
  this.process = process;
  this.module = module;
  this.console.open();
  this.console.log('process', process);
  this.frame.center();
  this.frame.show();
  console.log("Window Ready");
});

window.on('close', function(){
  console.log("Window Closed");
});
```

## Shared Contexts

![Browser/Node Cross Context](https://github.com/appjs/appjs/raw/master/examples/node-in-browser.png "Browser/Node Cross Context")

![DOM Event Listener in Node](https://github.com/appjs/appjs/raw/master/examples/shared-context.jpg "DOM Event Listener in Node")

![Hello World](https://github.com/appjs/appjs/raw/master/examples/output.jpg "Hello World")


## Node Install
__Due to the complex dependencies of AppJS, installation via npm is difficult and error prone.__

* First you need [Node 0.8+](https://github.com/joyent/node/wiki/Installation) installed.
* Then use npm to install [node-gyp](https://github.com/TooTallNate/node-gyp): `npm install node-gyp`.
* Finally, install appjs: `npm install appjs`.

Currently the binaries require Node for the following architectures:

* Linux - 64 bit
* Mac - 32 bit
* Windows - 32 bit

## Platform build requirements:

* __Mac OS X__: Currently 32bit node only, `$ node -e "console.log(process.arch)"` -> __ia32__
* __Linux__: `sudo apt-get install libgtk2.0-dev`
* __Windows__: Windows SDK, DirectX SDK, and Visual C++ 2010


## License
( The MIT License )

{'fraction_non_alphanumeric': 0.13435591535293281, 'fraction_numerical': 0.02386024712398807, 'mean_word_length': 4.06254493170381, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '694377', 'n_tokens_mistral': 2363, 'n_tokens_neox': 2193, 'n_words': 704}