Skip to content

The ChatGPT Chrome Extension is a general-purpose extension that utilizes the OpenAI GPT model to provide suggestions based on user input. It can be used for code review, writing, or any other task where you want assistance in generating text.

License

Notifications You must be signed in to change notification settings

acumino/ChatGPT-Chrome-Extension

Repository files navigation

ChatGPT Chrome Extension

The ChatGPT Chrome Extension is a general-purpose extension that utilizes the OpenAI models to provide suggestions based on user input. It can be used for code review, writing, or any other task where you want assistance in generating text.

Features

  • Context menu integration: When the user selects text on a webpage and right-clicks, a context menu item with prompt options is displayed.
  • API Key: The user must provide a valid ChatGPT API key in the extension options before using the extension.
  • options:
    • Add a copy button in the result window
    • Always copy the result int the clipboard
    • Choose a model from the openai available ones
  • Suggestions: When the user selects text and clicks a prompt in the context menu, the extension sends the selected text to the ChatGPT API and displays the top suggestion in a fixed-position popup.

Installation

To install this extension, follow these steps:

  • Download the code from the repository
  • Open Google Chrome and navigate to the Extensions page (chrome://extensions/)
  • Enable Developer mode (toggle switch in the top right corner)
  • Click on "Load unpacked" and select the folder containing the downloaded code

Usage

To use this extension:

  • Obtain a ChatGPT API key by following the instructions on the OpenAI website.
  • Click on the ChatGPT extension icon in the Chrome toolbar. For code improvement or checking spelling and grammar:
  • Select the code that you want to improve
  • Enter your API key in the provided field and click "Save".
  • To generate suggestions, select text on a webpage and right-click to bring up the context menu. Click "Suggest Improvement" or "Spelling and Grammar" and wait for the suggestion to appear.

Contributing

  • This project is open to contributions. If you find a bug or have an idea for an improvement, please create a pull request or submit an issue.

License

This project is licensed under the Apache 2.0 License. See the LICENSE file for more information.

About

The ChatGPT Chrome Extension is a general-purpose extension that utilizes the OpenAI GPT model to provide suggestions based on user input. It can be used for code review, writing, or any other task where you want assistance in generating text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published