Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages