Skip to content

A Rust-based CLI to query a translation from DeepL using an API key.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

enlightware/dl-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dl-translate

An Enlightware® software.

Overview

A Rust-based CLI to query a translation from DeepL using an API key.

You need to place your API key in the file CONFIG/dl-translate.toml with the following format:

auth_key = "KEY_UUID"

where CONFIG is the standard config directory of your platform.

Then, install Rust and build:

cargo build

You can then translate a single text snippet:

target/debug/dl-translate TEXT TARGET_LANG [SOURCE_LANG] [more/less (FORMALITY)]

Or pipe some input:

CMD | target/debug/dl-translate TARGET_LANG [SOURCE_LANG] [more/less (FORMALITY)]

where X_LANG is a DeepL-support language tag.

License

Licensed under either of

at your option.

About

A Rust-based CLI to query a translation from DeepL using an API key.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages