Browse github repositories like in your editor, handy if you just need to browse the codes w/o clone it.
Make sure nodejs and gulp is installed:
sudo apt-get install nodejs
sudo apt-get install npm
# you can switch to more suitable registry to you.
# North America: http://npm.strongloop.com/ http://registry.nodejitsu.com/
# Europe: http://npmjs.eu/
# Asia: http://registry.npm.taobao.org/
# sudo npm config set registry "http://registry.npm.taobao.org/"
sudo npm install -g npm #update npm
sudo npm install -g gulp
Then run:
git clone [email protected]:liuwenchao/github-explorer.git # skip this if you have already downloaded/cloned the repository.
cd github-explorer
npm install
gulp
gulp deploy
If OAuth login does not work, you can generate a personal access token in github settings, and open browser console:
$.cookie('_token', 'PASTE_TOKEN_HERE');