https://github.com/milahu/deepl-client-jsdom
javascript client for the online translator at deepl.com/translate
https://github.com/milahu/deepl-client-jsdom
cli client deepl deepl-com deepl-translate deepl-translator javascript node node-js nodejs translate translator
Last synced: about 1 month ago
JSON representation
javascript client for the online translator at deepl.com/translate
- Host: GitHub
- URL: https://github.com/milahu/deepl-client-jsdom
- Owner: milahu
- License: cc0-1.0
- Created: 2021-05-23T20:05:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-10T07:33:57.000Z (over 4 years ago)
- Last Synced: 2025-10-19T15:59:21.006Z (8 months ago)
- Topics: cli, client, deepl, deepl-com, deepl-translate, deepl-translator, javascript, node, node-js, nodejs, translate, translator
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# deepl client jsdom
javascript client for the deepl online translator at [deepl.com/translator](https://www.deepl.com/translator)
## local install
```
git clone https://github.com/milahu/deepl-client-jsdom.git
cd deepl-client-jsdom
npm install
echo "hello world" | node deepl-cli.js en de
Hallo Welt
```
## global install
```
npm install -g https://github.com/milahu/deepl-client-jsdom.git
echo "hello world" | deepl en de
Hallo Welt
```
## similar projects
* [github.com/milahu/alchi/src/alchi-book/scripts/translate.js](https://github.com/milahu/alchi/blob/master/src/alchi-book/scripts/translate.js)
* google translate client for large html documents.
usually google charges money to translate richtext or large documents
* semi-automatic tool.
currently requires to copy-paste text to and from the translator service,
but this could be automated with jsdom as show here (in `deepl-client-jsdom`)
* also supports deepl translate
* also posted to [webapps.stackexchange.com](https://webapps.stackexchange.com/a/154694/273346)
* [github.com/fkirc/attranslate](https://github.com/fkirc/attranslate)
* heavyweight from many features, dependencies, typescript
* only google translate, using official google api client
* input formats: xml, json, yaml
* [github.com/KevCui/translate-cli](https://github.com/KevCui/translate-cli)
* heavyweight from puppeteer dependency
* [github.com/milahu/deepl-client-filesystem](https://github.com/milahu/deepl-client-filesystem)
* use the original deepl.com interface in connection with a local backend server to load and store text files
* abandoned
* [github.com/vsetka/deepl-translator-cli](https://github.com/vsetka/deepl-translator-cli)
* old and broken