eeeXun/gtt

Google Translate TUI (Originally). Currently supports Apertium, Bing, DeepL, DeepLX, Google, LibreTranslate, Reverso.

What it solves

This project provides a terminal-based user interface (TUI) for accessing various translation services. It allows users to translate text between languages directly from the command line without needing a browser, streamlining the translation workflow for developers and power users.

How it works

gtt acts as a client that connects to multiple translation backends. It supports several providers, including Google Translate, DeepL (free API), Bing, Apertium, LibreTranslate, and Reverso. Users can configure the tool via YAML files for API keys and server addresses (especially for self-hosted options like DeepLX or LibreTranslate).

Who it’s for

Developers, Linux/macOS users, and terminal-centric users who prefer to translate text quickly within their shell environment.

Highlights

  • Multi-provider support: Integrates with Google, DeepL, Bing, and others.
  • Text-to-Speech (TTS): Built-in shortcuts to play audio for both source and destination text.
  • Customizable Interface: Supports custom themes and remappable keybindings for a personalized experience.
  • Flexible Installation: Available via AUR, Nix, Docker, or as a Go binary.
  • Clipboard Integration: Works with xclip, wl-clipboard, and OSC 52 for easy copying of translated text.

Related

  • Project
  • Project
  • Project
  • Project
  • Project