Skip to content

Jokod/GPT-Text-Reformulator

Repository files navigation

GPT Text Reformulator - Chrome Extension

GPT Text Reformulator Presentation

GitHub License GitHub Release Hits

A Chrome extension that helps reformulate text using ChatGPT API. It provides different writing styles and keeps track of text history.

Features

  • Text reformulation with GPT-3.5
  • Three writing styles: Professional, Casual, and Formal
  • Text history with undo/redo functionality
  • Keyboard shortcuts
  • Smooth typing animation
  • Configurable UI behavior (auto-show/hide toolbar)
  • Full TinyMCE editor support (both modern and legacy versions)
  • Multilingual support
    • Interface available in French and English
    • Language selector in the interface
    • Messages and prompts translated automatically
    • Extensible support for other languages

Installation

  1. Clone this repository or download the ZIP file
  2. Open Chrome and go to chrome://extensions/
  3. Enable "Developer mode" in the top right corner
  4. Click "Load unpacked" and select the extension directory

Configuration

  1. Click the extension icon in Chrome toolbar
  2. Enter your OpenAI API key
  3. Click "Save"
  4. (Optional) Enable "Show actions menu" if you want the toolbar to appear automatically when focusing on text fields

To get an API key:

  • Go to OpenAI API Keys
  • Create a new key
  • Copy and paste it into the extension settings

Available Languages

  • 🇬🇧 English (default)
  • 🇫🇷 French

To change the language:

  1. Click on the extension icon
  2. Use the language selector in the top right corner
  3. The new language is applied immediately

Usage

Basic Usage

  1. Click on any text input or textarea on a webpage
  2. Right-click to access the context menu, or use keyboard shortcuts
  3. If enabled in settings, the reformulation toolbar will appear automatically on focus

Writing Styles

Click the settings icon to choose between:

  • Professional (default)
  • Casual
  • Formal

Keyboard Shortcuts

  • Alt + R: Reformulate text
  • Alt + Z: Undo
  • Alt + Y: Redo
  • Alt + O: Reset to original text

History Navigation

Use the toolbar buttons to:

  • ↶ Undo changes
  • ↷ Redo changes
  • ⟲ Reset to original text

Editor Support

The extension is compatible with:

  • Standard text inputs
  • Textareas
  • Contenteditable elements
  • TinyMCE (all versions, including legacy)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors