GithubHelp home page GithubHelp logo

stark-eth / openai-translator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openai-translator/openai-translator

1.0 0.0 0.0 11.54 MB

基于 ChatGPT API 的划词翻译 Chrome 插件

License: GNU Affero General Public License v3.0

JavaScript 3.51% TypeScript 85.54% CSS 0.80% HTML 1.39% Makefile 0.29% Rust 7.58% AppleScript 0.87%

openai-translator's Introduction

NebulaGraph Data Intelligence Suite(ngdi)


English | 中文

The translator that does more than just translation - powered by OpenAI.

MIT License TypeScript Rust Chrome Firefox macOS Windows Linux

Why Yet another Translator

I have developed a Bob plugin that utilizes ChatGPT API to provide global word translation on macOS. However, since not all users have access to macOS to benefit from the plugin, I have created this project!

More than just a browser extension

What began as a Chrome extension has now evolved into a multi-platform desktop app that I am currently developing.

Attention! The desktop application does not support the pop-up icon after word selection. You must press the shortcut key to trigger the translation after selecting a word.

More than just translation

What began as a translation tool has now evolved to include surprisingly effective word polishing and summarization capabilities, accidentally.

How to use

Features

  1. It offers three modes: translation, polishing and summarization.
  2. Our tool allows for mutual translation, polishing and summarization across 55 different languages.
  3. Streaming mode is supported!
  4. It allows users to customize their translation text.
  5. One-click copying
  6. Text-to-Speech (TTS)
  7. Available on all platforms (Windows, macOS, and Linux) for both browsers and Desktop

Preparation

  • (required) Apply for an OpenAI API key here
  • (optional) If you cannot access OpenAI, you can use the OpenAI API Proxy.

Installation

Windows

Install via winget

winget install yetone.OpenAITranslator

Install via Scoop

scoop bucket add extras
scoop install openai-translator

Install Manually

  1. Download the installation package ending in .msi from the Latest Release page.
  2. Double click the downloaded file to install it.
  3. If prompted as unsafe, you can click on More Info -> Run Anyway to proceed with the installation.
  4. Ready to use!

MacOS

Install Manually

  1. Go to the Latest Release page and download the corresponding chip's .dmg installation package. Note: Use aarch64 version for Apple Silicon machines and run xattr command below.
  2. Double click the downloaded file to install it.
  3. Ready to use!

Troubleshooting

  • "OpenAI Translator" can’t be opened because the developer cannot be verified.

    • Click the Cancel button, then go to the Settings -> Privacy and Security page, click the Still Open button, and then click the Open button in the pop-up window. After that, there will be no more pop-up warnings when opening OpenAI Translator. 🎉

    • If you cannot find the above options in Privacy & Security, or get error prompts such as broken files with Apple Silicon machines. Open Terminal.app and enter the following command (you may need to enter a password halfway through), then restart OpenAI Translator:

      sudo xattr -d com.apple.quarantine /Applications/OpenAI\ Translator.app
  • If you encounter a permission prompt every time you open it, or if you cannot perform a shortcut translation, please go to Settings -> Privacy & Security -> Supporting Features to remove OpenAI Translator, and then re-add OpenAI Translator.

Browser Extension

  1. Visit your Browser Extension Store to install this plugin:

  2. Click on the OpenAI Translator icon in the browser plugin list, and enter the obtained API KEY into the configuration interface that pops up from this plugin.

  3. Refresh the page in the browser to enjoy the smooth translation experience 🎉!

License

LICENSE

Buy me a coffee

Star History

openai-translator's People

Contributors

anyiee avatar chawyehsu avatar cytsai1008 avatar douo avatar fishers6 avatar fox493 avatar igoogolx avatar imyuanx avatar jambo2018 avatar jesseid avatar k9i-0 avatar liby avatar lucinyan avatar maltoze avatar okisdev avatar overflowcat avatar pengx17 avatar simon-he95 avatar sinchang avatar smark-d avatar soeyu avatar tao12345666333 avatar tk103331 avatar tywtyw2002 avatar vaynepeng avatar walterzou avatar waterlemons2k avatar wey-gu avatar xuanwo avatar yetone avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.