Browse Git Repos offline.
git clone git@github.com:creationix/git-browser.git
cd git-browser
npm install
node make.js moz
Then add build/moz/manifest.webapp
to the simulator and push it to a device.
git clone git@github.com:creationix/git-browser.git
cd git-browser
npm install
node make.js chrome
Then go to chrome://extensions/ and "Load unpacked extension..." and browse to build/chrome
.
This builds a web app that can run in a normal hosted webpage
git clone git@github.com:creationix/git-browser.git
cd git-browser
npm install
node make.js web
Then point your browser to build/web/index.html
.
Included is a monitor.sh
script that watches for file changes and updates the build directories.
It accepts make targets as it's arguments, so simply replace ./make
in the above instructions with ./monitor.sh
.
- Note that this requires
inotifywait
which is found in theinotify-tools
package in Ubuntu Linux.