A tool to run DeepL translations on your command line.
It's written in Rust, and uses curl to connect to the DeepL API.
To use, you need to get the DeepL API key from https://www.deepl.com/en/pro-api/.
dptran
provides a command-line tool to translate text using the DeepL API.-f
option followed by the language code.
-t
option followed by the language code.
quit
.-t
option.
dptran
can translate the output of other commands with dptran.dptran
can translate the contents of a text file with dptran by using the -i
option.dptran
can be used as a library in your Rust project.dptran
includes the binary crate's dependent crates (such as clap
, serde_json
and confy
) by the default features.--no-default-features
argument.
Version | Release date | Install |
---|---|---|
ver.2.1.0 | July 14, 2024 |
$ cargo install dptran@=2.1.0
|
ver.2.0.0 | March 3, 2024 |
$ cargo install dptran@=2.0.0
|
ver.1.0.2 | December 1, 2023 |
$ cargo install dptran@=1.0.2
|
ver.1.0.1 | December 1, 2023 |
$ cargo install dptran@=1.0.1
|
ver.1.0.0 | December 1, 2023 |
$ cargo install dptran@=1.0.0
|