A fast, pipe-friendly translation tool. Translate text, files, and structured documents — right from the command line. No context switching. No copy-paste.
$ echo "お会計お願いします" | yaku --to en Check, please. $ yaku --to es -f email-draft.md $ pbpaste | yaku --to en
Stop switching windows just to understand or write in another language.
Translate right where you work. No copy-paste, no context switching, no waiting for a web page to load.
You don't need to write "please translate this to English and keep the formatting." Just pipe it in and get results.
Install and go. The hosted service works out of the box — no API keys, no accounts, no configuration files.
Pipe in anything, get clean translations out. No sign-up required.
stdin in, stdout out. Chain with any command — translate emails, documents, web content, or clipboard text in one line.
$ pbpaste | yaku --to en $ cat menu.txt | yaku --to en
Translate Markdown, JSON, and YAML without breaking structure. Headings, links, and code blocks stay untouched.
$ yaku --to zh-TW -f post.md # headings, links stay intact
Not translating — just refining. Fix grammar and improve fluency in any language. Perfect for emails and messages.
$ echo "I want talk about" \ | yaku --mode polish I'd like to talk about
Keep specific terms untranslated or force consistent translations. Brand names, product names, and jargon stay exactly how you want.
$ echo "Enjoy Frappuccino" \ | yaku --to zh-TW 享受 Frappuccino
A single hint changes everything. Translate a restaurant menu differently from a medical report — same words, right meaning.
$ yaku --to en \ --context "menu" \ "紅燒獅子頭" Braised pork meatballs
Works out of the box with the hosted service. Or bring your own key — Gemini, OpenAI, Anthropic, Ollama, and more.
$ yaku --to en "Bonjour" $ yaku --backend ollama \ --to ja "Hello"
yaku works out of the box with a free hosted service. No API keys, no config. Install, translate, done.
Already have an API key? Use your own Gemini, OpenAI, Anthropic, or even a local Ollama model. Full control, no limits.
Draft in your language, pipe it through yaku, send with confidence. Or polish your second-language draft until it reads like a native wrote it.
Markdown headings, code blocks, and links stay intact. Translate a README or blog post and commit it directly — no cleanup needed.
Paste a Japanese error message, a Korean recipe, or a French article. Get a clear translation in seconds without leaving your terminal.
$ brew install psmakes/tap/yakuOr: go install github.com/psmakes/yaku-cli@latest