eeexun / gtt Goto Github PK
View Code? Open in Web Editor NEWGoogle Translate TUI (Originally). Now support Apertium, Argos, Bing, ChatGPT, DeepL, DeepLX, Google, Reverso.
License: MIT License
Google Translate TUI (Originally). Now support Apertium, Argos, Bing, ChatGPT, DeepL, DeepLX, Google, Reverso.
License: MIT License
basically its deepl but without apikey https://github.com/OwO-Network/DeepLX
Hello!
My dotfiles are public and hence I can't really insert my API key for deepl
into my config and push it to github... could you please add an option to enter a file path instead where the password can be read from?
For example:
api_key:
chatgpt:
value: api-key-to-chatgpt # <- Replace with your API Key
deepl:
file_path: /home/tornax/secrets/gtt/deepl.txt
so either value
or file_path
can be used to provide the api key
Hey great tool!
It would be great to have the ability to specify the languages (--left-lang, --right lang) directly on startup. This way one could alias common languages to have them available faster
I'm not familiar with go
: I cloned the repository using git clone
and ran go install
in the root directory. I get the following message
# pkg-config --cflags -- alsa
Package alsa was not found in the pkg-config search path.
Perhaps you should add the directory containing `alsa.pc'
to the PKG_CONFIG_PATH environment variable
No package 'alsa' found
pkg-config: exit status 1
I tried the following commands to resolve this without success:
go install alsa # failed: package alsa is not in GOROOT
go install https://github.com/yobert/alsa # succeeded but did not resolve the issue
Could you tell me how to install the dependency? A bunch of other dependencies were downloaded upon running the initial go install
command, so alsa
might be missing from the requirements file.
Hi!
First really handy and nice made tool, thx for it ;)
As a suggestion, it could be very cool to add custom keybindings support.
I can type any text into the left window and press <c-j>
, nothing is shown on the right hand side. I tried different languages. The other keybindings work fine and I have a working internet connection. I cannot find any error log.
Hi,
thanks for the project :)
just wanted to let you know, that gtt is now in nixpkgs unstable
Hi!
I have the following file (for testing):
~/.config/gtt/server.yaml
api_key:
deepl:
value: abcde-fghij-lol
But I'm getting the following error message:
I've also tried it with the following config file:
~/.config/gtt/server.yaml
api_key:
deepl:
value: "abcde-fghij-lol"
Also using
~/.config/gtt/server.yaml
api_key:
deepl:
file: /tmp/test.txt
/tmp/test.txt
abcde-fghij-lol
results to the same error message
Like this title says. I would like to add option to make me separetly files/makrdown whatever of my history of specific translated words.
I can make PR for that but i would like to know if there is anyone who would use this option aswell.
My idea would be:
Keybind: ctrl + shift + s
(as save)
Creates file {source_language}_{destination_language}.md
Of course the style of naming of these files could be override by some configuration file.
I installed first alsa-lib-devel, then golang-bin, then ran go install github.com/eeeXun/gtt@latest then ran gtt and it says command not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.