Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

aarroyoc/node-xulrunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-xulrunner

Travis CI Like NW.js and node-webkit but with Gecko using XUL Runner.

Use node.js for your local app and use the magic Node.js powers here.

Usage

Cloning

This package provides an API and templates. The easyest way to use it is running

git clone http://github.com/AdrianArroyoCalle/node-xulrunner 

Then you can put your app in the app/ folder, modify the test.js file and run

node test.js

NPM API

We also provide an API for future tools like grunt-xulrunner or gulp-xulrunner

npm install node-xulrunner --save
var xul=require("node-xulrunner");

var options={
	os: "linux-i686",
	version: "35.0.1",
	name: "Testing",
	vendor: "Adrián Arroyo",
	appVersion: "0.1.0",
	buildId: "00000001",
	id: "test@node-xulrunner",
	copyright: "2015 Adrián Arroyo Calle",
	width: 800,
	height: 600
};

xul.packageApp(options);

But you must provide your own template folder.

app/ structure

app/ is where your app lives. node-xulrunner loads the main.js file and then you have the control. Use Express if you like to serve the HTML pages.

About

Like NW.js and node-webkit but with Gecko using XUL Runner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published