Fetch and serve our users and contributors data from github
> npm install
> node src/fetch.js
# will create a folder named data
> npm start
# starts an API on port 9090 by default (change with `PORT=<somePortNumber> npm start`)
Returns a JSON blob containing the information about the users for a certain org.
Defaults:
- photo: true
- url: true
- username: true
- org:
all
. Other options:ipld
,multiformats
,ipfs
,libp2p
,orbitdb
. - page: pagination, sends arrays of 100 contributors at a time, if no value is passed, all of them are sent.
Make sure to have the dokku endpoint as one of your git remote
> git remote -v
deploy [email protected]:contributors (fetch)
deploy [email protected]:contributors (push)
origin [email protected]:ipfs/get-gh-contributors.git (fetch)
origin [email protected]:ipfs/get-gh-contributors.git (push)
Contributions welcome. Please check out the issues.
Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to IPFS are subject to the IPFS Code of Conduct.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2017 Protocol Labs Inc.