Coder Social home page Coder Social logo

wdavidcalsin / code-xplain-extension Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 115 KB

Codexplain is a Chrome extension that uses OpenAI's API to provide detailed explanations of any code on a web page. Simply select the code and a popover will appear with relevant information.

JavaScript 3.95% TypeScript 87.89% CSS 1.66% HTML 6.50%

code-xplain-extension's Introduction

Codexplain

Codexplain is a Chrome extension that allows you to select any code on a web page and get a detailed explanation of that code. It uses OpenAI's API to provide the explanations. Simply select the code you want to explain and a popover will appear with the relevant information.

Grammar logo

Grammar logo

Installation

The extension is being reviewed by the Chrome development team and is currently not available for installation.

How to use this extension

  1. Open a web page with code you want to explain
  2. Select the code you want to explain with the cursor
  3. A popover with the explanation of the selected code will open

Development

Chrome requires bundling the final output as a zip file. I also love hot module replacement ( live reloads). I configured Vite for the same.

  1. Run this command to start the dev server. It will keep building the extension as you make changes.
npm run build:watch
  1. You can update the extension in the chrome extensions manager page by clicking on the 'update' button.

Contributing

Thank you for considering contributing to Codexplain! If you want to make a contribution, please follow these steps:

  1. Fork this repository
  2. Create a branch with your change (git checkout -b my-change)
  3. Make your changes and commit them (git commit -am "Added a new change")
  4. Push your changes to your fork (git push origin my-change)
  5. Open a pull request in this repository and describe your changes.

License

This project is under the MIT License.

code-xplain-extension's People

Contributors

wdavidcalsin avatar

Stargazers

Abraham Calsin avatar Yony Calsin avatar  avatar

Watchers

 avatar  avatar

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.