You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Much thanks to @Pocket-titan and @djrosenbaum for working on the logo 🖼!
12
12
13
-
---
13
+
## Features
14
14
15
-
## Install
15
+
-[x] Shows the number of Issues/PRs a user has made to a specific repository, org, account
16
+
-[x]~~Displays "First-time contributor" badge for new contributors~~ GitHub does this now!
17
+
- Works on any GitHub page with pull requests or issues
18
+
- Data is cached for better performance
19
+
20
+
## Installation
21
+
22
+
### Browser Extension Stores
16
23
17
24
[link-chrome]: https://chrome.google.com/webstore/detail/github-contributor-stats/cjbacdldhllelehomkmlniifaojgaeph?hl=en'Version published on Chrome Web Store'
18
25
[link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/contributor-on-github/'Version published on Mozilla Add-ons'
@@ -21,60 +28,55 @@ Much thanks to @Pocket-titan and @djrosenbaum for working on the logo 🖼!
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).
You can click on `🔄` to update the data if it has changed (it is cached in chrome storage).
33
+
#### Chrome/Edge/Brave/Opera
33
34
34
-
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.
35
+
1. Clone or [download](https://github.com/hzoo/contributors-on-github/archive/refs/heads/master.zip) this repository
36
+
2. Go to `chrome://extensions/`
37
+
3. Enable "Developer mode" in the top-right corner
38
+
4. Click "Load unpacked"
39
+
5. Select the `src` folder from this repository
35
40
36
-
> 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.
41
+
#### Firefox
37
42
38
-
<imgsrc="options.png"alt="options"height="300px">
43
+
1. Clone or download this repository
44
+
2. Go to `about:debugging#/runtime/this-firefox`
45
+
3. Click "Load Temporary Add-on…"
46
+
4. Select the `manifest.json` file in the `src` folder
39
47
40
-
---
48
+
## Usage
41
49
42
-
## Permissions
50
+
Once installed, the extension works automatically when you visit GitHub pull requests or issues. It injects contributor information inline, showing the number of PRs a user has made to that specific repository.
43
51
44
-
- "https://github.com/*/*": to be able to inject data into github
45
-
- 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.
46
-
- "https://api.github.com/*": to fetch issue/pr data
47
-
-`"storage"`, to store access token, cache user PR data.
0 commit comments