diff --git a/README.md b/README.md index bd3f147..acf2f06 100644 --- a/README.md +++ b/README.md @@ -2,26 +2,53 @@ Google Translate TUI -## Translate +## ScreenShot -[free-google-translate (go)](https://github.com/turk/free-google-translate/blob/master/translator.go) +![screenshot](https://i.imgur.com/ECtL7ac.gif) + +## Install ``` -https://translate.googleapis.com/translate_a/single?client=gtx&sl=%s&tl=%s&dt=t&q=%s +go get && go build ``` -## MP3 +## Key Map -![sample code](https://i.imgur.com/GOsiti7.png) +`` +Exit program. -[beep](https://github.com/faiface/beep) +`` +Toggle pop out window. -[example](https://gist.github.com/iochen/acad285d2d23066df9449d40a7f3547c) +`` +Translate from left window to right window. -[play on network](https://github.com/tosone/minimp3#examples-are-here) +`` +Swap language. -[low level](https://github.com/hajimehoshi/oto) +`` +Clear all text in left window. -## config +`` +Play sound on left window. -[viper](https://github.com/spf13/viper) +`` +Play sound on right window. + +`` +Stop play sound. + +`` +Toggle transparent. + +``, `` +Cycle through the pop out widget. + +`<1>`, `<2>`, `<3>` +Switch pop out window. + +## 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.