Skip to content

hzoo/contributors-on-github

Repository files navigation

Contributors on Github

A browser extension that shows contributor information on GitHub pull requests, including whether it's a user's first contribution.

Much thanks to @Pocket-titan and @djrosenbaum for working on the logo 🖼!

Features

  • Shows the number of Issues/PRs a user has made to a specific repository, org, account
  • Displays "First-time contributor" badge for new contributors GitHub does this now!
  • Works on any GitHub page with pull requests or issues
  • Data is cached for better performance

Installation

Browser Extension Stores

Chrome also compatible with Edge Opera

Firefox

Local Installation

Chrome/Edge/Brave/Opera

  1. Clone or download this repository
  2. Go to chrome://extensions/
  3. Enable "Developer mode" in the top-right corner
  4. Click "Load unpacked"
  5. Select the src folder from this repository

Firefox

  1. Clone or download this repository
  2. Go to about:debugging#/runtime/this-firefox
  3. Click "Load Temporary Add-on…"
  4. Select the manifest.json file in the src folder

Usage

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.

You can click on 🔄 to refresh the data if needed (data is cached in browser storage).

GitHub API Rate Limits

  • Without authentication: 60 requests per hour
  • With authentication token: 5,000 requests per hour

To use higher rate limits, you can add a GitHub personal access token in the extension options:

  1. Create a token at GitHub Settings > Developer settings > Personal access tokens
  2. For public repositories: Select the public_repo permission
  3. For private repositories: Select the repo permission
  4. Copy the token and paste it in the extension options

options

Permissions

  • github.com/*/*: Allows the extension to inject data into GitHub pages
  • api.github.com/*: Needed to fetch issue/PR data from GitHub's API
  • storage: Stores your access token and caches user PR data

Related Projects

License

MIT