Skip to content

jex441/extension

 
 

Repository files navigation

See service tags to see which versions are compatible.

Please make sure you're signed into Github when using this extension for the time being. Working on it so you don't have to.

extension install

Clone the repo.

git clone https://github.com/turbo-src/extension turbosrc-extension`

Install.

yarn install

Build everything.

yarn dev

The above command will create or update a dist/ directory, which is used to load the extension.

load the extension

  1. Go to extension page. For chrome extensions chrome://extensions.

  2. Enable developer mode.

  3. Click on load unpacked extension and select the generated folder.

Permissions required

  • "*://*.github.com/*" - for running on github.com domain.
  • storage - for storing GitHub access token on your local system. GitHub Access token is required for private repos and for handling API rate-limiting issues.
  • webRequest - to support GitHub being a single-page-application now. Read this detailed blog.
  • webNavigation - to support GitHub being a single-page-application now. Read this detailed blog.

GitHub API Rate Limiting

Since this extension fetches data using GitHub public v3 API for showing file size and download_url, it consumes free quota which is very less GitHub API Rate Limiting.

To tackle this, create a new GitHub Access Token.

  1. If logged-in, visit https://github.com/settings/tokens

  2. Generate a new token, select repo scope and create a one.

  3. Copy and store the generated token which looks something like: 17c1a8d5b399d66b6212382d98d4c67a94d58955 (a fake one :P).

  4. Click on extension icon and then on Settings-Options on top right.

    OR

    Right-click on extension and click on Options in the dropdown menu.

  5. Enter the valid GitHub Access Token

  6. Click on SAVE and Enjoy the benefits.

This browser extension will automatically pick this valid access token and Bingo!

Screenshots

Demos

https://www.youtube.com/watch?v=9c75aMLMUng

Libraries Used

Development

  1. git clone https://github.com/turbo-src/extension turbo-src-extension
  2. Run yarn dev for generating packaged folder specifically for extension stuff.
  3. Go to extension page. For chrome extensions chrome://extensions, Firefox Add-ons about:debugging, and Microsoft Edge Extensions edge://extensions/.
  4. Enable developer mode
  5. Click on load unpacked extension and select the generated folder.
  6. [Admin Access Only] - run yarn build for generating zip file to be uploaded on Chrome Web Store, Firefox Add-ons, and Microsoft Edge Addons.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.1%
  • CSS 7.7%
  • HTML 5.0%
  • Shell 0.2%