gtt  by eeeXun

TUI for multiple translation services

created 2 years ago
271 stars

Top 95.8% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a terminal-based user interface (TUI) for accessing multiple translation services, including Google Translate, DeepL, ChatGPT, and others. It's designed for developers and power users who prefer command-line tools for translation tasks, offering a convenient way to translate text without leaving their terminal.

How It Works

The application leverages Go for its backend and interacts with various translation APIs. It supports a wide range of services by abstracting their API calls, allowing users to switch between them easily. Configuration for API keys and self-hosted endpoints is managed via YAML files, enabling customization for services like DeepLX and LibreTranslate.

Quick Start & Requirements

  • Install: go install -ldflags="-s -w" github.com/eeeXun/gtt@latest or yay -S gtt-bin (Arch Linux).
  • Dependencies: alsa-lib (or alsa-lib-devel, libasound2-dev), optional xclip or wl-clipboard for clipboard integration.
  • Configuration: API keys and server details are configured in ~/.config/gtt/server.yaml.
  • Docs: https://github.com/eeeXun/gtt

Highlighted Details

  • Supports Apertium, Bing, ChatGPT, DeepL (free API), DeepLX, Google, LibreTranslate, and Reverso.
  • Allows configuration of self-hosted translation services like DeepLX and LibreTranslate.
  • Extensive keyboard shortcuts for navigation, translation, and text manipulation.
  • Customizable themes and keymaps via YAML configuration files.

Maintenance & Community

The project is actively maintained by eeeXun. Community interaction channels are not explicitly mentioned in the README.

Licensing & Compatibility

The project is licensed under the MIT License, permitting commercial use and integration with closed-source projects.

Limitations & Caveats

DeepL support is currently limited to its free API tier. ChatGPT and DeepL require users to obtain and configure their own API keys.

Health Check
Last commit

10 months ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
7 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.