v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-15 15:20:37 -07:00

147 Commits

Author SHA1 Message Date
eeeXun
9986dcb525 chore: update aur action version 2024-08-10 23:12:33 +08:00
eeeXun
5bc48c5ad7 refactor: move DeepLX to DeepL v10 2024-08-10 22:31:54 +08:00
eeeXun
0fe050bbc4 style(format): run gofmt 2024-08-10 13:47:10 +00:00
eeeXun
8a9f267229 feat: add LibreTranslate, remove ArgosTranslate
ArgosTranslate is offline. Change it to LibreTranslate
2024-08-10 21:45:32 +08:00
eeeXun
b3f4135732 refactor: move play tts to core 2024-08-10 14:37:44 +08:00
eeeXun
e2cb8cfaf0 style(format): run gofmt 2024-08-10 06:12:27 +00:00
Yin-Hsun Hong
f87b7b43ec
feat: support OSC 52 (#32)
* feat: support OSC 52

* docs: note for OSC 52
2024-08-10 14:12:15 +08:00
eeeXun
06dafb5bf8 fix: player should close after stop tts 2024-08-08 20:57:39 +08:00
eeeXun
97d1708251 chore: update tview
Fix the bug in TextArea Select https://github.com/rivo/tview/issues/988
2024-05-19 17:15:48 +08:00
eeeXun
024aa568a3 fix: newLine in GetText of TextView
After
7344139b55,
the newLine problem has been fixed.
2024-04-09 01:29:57 +08:00
eeeXun
42bed00166 refactor: clear text with Replace
Replace would preserve undo functionality
2024-04-03 10:11:13 +08:00
eeeXun
e26870870a refactor: refine getKeyName 2024-02-22 14:11:39 +08:00
eeeXun
289605d37a docs: remove redundant word 2024-02-20 20:01:43 +08:00
eeeXun
51839bdc8d style: API Key uppercase v9 2024-02-10 14:01:13 +08:00
eeeXun
3b0edef864 feat: read API key from file
Close #29
2024-02-10 13:55:02 +08:00
eeeXun
ad0cf55955 docs: add link for DeepLX self-hosted server 2024-02-10 11:59:35 +08:00
eeeXun
7451a89fcb style: move screenshot forward 2024-02-10 11:54:02 +08:00
eeeXun
943def5302 feat: make host of DeepLX configurable 2024-02-10 11:47:39 +08:00
eeeXun
ff46861080 feat: add DeepLX 2024-02-10 11:47:39 +08:00
eeeXun
d83cbabc35 feat: move api_key from gtt.yaml to server.yaml
When you exist gtt, if you change something from the menu, gtt.yaml will
be overwritten. Therefore, when you write your api key after opening gtt, you
might lose what you wrote in gtt.yaml. So I change it from gtt.yaml to
server.yaml
2024-02-08 18:05:23 +08:00
linuxissuper
b6a9d79237
docs: add install instructions for nix to readme (#27)
Co-authored-by: linuxissuper <m@linuxistcool.de>

Close #26
2024-01-28 19:42:07 +08:00
eeeXun
d56deea3ca chore: run go mod tidy 2023-08-23 00:50:08 +08:00
eeeXun
1d0f75ece3 docs: add ldflags in go install 2023-08-13 12:04:24 +08:00
eeeXun
4b9776b4d9 refactor: io/ioutil deprecated by io 2023-08-13 11:48:01 +08:00
eeeXun
31f0794c0e docs: specify request method 2023-07-26 11:36:38 +08:00
eeeXun
369f19290d style: change nord background to darker 2023-07-26 11:35:09 +08:00
eeeXun
f9571ed895 refactor: remove unused err 2023-07-09 16:17:43 +08:00
eeeXun
22aa6c5333 docs: keymap keys without double prime 2023-07-02 13:11:15 +08:00
eeeXun
09207e7e3d refactor(ui): KeyEsc trigger showLangPopout 2023-07-01 13:01:46 +08:00
eeeXun
04efa4e649 refactor: move AddPage to uiInit v8 2023-06-30 20:59:03 +08:00
eeeXun
23c4515256 refactor: set config, themeConfig, keyMapConfig in for loop 2023-06-30 20:19:35 +08:00
eeeXun
d5fcc90037 docs: move key map section before theme section 2023-06-30 19:59:50 +08:00
Xun
d01ef4e768
feat: support custom key mapping (#22)
* feat: support custom key mapping

* remove testing code

* feat: support function key

* style: add comment

* feat: support read config

* docs: add keymap.yaml example

* docs: add function key in README

* refactor: rename config key name

* feat: support Alt prefix

* docs: fix syntax

* feat: let exit be configurable

* refactor: remove KeyEsc in keyNames

* refactor: space to Space

* refactor: style code
2023-06-30 19:55:41 +08:00
eeeXun
7be328cf8d docs: note purple is for button pressed color 2023-06-18 23:53:23 +08:00
eeeXun
993a8286a3 fix(ui): wrong button color
After update tview (49200f8), the background color of button get wrong.
The SetBackgroundColor doesn't work. Use SetStyle and SetActivatedStyle
instead.
2023-06-18 23:43:31 +08:00
eeeXun
6555252e70 docs: add Docker Hub link 2023-06-16 16:50:43 +08:00
eeeXun
49200f8e4d chore: update tview
Fix undo bug https://github.com/rivo/tview/issues/844
2023-06-16 11:03:37 +08:00
eeeXun
f47c8fdd1f refactor(ui): remove unneeded keyMapMenu SetText 2023-06-11 17:34:18 +08:00
eeeXun
18d8f948b4 refactor(ui): remove duplicated function call 2023-06-07 13:32:46 +08:00
eeeXun
1b185e88b9 refactor(ui): RemoveItem instead of Clear all 2023-06-07 13:31:56 +08:00
eeeXun
2fdbe8daee docs: play sound -> playing text to speech v7 2023-05-19 19:32:38 +08:00
eeeXun
457549b7cc refactor: set api key in for-loop 2023-05-19 19:24:11 +08:00
eeeXun
16cee7c895 refactor: use http.MethodPost 2023-05-19 19:15:08 +08:00
eeeXun
05f70b1a17 style: reorder DeepL language with alphabet 2023-05-16 14:14:42 +08:00
eeeXun
e08e563b1a docs: located under -> located at 2023-05-16 13:49:35 +08:00
eeeXun
242523cdd7 refactor: clean up 2023-05-16 13:44:01 +08:00
Oguzhan Selcuk
129d8baed3
feat(translator): Add DeepL support (#20) 2023-05-16 13:26:31 +08:00
eeeXun
4916708261 docs: add $HOME/go/bin to $PATH`
Close #19
2023-05-13 23:02:29 +08:00
eeeXun
4e61f852a2 docs: add go build v6 2023-05-13 10:46:02 +08:00
eeeXun
035d01db2b docs: add sound library to Install Dependencies 2023-05-12 23:44:28 +08:00