Skip to content

d0ntrash/deeprs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deeprs - A command line wrapper of DeepL API

About

deeprs is a command line wrapper of the DeepL translator API. To use it you need a API key which you can get here: https://www.deepl.com/pro-api?cta=header-pro-api/

Usage

$ ./deeprs --help
deeprs: CLI for DeepL 0.1.0

USAGE:
    deeprs [OPTIONS] <text> -t <target language>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -s <source language>        Define the source language. This is not needed in the most cases since DeepL can detect
                                the source language by its own
    -t <target language>        target language

ARGS:
    <text>    Text you want to translate
$ ./deeprs -t de "Hello World"
From Language: EN
Text: Hallo Welt
$ ./deeprs -t en -s de "Hello World"
From Language: DE
Text: Hello World

Build

To build deeprs via cargo (make sure you have rustup and openssl installed on your system):

cargo build --release

About

Command line wrapper of the DeepL API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages