Skip to content

A browser extension to quickly find out about a GitHub user's contributions and highlights on OpenSauced

Notifications You must be signed in to change notification settings

harshal015/OpenSauced-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSauced Browser Extension

This project is my basic version for OpenSauced Extension! This is a simple and easy-to-use Extension that enhances your GitHub experience by providing useful information and features.

Features

  • Checks if a GitHub user has an OpenSauced account
  • Adds a button to quickly navigate to their OpenSauced profile
  • Find more about their contributions & Highlights
  • Add your own highlights to your OpenSauced account

Installation

To install the extension, follow these steps:

  1. Clone the repository or download the ZIP file
  2. Navigate to the project directory in your terminal & run npm install to install the necessary dependencies
  3. Navigate to the vite-extension folder & run npm install
  4. Run npm run dev command, It'll generate a dist folder on the current path
  5. Open your browser, go to the extensions page & Enable developer mode
  6. Click on "Load unpacked" and select the dist folder generated in step 4

Congrats! you have now installed the extension in your browser!

Technical details

  • This is a vite-react powered browser Extension made with the CRXJS guide. CRXJS makes it easy to set up a Chrome Extension project with a modern development experience.

  • This Extension incorporates multiple APIs from OpenSauced and implements API optimization techniques such as debouncing, memoization, caching etc to ensure a smooth and efficient user experience. Additionally, the extension features error states and loading states to handle a variety of scenarios.

  • To ensure that the extension always provides up-to-date information, it runs on hash change and utilizes Chrome's sync storage to transfer data seamlessly between the content script and popup script. When user tries to add their highlight, it does the initial validations with the help of regex for a valid GitHub pull request.

Usage

Once the extension is installed, you can use it on any user's GitHub profile page. Simply add the extension to the browser and it'll do its job, adding the 'View on OpenSauced' button.. you can select the desired feature from the popup window.

Find the demo video to go through..

extension-usage.mp4

*highlight feature after 0:21

Contributing

This is not the official OpenSauced's Extension, just a personal project. If you have some changes to suggest or new features ideas to add, You're always welcome. To contribute, please fork the repository and submit a pull request.

Acknowledgements

I would like to thank the OpenSauced community and espacially Brian Douglas for their valuable suggestions and feedback.

About

A browser extension to quickly find out about a GitHub user's contributions and highlights on OpenSauced

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published