Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hzoo/contributors-on-github
:cactus: Show stats about contributors on github
https://github.com/hzoo/contributors-on-github
browser-extension chrome-extension firefox-addon github github-extension issues pull-requests
Last synced: about 1 month ago
JSON representation
:cactus: Show stats about contributors on github
- Host: GitHub
- URL: https://github.com/hzoo/contributors-on-github
- Owner: hzoo
- License: mit
- Created: 2016-02-29T04:04:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-09T12:42:52.000Z (about 2 years ago)
- Last Synced: 2024-06-22T18:02:48.171Z (3 months ago)
- Topics: browser-extension, chrome-extension, firefox-addon, github, github-extension, issues, pull-requests
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/contributors-on-github/cjbacdldhllelehomkmlniifaojgaeph
- Size: 1.02 MB
- Stars: 463
- Watchers: 8
- Forks: 28
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - hzoo/contributors-on-github - :cactus: Show stats about contributors on github (JavaScript)
README
![]()
# Contributors on Github
The original idea was to show if it's a contributors first PR on the pull request page such as https://github.com/babel/babel/pull/3283.
[![](firstpr.gif)](https://github.com/babel/babel/pull/3283)
Much thanks to @Pocket-titan and @djrosenbaum for working on the logo πΌ!
---
## Install
[link-chrome]: https://chrome.google.com/webstore/detail/github-contributor-stats/cjbacdldhllelehomkmlniifaojgaeph?hl=en 'Version published on Chrome Web Store'
[link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/contributor-on-github/ 'Version published on Mozilla Add-ons'[
][link-chrome] [
][link-chrome] also compatible with [
][link-chrome] [
][link-chrome]
[
][link-firefox] [
][link-firefox]
---
## Usage
You can start from any page on `github.com` and when you navigate to a specific issue/pull request (such as https://github.com/babel/babel/pull/3331), it will inject information inline (like the # of PRs a user has made to that specific repo).
[![](injected-content.png)](https://github.com/jscs-dev/node-jscs/pull/2180)
You can click on `π` to update the data if it has changed (it is cached in chrome storage).
If necessary, you may want to create or get a "access token" that uses the `public_repo` permission if you want to use a 30/min rate limit instead of 10/min.
> If you want to use this on private repos then you'll need to add the `repo` permission instead. I would recommend installing locally for this.
---
## Permissions
- "https://github.com/*/*": to be able to inject data into github
- The [content script](src/content.js) was matching `"https://github.com/*/*/pull/*` which is correct, but if you start from the hompage, then the script won't ever be injected since github is using pushState to change urls. Now it will match `https://github.com` and then check for the specific url.
- "https://api.github.com/*": to fetch issue/pr data
- `"storage"`, to store access token, cache user PR data.
- `"identity"`, to create an oauth request window.
---## Local Install (Chrome)
- Download the zip, and unzip it
- Go to [`chrome://extensions/`](chrome://extensions/)
- Click on `Load unpacked extension...`
- Select the `src` folder of the unzipped folder you downloadedNow try it out!
## Local Install (Firefox)
- Go to [`about:debugging#/runtime/this-firefox`](about:debugging#/runtime/this-firefox)
- Click on `Load Temporary Add-onβ¦`
- Select the `manifest.json` file in the `src` folder you downloaded
- You're done! It should also show up in `about:addons`---
## Related
- [Awesome browser extensions for GitHub](https://github.com/stefanbuck/awesome-browser-extensions-for-github)
- [Refined GitHub](https://github.com/sindresorhus/refined-github/) - OG github extension---
## License
MIT