Code Monkey home page Code Monkey logo

gpt-translate's Introduction

GPTTranslate

⚡ 基于 ChatGPT 的快捷翻译

为什么用 ChatGPT?

有那么多的翻译 API,为什么要用 ChatGPT 呢?

不知道你有没有遇到下面的情况,阅读 PDF 时,想翻译一下某一段话,但是 PDF 拷贝的内容是这样的:

This is a Example text which 
is copied from a PDF file.A bird in the hand is 
worth two in the bush.

它是被截断的!把它复制到翻译软件里,你会得到这样的结果:

这是一个示例文本
是从PDF文件中复制的。手中的一只鸟是
价值两美元。

而有了 ChatGPT 的加持,你会得到想要的,并且更加准确的结果:

image

Features

  • 支持多语言转换
  • 翻译历史记录

使用方法

在线使用

访问本项目的 部署版本

  • 点击 settings
  • 填入你的 API 。最好使用被代理的 API ,因为原生 openai API 在国内无法访问。代理方式可以参考 chatgptProxyAPI
  • 填入你的 API Key 。没有的话可以去 openai 申请。或者某橙色软件,比较 cheap。
  • 点击 Save changes

填入的 API 和 API Key 会被保存在你的浏览器本地 localStorage 中,不会上传到服务器。因此请放心使用。

自己部署

  • Fork 并克隆本项目。
  • 安装依赖: pnpm install
  • 启动项目: pnpm dev
  • 访问 localhost:3000

技术栈

支持我

请给我一个 star ⭐️。

gpt-translate's People

Contributors

inannan423 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.