@deeplx/cli
v0.2.1
Published
The cli for [`@deeplx/core`](https://github.com/un-ts/deeplx/blob/master/packages/@deeplx/core), a powerful and easy-to-use yet free DeepL API client for Node.js using [DeepL](https://www.deepl.com) by porting [OwO-Network/DeepLX](https://github.com/OwO-N
Maintainers
Readme
@deeplx/cli
The cli for @deeplx/core, a powerful and easy-to-use yet free DeepL API client for Node.js using DeepL by porting OwO-Network/DeepLX.
TOC
Online Service
https://deeplx.1stg.me/translate
Installation
# npm
npm i @deeplx/cli
# pnpm
pnpm add @deeplx/cli
# yarn
yarn add @deeplx/cliUsage
Supported languages
Currently the following languages are supported:
| Abbreviation | Language | Writing in own language | | ------------ | ------------------------ | ----------------------- | | AR | Arabic | العربية | | BG | Bulgarian | Български | | CS | Czech | Česky | | DA | Danish | Dansk | | DE | German | Deutsch | | EL | Greek | Ελληνικά | | EN | English | English | | EN-GB | English (British) | English (British) | | EN-US | English (American) | English (American) | | ES | Spanish | Español | | ES-419 | Spanish (Latin American) | Español (Latinoamérica) | | ET | Estonian | Eesti | | FI | Finnish | Suomi | | FR | French | Français | | HE | Hebrew | עברית | | HU | Hungarian | Magyar | | ID | Indonesian | Bahasa Indonesia | | IT | Italian | Italiano | | JA | Japanese | 日本語 | | KO | Korean | 한국어 | | LT | Lithuanian | Lietuvių | | LV | Latvian | Latviešu | | NB | Norwegian Bokmål | Norsk bokmål | | NL | Dutch | Nederlands | | PL | Polish | Polski | | PT | Portuguese | Português | | PT-BR | Portuguese (Brazilian) | Português (Brasil) | | PT-PT | Portuguese (European) | Português (Portugal) | | RO | Romanian | Română | | RU | Russian | Русский | | SK | Slovak | Slovenčina | | SL | Slovenian | Slovenščina | | SV | Swedish | Svenska | | TR | Turkish | Türkçe | | UK | Ukrainian | Українська Мова | | VI | Vietnamese | Tiếng Việt | | ZH | Chinese | 中文 | | ZH-HANS | Chinese (Simplified) | 简体中文 | | ZH-HANT | Chinese (Traditional) | 繁体中文 |
You can either input the abbreviation or the language written in english.
Help
deeplx -hUsage: deeplx [options]
The cli for
[\`@deeplx/core\`](https://github.com/un-ts/deeplx/blob/master/packages/@deeplx/core),
a powerful and easy-to-use yet free DeepL API client for Node.js using
[DeepL](https://www.deepl.com) by porting
[OwO-Network/DeepLX](https://github.com/OwO-Network/DeepLX).
Options:
-V, --version output the version number
-s, --source <text> Source language of your text
-t, --target <text> Target language of your desired text
--text <text> Text to be translated
-f, --file <path> File to be translated
--dl-session <cookie> DeepL Pro session cookie (dl_session) (env: DL_SESSION)
--proxy <url> Proxy URL for the request
-h, --help display help for commandThe --dl-session option also reads from the DL_SESSION environment variable as a fallback, which is useful for avoiding credentials in shell history.
Example 1
This will translate a Spanish (ES) text into Russian (RU):
deeplx -t russian --text "¡Buenos días!"Доброе утро!Example 2
This will translate the file (test.txt) text from Italian (IT) into Portuguese (PT):
deeplx -t PT -f test.txtSponsors and Backers
Sponsors
| 1stG | RxTS | UnTS |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| |
|
|
Backers
| 1stG | RxTS | UnTS |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| |
|
|
Changelog
Detailed changes for each release are documented in CHANGELOG.md.
