An open API service indexing awesome lists of open source software.

https://github.com/reality361/simple-clipboard-translator

A simple translator that can monitor your clipboard and translate its content.
https://github.com/reality361/simple-clipboard-translator

Last synced: over 1 year ago
JSON representation

A simple translator that can monitor your clipboard and translate its content.

Awesome Lists containing this project

README

          

# Simple-Clipboard-Translator
A simple translator that can monitor your clipboard and translate its content.

## Overview: Two Modes
### Combined Translator (using [translate.js](http://translate.zvo.cn/41162.html))
![20240302220156](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/26a7e50f-8fbf-4daa-94d3-8e03d99a46a4)
![20240302220531](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/2f52465a-8987-490d-81d3-dfa4b2d84d76)

### Google Translator
![20240302221848](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/7d78b32d-5fe6-4d12-af1f-df8dc3afcc81)
![20240302222000](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/195866fb-311d-42dd-ba56-b8c22a0bcb02)

## How to install it?

[Releases](https://github.com/Reality361/Simple-Clipboard-Translator/releases)

To get the project, just install npm, electron, and electron-forge and open a folder, run this command:
```
npm init electron-app@latest my-app
```
Replace the folder: my-app/src with this src folder.
Or open the folder with a terminal and run this:
```
git clone https://github.com/Reality361/Simple-Clipboard-Translator
npm install
```
Finally, run this:
```
cd my-app
npm start
```
## How to use it?
(Take English -> Chinese(Simplified) as an example)

1. Open this tool. Drag and select the text you want to translate.
![20240301174621](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/496d9b44-f478-4ab2-9991-6e97fc0882d9)

2. Press Ctrl+C (or any other way to copy it).
![20240301174630](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/5cf66346-aec1-44b5-bd77-fe4d479363c4)

3. Wait for about a second. And the tool would automatically display the translated text.
![20240301174636](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/8eef4209-e75e-41a5-aeff-32a367ffc01f)

## Ps:
1. From the menu label "Window" on the upper side of the window you may turn on "Always on Top"

2. If using it on games, you may also use [Textractor](https://github.com/Artikash/Textractor) to extract the text in your games.
![20240301174641](https://github.com/Reality361/Simple-Clipboard-Translator/assets/154047191/870a8c6b-800d-4b21-9cf8-5aec41dfe83a)