Giter Site home page Giter Site logo

hzoo / contributors-on-github Goto Github PK

View Code? Open in Web Editor NEW
462.0 8.0 28.0 1.04 MB

:cactus: Show stats about contributors on github

Home Page: https://chrome.google.com/webstore/detail/contributors-on-github/cjbacdldhllelehomkmlniifaojgaeph

License: MIT License

JavaScript 88.21% HTML 9.57% CSS 2.21%
github issues pull-requests chrome-extension browser-extension github-extension firefox-addon

contributors-on-github's Introduction

Contributors on Github

The original idea was to show if it's a contributors first PR on the pull request page such as babel/babel#3283.

Much thanks to @Pocket-titan and @djrosenbaum for working on the logo πŸ–Ό!


Install

Chrome also compatible with Edge Opera

Firefox


Usage

You can start from any page on github.com and when you navigate to a specific issue/pull request (such as babel/babel#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).

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.

options


Permissions

  • "https://github.com/*/*": to be able to inject data into github
    • The content script 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

local install instructions

  • Go to chrome://extensions/
  • Click on Load unpacked extension...
  • Select the src folder of the unzipped folder you downloaded

Now try it out!

Local Install (Firefox)

  • Go to 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


License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.