Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dpl-sh

A simple Terminal User Interface (TUI) application in Rust for fast and easy communication with DeepL, allowing you to quickly translate any text you want.

Features

  • Fast and intuitive TUI: Easily input text and receive translations right from your terminal.
  • DeepL integration: Uses the DeepL API for high-quality translations.
  • Simple setup: Minimal configuration required—start translating in seconds.
  • Customizable: Choose source and target languages, copy results, and more.

Installation

Prerequisites

Build from source

git clone https://github.com/ffex/dpl-sh.git
cd dpl-sh
cargo build --release

The executable will be located at target/release/dpl-sh.

Usage

./dpl-sh

The app will prompt you for text to translate and ask for your DeepL API key (or read from an environment variable like DEEPL_API_KEY).

Example

Enter text to translate: Hello, world!
Select target language: [de] German
Translation: Hallo, Welt!

Configuration

You can set your DeepL API key as an environment variable for convenience:

export DEEPL_API_KEY=your-api-key-here

Supported Languages

All languages supported by DeepL. The app allows you to select both source and target languages.

Contributing

Pull requests and suggestions are welcome! Please open an issue or PR if you have ideas or improvements.

License

This project is licensed under the MIT License.


Project description:
A simple TUI application in Rust to communicate fast and simple with DeepL to translate what you want.

About

A simple Terminal User Interface (TUI) application in Rust for fast and easy communication with DeepL, allowing you to quickly translate any text you want.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages