AIWritingCompanion

AIWritingCompanion

Chrome extension for translating from Persian to English and from English to Persian using Google Gemini API.

Stars: 79

Visit
 screenshot

AIWritingCompanion is a lightweight and versatile browser extension designed to translate text within input fields. It offers universal compatibility, multiple activation methods, and support for various translation providers like Gemini, OpenAI, and WebAI to API. Users can install it via CRX file or Git, set API key, and use it for automatic translation or via shortcut. The tool is suitable for writers, translators, students, researchers, and bloggers. AI keywords include writing assistant, translation tool, browser extension, language translation, and text translator. Users can use it for tasks like translate text, assist in writing, simplify content, check language accuracy, and enhance communication.

README:

AIWritingCompanion

A lightweight and versatile browser extension designed to translate text within input fields (e.g., text boxes, textareas, and contenteditable elements). Translations are triggered by either clicking the extension icon or pressing the Ctrl+/ shortcut.

It's a writing and translation assistant.


Features

  • Universal Compatibility: Works seamlessly with standard and advanced input fields.
  • Multiple Activation Methods: Trigger translation via the icon click or the Ctrl+/ shortcut.
  • Provider Support: Choose between multiple translation providers, including Gemini, OpenAI, and WebAI to API.

Requirements

  • A modern Chromium-based browser (Chrome, Edge, Brave, etc.)
  • A valid API key if not using WebAI ot API

Installation

  1. Install via CRX File:

    • Download the Gemini-Translation-Extension.crx file from the Chrome-Extension/ folder.
    • Open chrome://extensions/ in Chrome and enable Developer mode.
    • Drag and drop the .crx file onto the chrome://extensions/ page to install the extension.
  2. Install via Git:

    • Clone the repository:

      git clone https://github.com/iSegaro/Gemini-Translate.git
      cd Gemini-Translate
    • Load the extension in Chrome:

      • Open chrome://extensions/ and enable Developer mode.
      • Click Load unpacked and select the Chrome-Extension/dist/ folder.
  3. Set your API key on the Options page.


🔑 Get a Free Google API Key

  1. Visit Google AI Studio and log in.
  2. Click Get API Key, then Create API Key, and copy it.

Free Tier: 1,500 requests/day with Gemini 1.5 Flash.

Watch this video guide for details.


Usage

  • Automatic: Hover or click an input field to reveal the translation icon.
  • Shortcut: Press Ctrl+/ when an input field is active.

Development

Prerequisites

Install Node.js (which includes npm), then run:

cd Gemini-Translate
npm install

Build

npm run build

This generates the Chrome-Extension/dist/ folder for manual installation. For live updates, run:

npm run watch

Contribute


License

This project is licensed under the MIT License. Feel free to improve and share!

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for AIWritingCompanion

Similar Open Source Tools

For similar tasks

For similar jobs