{"id":14530241,"url":"https://github.com/fedeztk/got","last_synced_at":"2025-04-27T06:33:00.971Z","repository":{"id":37081959,"uuid":"441671997","full_name":"fedeztk/got","owner":"fedeztk","description":"Translating TUI written in go using simplytranslate's API","archived":false,"fork":false,"pushed_at":"2023-06-14T20:34:41.000Z","size":7370,"stargazers_count":174,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T22:33:21.888Z","etag":null,"topics":["cli","command-line","go","golang","translate","tui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedeztk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T12:11:39.000Z","updated_at":"2025-03-23T08:46:22.000Z","dependencies_parsed_at":"2024-06-18T22:53:20.581Z","dependency_job_id":null,"html_url":"https://github.com/fedeztk/got","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fgot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fgot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fgot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedeztk%2Fgot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedeztk","download_url":"https://codeload.github.com/fedeztk/got/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251099329,"owners_count":21536145,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line","go","golang","translate","tui"],"created_at":"2024-09-05T00:01:05.952Z","updated_at":"2025-04-27T06:33:00.672Z","avatar_url":"https://github.com/fedeztk.png","language":"Go","funding_links":[],"categories":["Applications"],"sub_categories":["Language and Translation"],"readme":"# got\n[![GO](https://github.com/fedeztk/got/actions/workflows/go.yaml/badge.svg)](https://github.com/fedeztk/got/tree/master/.github/workflows/go.yml) [![GHCR](https://github.com/fedeztk/got/actions/workflows/deploy.yaml/badge.svg)](https://github.com/fedeztk/got/tree/release/.github/workflows/deploy.yml) [![AUR](https://img.shields.io/aur/version/go-translation-git?logo=archlinux)](https://aur.archlinux.org/packages/go-translation-git) [![Go Report Card](https://goreportcard.com/badge/github.com/fedeztk/got)](https://goreportcard.com/report/github.com/fedeztk/got)\n\n## Table of Contents\n\n[Demo](#orgab62fc1) -\n[Usage](#orgfa2aa9c) -\n[Features](#org26baa6c) -\n[Testing](#org2744438)\n\ngo-translation (shortly `got`), a simple translator and text-to-speech app built on top of [simplytranslate](https://codeberg.org/SimpleWeb/SimplyTranslate-Web/src/branch/master/api.md) and [lingvatranslate](https://github.com/thedaviddelta/lingva-translate) APIs. The interface is made with the awesome [bubbletea](https://github.com/charmbracelet/bubbletea) tui library.\n\n\u003e :warning: simplytranslate is currently down. I still kept it as a valid backend in the hope of a future comeback, by default `got` uses now lingvatranslate\n\nScreenshots [here](#org26baa6c)\n\n\u003e Disclaimer: this is my absolute first project in golang, so bugs and clunky code are expected\u0026#x2026;\n\n\u003e The project is still a work-in-progress, breaking changes and heavy refactoring may happen\n\n\n\u003ca id=\"orgab62fc1\"\u003e\u003c/a\u003e\n\n## Demo\n\n\nhttps://user-images.githubusercontent.com/58485208/166154625-7c5556bd-74aa-4425-a046-160ba793b792.mp4\n\n\n\u003ca id=\"orgfa2aa9c\"\u003e\u003c/a\u003e\n\n# Usage\n\n- Install `got`: \n\nWith the `go` tool:\n```sh\ngo install github.com/fedeztk/got/cmd/got@latest\n```\n**Or** from source:\n```sh\n# clone the repo\ngit clone https://github.com/fedeztk/got.git\n# install manually \nmake install\n```\nIn both cases make sure that you have the go `bin` directory in your path:\n```sh\nexport PATH=\"$HOME/go/bin:$PATH\"\n```\nIf you are an Arch user there is also an AUR package available:\n```sh\nparu -S go-translation-git\n```\n- Copy [the sample config](https://github.com/fedeztk/got/blob/master/config.yml) file under ~/.config/got/ as config.yml **or** let the program generate one for you at the first run\n- Run it interactively:\n```sh\ngot            # use last used engine, default is google\ngot -e reverso # change engine to reverso\n```\n-  Or in oneshot mode:\n```sh\ngot -o -s en -t it \"Hello World\"          # use default (google)\ngot -o -e libre -s en -t it \"Hello World\" # use libre-translate\n```\nFor more information check the help (`got -h`)\n\u003ca id=\"org26baa6c\"\u003e\u003c/a\u003e\n\n# Features\n\n-   Interact with various translation engines easily via the terminal, no need to open a browser!\n-   Clean interface with 3 tabs, switch between them with tab/shift-tab:\n\t-   **text input**: input the sentence you want to translate, press **enter** to translate\n![image](https://user-images.githubusercontent.com/58485208/173687247-2a1ad240-44f8-46ff-b8de-c55b3eccc4c4.png)\n\t-   **language selection**: choose between 108 languages, select source language with **s**, target with **t** and **i** to invert the target with the source. Press **?** to show the full help menu\n\t![image](https://user-images.githubusercontent.com/58485208/173687797-6325ccc9-5745-43af-b9a8-35b97bd94675.png)\n\tFull help:\n\t![image](https://user-images.githubusercontent.com/58485208/173687516-33d48c4c-206a-4b85-9678-ee6684ba71e4.png)\n\t-   **translation**: pager that shows the result of translation. Copy translation with **y**, listen the translation with **p**\n\t![image](https://user-images.githubusercontent.com/58485208/173687675-5d073c2c-428a-4a27-9cb2-4b0c803a8a5e.png)\n- **engines** (only available with simplytranslate backend): choose between google, libre-translate, reverso and iciba (deepl is not working yet)\n-   quit anytime with **esc** or **ctrl-c**\n-   automatically remembers the last languages used\n\n\n\u003ca id=\"org2744438\"\u003e\u003c/a\u003e\n\n# Testing\n\nDevelopment is done through `docker`, build the container with:\n\n    make docker-build\n\nCheck that the build went fine:\n\n    docker images | grep got\n\nTest it with:\n\n    make docker-run\n\nPre-built Docker image available [here](https://github.com/fedeztk/got/pkgs/container/got)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedeztk%2Fgot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedeztk%2Fgot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedeztk%2Fgot/lists"}