Git Product home page Git Product logo

gtt's People

Contributors

eeexun avatar linuxissuper avatar muvment avatar oselcuk avatar shalmonanandas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gtt's Issues

Feature: Add optional file path for reading API key

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

Missing package alsa during install

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.

add custom keybindings support

Hi!
First really handy and nice made tool, thx for it ;)
As a suggestion, it could be very cool to add custom keybindings support.

No translation shown

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.

Deepl: Can't read from API key, although it's added

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:

image

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

Feature request: Option for saves history of searched words

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.

Not working on fedora 38

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.