https://github.com/tobysolutions/tranpeer
This is a CLI tool that translates a sentence from English to any language using the free Google translate API
https://github.com/tobysolutions/tranpeer
cli google-translate google-translate-api translation
Last synced: 9 months ago
JSON representation
This is a CLI tool that translates a sentence from English to any language using the free Google translate API
- Host: GitHub
- URL: https://github.com/tobysolutions/tranpeer
- Owner: tobySolutions
- Created: 2024-11-09T12:07:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T12:42:03.000Z (over 1 year ago)
- Last Synced: 2025-01-08T17:23:54.182Z (over 1 year ago)
- Topics: cli, google-translate, google-translate-api, translation
- Language: JavaScript
- Homepage:
- Size: 1.53 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# TRANPEEER (CLI Tool for Language Translation)
The `tranpeer` CLI tool handles translation of sentences in English language to any other language provided by the [Google translate API](https://cloud.google.com/translate/docs/languages) for you in your terminal.
## Get started:
To install the CLI tool on your machine:
```bash
npm install tranpeer
// To install globally on your machine
npm install -g tranpeer
```
To run the CLI tool locally, you can just use the following example command:
```bash
tranpeer -l "pt" -s "I want to play football"
```
## Supported commands:
[x]--version Show version number [boolean]
[x]-l, --language Translate to language [string]
[x]-s, --sentence Sentence to be translated [string]
[x]--help Show help [boolean]