Skip to content

This Chrome extension allows you to translate selected text on web pages using the GPT-3.5-turbo model by OpenAI. It's easy to use, fast, and provides high-quality translations.

Notifications You must be signed in to change notification settings

clairelovesgravy/gpt-3.5-translator

Repository files navigation

GPT-3.5-turbo Translator Chrome Extension

This Chrome extension allows you to translate selected text on web pages using the GPT-3.5-turbo model by OpenAI. It's easy to use, fast, and provides high-quality translations.

Features

  • Translate selected text in a webpage
  • Support for multiple target languages
  • API key configuration on the first use
  • Loading indicator while the translation is in progress
  • Copy translation results to clipboard

Installation

  • Clone or download this repository to your local machine.
  • Open Chrome and navigate to chrome://extensions/.
  • Enable "Developer mode" by toggling the switch in the top right corner.
  • Click on the "Load unpacked" button.
  • Navigate to the folder containing the extension's source code and click "Select Folder" (or "Open" depending on your operating system).
  • The extension is now installed and an icon should appear in your browser's toolbar.

Usage

  • Click on the extension icon to open the popup.
  • If you are using the extension for the first time, you will need to enter your OpenAI API key. Click "Submit" to save the key for future use.
  • Select the text you want to translate on a web page.
  • Click on the extension icon again to display the selected text in the input field.
  • Choose the target language from the dropdown menu.
  • Click the "Translate" button to start the translation. The button will be disabled, and a "Loading..." message will be displayed while the translation is in progress.
  • The translated text will appear below the input field. A "Copy" button will also be displayed, allowing you to easily copy the translation result to your clipboard.
  • Contributing
  • If you have any suggestions or improvements, feel free to create a fork and submit a pull request. We appreciate your contributions!

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This Chrome extension allows you to translate selected text on web pages using the GPT-3.5-turbo model by OpenAI. It's easy to use, fast, and provides high-quality translations.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published