{"id":18123286,"url":"https://github.com/mhadaily/gtransit","last_synced_at":"2026-04-18T07:32:40.397Z","repository":{"id":57256499,"uuid":"85479965","full_name":"mhadaily/gtransit","owner":"mhadaily","description":"Google Translator in your Terminal, Using Async, Await in Node \u003e 7 and Promise in Node \u003c 7.","archived":false,"fork":false,"pushed_at":"2017-05-16T19:16:58.000Z","size":24,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T17:03:19.189Z","etag":null,"topics":["async-functions","google-translate","nodejs","open-source","terminal"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mhadaily.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-19T13:56:33.000Z","updated_at":"2017-03-21T10:08:43.000Z","dependencies_parsed_at":"2022-08-25T02:30:36.585Z","dependency_job_id":null,"html_url":"https://github.com/mhadaily/gtransit","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mhadaily/gtransit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fgtransit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fgtransit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fgtransit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fgtransit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhadaily","download_url":"https://codeload.github.com/mhadaily/gtransit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhadaily%2Fgtransit/sbom","scorecard":{"id":639737,"data":{"date":"2025-08-11","repo":{"name":"github.com/mhadaily/gtransit","commit":"a567e2991269cfa3bb6737dcbeed00df68f14bfa"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 3 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-832h-xg76-4gv6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-h452-7996-h45h","Warn: Project is vulnerable to: GHSA-9vvw-cc9w-f27h","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-h6ch-v84p-w6p9","Warn: Project is vulnerable to: GHSA-qrmc-fj45-qfc2","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-qh2h-chj9-jffq","Warn: Project is vulnerable to: GHSA-wrvr-8mpx-r7pp","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-w9mr-4mfr-499f","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-8225-6cvr-8pqp"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T10:21:27.222Z","repository_id":57256499,"created_at":"2025-08-21T10:21:27.222Z","updated_at":"2025-08-21T10:21:27.222Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["async-functions","google-translate","nodejs","open-source","terminal"],"created_at":"2024-11-01T07:08:57.840Z","updated_at":"2026-04-18T07:32:40.373Z","avatar_url":"https://github.com/mhadaily.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google translator in your terminal\n\nThis is a simple Node CLI translator via Google translate. It is able to say \nyour translation based on your operating system text-to-speech default. \n\n## Installation\n\n````\nnpm install --global gtransit\n````\n## Test\n\n````\nnpm test\n````\n\n## Fun Test\n\n````\nnpm run fun\n````\n\n## Commands\n\n````\n    Usage: gtransit [options] [command]\n\n\n  Commands:\n\n    translate|t [options] \u003cyourText\u003e  just type yout \"phrase\" or word\n    list|l                            List all available languages\n    search|s \u003clanguage\u003e               Search for shortcode of languages\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n  Default:\n\n    Source Language is English\n    Target Language is Espanish\n\n  Usage:\n\n    $ gtransit t \"Hello world\" -s en -t fr\n    $ gtransit t Hello -t ar\n    $ gtransit l\n    $ gtransit s czech\n    $ gtransit s \"Haitian Creole\"\n\n  Command: translate|t [options] \u003cyourText\u003e\n  Options:\n\n    -h, --help                output usage information\n    -s --source [sourceLang]  This is original lang\n    -t --target [targetLang]  This is target lang\n    --say  This will say your translation. \n\n````\n![gTransIt](https://www.majidhajian.com/images/gtransit.gif \"gTransIt\")\n\n## OS X Notes\n\n### Feminine Voices\n\nAgnes, Kathy, Princess, Vicki, Victoria\n\n### Masculine Voices\n\nAlbert, Alex, Bruce, Fred, Junior, Ralph\n\n### Miscellaneous Voices\n\nBad News, Bahh, Bells, Boing, Bubbles, Cellos, Deranged, Good News, Hysterical, Pipe Organ, Trinoids, Whisper, Zarvox\n\n\n## Windows Notes\n\nVoice parameter is not yet available. Uses whatever default system voice is set, ignoring voice parameter.\nSpeed parameter is not yet available.\n\nThe `export` method is not available.\n\n\n## Linux Notes\n\nLinux support involves the use of [Festival](http://www.cstr.ed.ac.uk/projects/festival/), which uses decidedly less friendly names for its voices.  Voices for\nFestival sometimes need to be installed separately - you can check which voices are available by starting up Festival in interactive mode, typing `(voice_`,\nand pressing `TAB`.  Then take the name of the voice you'd like to try, minus the parentheses, and pass it in to say.js.\n\nThe `export` method is not yet available.\n\nTry the following command to install Festival as well as a default voice:\n\n```shell\nsudo apt-get install festival festvox-kallpc16k\n```\n\n## Requirements\n\n* Mac OS X (comes with `say`)\n* Linux with Festival installed\n* Windows (comes with SAPI.SpVoice)\n\n## Todo\n* need to support older Node version easily. (refactoring modules)\n* support other translator as well. \n* bring a comparision table between translator as a suggestion\n\n## Bug\n\nPlease open your issue [HERE](https://github.com/mhadaily/gtransit/issues)\n\n## Contribution\n\nFeel free to fork this project and make that better.\n\n## Disclaimer \n\nPlease do not use this package in production or for heavy usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhadaily%2Fgtransit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhadaily%2Fgtransit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhadaily%2Fgtransit/lists"}