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

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

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