# GTT Google Translate TUI ## ScreenShot ![screenshot](https://i.imgur.com/ECtL7ac.gif) ## Install ``` go get && go build ``` ## Language in argument You can pass `-src` and `-dst` in argument to set source and destination language. ``` gtt -src "English" -dst "Chinese (Traditional)" ``` See language on [Google Language support](https://cloud.google.com/translate/docs/languages) ## Key Map `` Exit program. `` Toggle pop out window. `` Translate from left window to right window. `` Swap language. `` Clear all text in left window. `` Copy selected text in left window. `` Copy all text in left window. `` Copy all text in right window. `` Play sound on left window. `` Play sound on right window. `` Stop play sound. `` Toggle transparent. ``, `` Cycle through the pop out widget. `<1>`, `<2>`, `<3>` Switch pop out window. ## Dependencies `xclip` For Linux to copy text. `pbcopy` For macOS to copy text. ## Credit [snsd0805/GoogleTranslate-TUI](https://github.com/snsd0805/GoogleTranslate-TUI) For inspiration. [turk/free-google-translate](https://github.com/turk/free-google-translate) For Google translate in Golang.