Skip to content

Chrome extension to translate web pages. Uses Gemini Nano as the backend.

License

Notifications You must be signed in to change notification settings

sh2/extension-translate-gemini-nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

extension-translate-gemini-nano

Chrome extension to translate web pages. Uses Gemini Nano as the backend.

Prerequisites

This extension relies on experimental features of Chrome as of August 2024, It may not work in the future due to changes in Chrome's functionality. To use this extension, please proceed as follows:

  1. Open chrome:https://flags, set the following two flags and restart Chrome.

    • Enables optimization guide on device: Enabled BypassPerfRequirement
    • Prompt API for Gemini Nano: Enabled
      Flags
  2. Open chrome:https://components and wait until the Optimization Guide On Device Model Status becomes Component already up to date.
    Components

For more information, please refer to Built-in AI | AI on Chrome | Chrome for Developers.

Setup

This extension can be installed from Chrome Web Store. The following are instructions for manual installation, for development purposes.

  1. Open 'Manage Extensions' page in Google Chrome browser.
  2. Enable 'Developer mode'.
  3. Click 'Load unpacked' and select extension directory.
  4. Open 'Options' page and select the language.

Usage

Select the text you want to translate and click on the extension icon.

Translate

License

MIT License
Copyright (c) 2024 Sadao Hiratsuka

About

Chrome extension to translate web pages. Uses Gemini Nano as the backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published