Hasty Briefsbeta

Bilingual

Offline command line translation with TranslateGemma + Ollama

14 hours ago
  • A script translates text from the command line completely offline using TranslateGemma, Ollama, and Efficient Language Detector.
  • It reads input from stdin, detects the source language, uses the system language as the target, and returns the translation.
  • Built in Deno for personal use, but can be adapted for other needs.
  • Provides offline, private, and automatic translation, though imperfect.