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.3.3 | September 7, 2025 |
$ cargo install dptran@=2.3.3
|
| ver.2.3.2 | July 7, 2025 |
$ cargo install dptran@=2.3.2
|
| ver.2.3.1 | July 1, 2025 |
$ cargo install dptran@=2.3.1
|
| ver.2.3.0 | May 25, 2025 |
$ cargo install dptran@=2.3.0
|
| ver.2.2.2 | April 13, 2025 |
$ cargo install dptran@=2.2.2
|
| ver.2.2.1 | April 8, 2025 |
$ cargo install dptran@=2.2.1
|
| ver.2.2.0 | March 22, 2025 |
$ cargo install dptran@=2.2.0
|
| ver.2.1.1 | December 24, 2024 |
$ cargo install dptran@=2.1.1
|
| ver.2.1.0 | July 14, 2024 |
$ cargo install dptran@=2.1.0
|