NirmalScaria / le-git-graph

Browser extension to add git graph to GitHub website.
https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff
MIT License
3.13k stars 16 forks source link
chrome-extension collaborate git-graph github hacktoberfest

Le Git Graph - Commits Graph for GitHub

A browser extension that displays the git graph for any GitHub repository.

[Version]() [Version]() [Version]() [Version]()

Demo

Demo Image

Installation

Install the extension from the link -

For Google Chrome, Opera, Vivaldi, Brave, and Microsoft Edge:

https://chrome.google.com/webstore/detail/le-git-graph-commits-grap/joggkdfebigddmaagckekihhfncdobff

For Mozilla Firefox:

https://addons.mozilla.org/firefox/addon/le-git-graph-github-git-graph/

After installation, open any GitHub repository and a new 'Commits' tab will be visible.

Open the commits tab and follow the prompt to authenticate with your GitHub account.

Setup for Private Repos owned by an Organization

Access to private repositories owned by an organization is restricted by default. To access the commits graph for such repositories, you need to follow the following steps.

  1. Go to https://github.com/settings/tokens
  2. Create a Personal Access Token (PAT) with the following scopes -
    • repo | Full control of private repositories
  3. Go back to the commits tab of a repo owned by the organization.
  4. From the dropdown for "Authorize with GitHub", select "Custom Personal Access Token".
  5. Enter the PAT and click on "Add PAT".

(Full access to repo is required to fetch the commits graph, because there is no read only access level for GitHub OAuth scopes as of now.)

Tech Stack

Client: JavaScript, Manifest V3

Server: GitHub GraphQL, GitHub OAuth, FireBase Cloud Functions

Features

Contact

Feel free to drop a mail at scaria@scaria.dev or nirmalscaria1@gmail.com