Node.js proxy to the GitHub API to fetch and aggregate data about an organisation's repositories
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
app.js
conf.json.example
package.json

README.md

ghapi

Node.js proxy to the GitHub API to fetch and aggregate data about an organisation's repositories

Howto

Clone and install dependencies:

git clone https://github.com/w3c/ghapi.git
cd ghapi/
npm install

Set up (you'll need a GitHub access token):

cp conf.json.example conf.json
edit conf.json # edit at least "organisation" and "token"

Run:

npm start
> ghapi@0.1.0 start /foo/bar/ghapi
> node --use_strict --throw-deprecation app
Listening on port 3000; visit http://localhost:3000/projects
GH API, token deadbeef: 4593/5000 (92%) requests available; resets in 58′36″
acme's 713 public projects:
bar, baz, foo, […] plugh, waldo, xyzzy
▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░▌  xyzzy

Wait until data about all repos is fetched (watch the progress bar), then visit http://localhost:3000/projects.