<div align="center">
<img width="256" src="https://github.com/simpleapples/chatgpt-translator/blob/master/assets/icons/512x512.png">
    <h1>ChatGPT Translator</h1><h3><a href="https://github.com/simpleapples/chatgpt-translator/blob/master/README_ZHS.md">中文版介绍</a></h3>
</div>
ChatGPT Translator is an open-source desktop app that allows you to translate text using GPT language model. The logo is generated by Midjourney, this README is partly generated by ChatGPT

## Screenshot

Left one is the ChatGPT Translator, Right one is the DeepL.

<img width="390" src="https://github.com/simpleapples/chatgpt-translator/blob/master/docs/chatgpt_screenshot.png"><img width="390" src="https://github.com/simpleapples/chatgpt-translator/blob/master/docs/deepl_screenshot.png">

## Features

-   No need to specify source language, automatically detected by ChatGPT.
-   Support multiple languages translation
-   Support custom shortcut keys
-   Support macOS, Windows, Linux
-   Support custom API domain

## Installation

1. Clone the repository to your local machine.

```
git clone https://github.com/simpleapples/chatgpt-translator.git
```

2. Navigate to the repository directory.

```
cd chatgpt-translator
```

3. Install dependencies.

```
npm i
```

4. Build and package.

```
npm run build
npm run package
```

## Contributing

Contributions to ChatGPT Translator are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you want to contribute code, please fork the repository and create a pull request.
