https://github.com/ophoperhpo/gt-bash-client
π§ Get translated text from your terminal! Console Google Translate Script (bash+curl) π§
https://github.com/ophoperhpo/gt-bash-client
bash client curl google-translate script sed
Last synced: 6 months ago
JSON representation
π§ Get translated text from your terminal! Console Google Translate Script (bash+curl) π§
- Host: GitHub
- URL: https://github.com/ophoperhpo/gt-bash-client
- Owner: OPHoperHPO
- License: mit
- Created: 2018-07-14T04:20:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-01T17:06:51.000Z (almost 5 years ago)
- Last Synced: 2023-03-04T01:48:38.713Z (over 2 years ago)
- Topics: bash, client, curl, google-translate, script, sed
- Language: Shell
- Homepage: https://ophoperhpo.github.io/GT-bash-client/
- Size: 29.3 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# π§Google Translate bash clientπ§
__Get translated text from your terminal!__
### π How it work?
This script translate your text. \
Script will parse your source language and target language + your text, then Script send this information to Google Translate Api and get translated text.\
__Multi-line text input supported.__
****************************************
### π Instructions:
- **[Instruction for adding script as program in GoldenDict](https://github.com/OPHoperHPO/GT-bash-client/issues/3)**
****************************************
### π§° Usage:
- `./translate.sh ` \
If you do not know the source language, then put the value `auto` in place of ` `
****************************************
### π· Install
- Clone repository via `git clone https://github.com/OPHoperHPO/GT-bash-client`
- Check script via `./GT-bash-client/translate.sh en es Hello`
****************************************
### π§· Note:
This bash script is combine of this scripts: \
[JSON.sh](https://github.com/dominictarr/JSON.sh) \
[Gist #1](https://gist.github.com/elFua/3342075) \
[Gist #2](https://gist.github.com/ayubmalik/149e2c7f28104f61cc1c862fe9834793)
****************************************
### π΅ Support me:
You can thank me for developing any of my projects, provide financial support for developing new projects and buy me a small cup of coffee.β \
Just support me on these platforms:
*  [**Boosty**](https://boosty.to/anodev)
*  [**DonationAlerts**](https://www.donationalerts.com/r/anodev_development)
*  [**PayPal**](https://paypal.me/anodevru)