{"id":16643672,"url":"https://github.com/xtonousou/grklsh","last_synced_at":"2025-05-07T17:28:40.725Z","repository":{"id":84679564,"uuid":"95161301","full_name":"xtonousou/grklsh","owner":"xtonousou","description":":greece: :uk: Translate any text into Greeklish, print on stdout, write to file/s.","archived":false,"fork":false,"pushed_at":"2017-07-02T14:58:51.000Z","size":145,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T12:21:27.704Z","etag":null,"topics":["english","googletrans","greek","greeklish","pip","python","stdout","text-processing","translation"],"latest_commit_sha":null,"homepage":"","language":"Python","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/xtonousou.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-06-22T22:20:58.000Z","updated_at":"2022-04-09T15:28:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"17bf81e4-c0ea-4574-b2e1-38354b496339","html_url":"https://github.com/xtonousou/grklsh","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtonousou%2Fgrklsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtonousou%2Fgrklsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtonousou%2Fgrklsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtonousou%2Fgrklsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtonousou","download_url":"https://codeload.github.com/xtonousou/grklsh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252925928,"owners_count":21826225,"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":["english","googletrans","greek","greeklish","pip","python","stdout","text-processing","translation"],"created_at":"2024-10-12T08:09:16.161Z","updated_at":"2025-05-07T17:28:40.718Z","avatar_url":"https://github.com/xtonousou.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### grklsh [![Build Status](https://travis-ci.org/xtonousou/grklsh.svg?branch=master)](https://travis-ci.org/xtonousou/grklsh)\n\n\u003e Greeklish, a portmanteau of the words Greek and English, also known as Grenglish, Latinoellinika/Λατινοελληνικά or ASCII Greek, is the Greek language written using the Latin alphabet.\n\n### About\n\n\u003ca href=\"https://en.wikipedia.org/wiki/Greeklish\"\u003e\n    \u003cimg src=\"/imgs/board.png\" alt=\"grklsh logo\"\n         title=\"Greeklish Banner\" align=\"right\"\n         \t\twidth=\"40%\"/\u003e\n\u003c/a\u003e\n\n`grklsh` is a small script written in **Python 2** that translates any text into Greeklish. It reads from stdin or from the arguments and prints on stdout or writes to files.\n\n#### Features\n\n* \u003ckbd\u003eType\u003c/kbd\u003e and \u003ckbd\u003eEnter\u003c/kbd\u003e translation\n* File translation\n\n### Installation\n\n#### on Linux and on MacOS\n\nYou only need `git` and of course `python2`\n\n```bash\n$ git clone https://github.com/xtonousou/grklsh.git\n$ cd grklsh/\n$ sudo python2 -m pip install -r requirements.txt\n```\n\n#### on Windows\n\nYou can read this [guide]\n\n### Usage\n\n#### Table Of Contents\n\n* \u003ckbd\u003eType\u003c/kbd\u003e and \u003ckbd\u003eEnter\u003c/kbd\u003e translation\n  * [Greek \u0026#10141; Greeklish] *does not require internet connection*\n  * [Any language \u0026#10141; Greeklish] *requires internet connection*\n* File translation\n  * [Any language files \u0026#10141; New files in Greeklish] *requires internet connection*\n  * [Any language files \u0026#10141; New files in Greeklish (PARTIALLY)] *requires internet connection*\n  * [Files with Greek characters \u0026#10141; New files in Greeklish] *does not require internet connection*\n  * [Files with Greek characters \u0026#10141; New files in Greeklish (PARTIALLY)] *does not require internet connection*\n\n##### Greek \u0026#10141; Greeklish\n\nYou just have to type,\n\n```bash\n$ grklsh.py\n```\n\n##### Any language \u0026#10141; Greeklish\n\nYou need to put the `-t` or `--translate` argument first like this,\n\n```bash\n$ grklsh.py -t\n```\n\n##### Any language files \u0026#10141; New files in Greeklish\n\nOK, this one is a bit tricky :smirk:\n\nYou have to put the `-t` or `--translate` and `-w` or `--write` arguments before each filename\n\nThe following example will show you how to use this feature,\n\n```bash\n$ grklsh.py -t -w file1\n```\n\nThis will generate the translated file `file1.grklsh`\n\n\nIf you want to translate multiple files at once,\n*It doesn't matter the order of the arguments*\n\n```bash\n$ grklsh.py -t -w file1 -w -t file2 -t -w file3\n```\n\nThis one, will generate three translated files: `file1.grklsh`, `file2.grklsh` and `file3.grklsh`\n\n##### Any language files \u0026#10141; New files in Greeklish (PARTIALLY)\n\n:interrobang: Wait what?\n\nIn this case, you have to do it like this,\n\n```bash\n$ grklsh.py -w -t file1 -w file2 -t file3 -t -w file4 file5\n```\n\nWell, this example will generate a translated file `file1.grklsh` and a converted (Greek \u0026#10141; Greeklish) file `file2.grklsh`, print the file `file3` translated, generate a translated file `file4.grklsh` and print the converted (Greek \u0026#10141; Greeklish) file `file5` :grin:\n\n##### Files with Greek characters \u0026#10141; New files in Greeklish\n\nYou have to put the `-w` or `--write` argument before each filename\n\nThe example below shows how to translate a file into Greeklish and generate a file `file1.grklsh` which contains the translated text\n\n```bash\n$ grklsh.py -w file1\n```\n\nIf you want to convert multiple files at once,\n\n```bash\n$ grklsh.py -w file1 -w file2 -w file3\n```\n\nThis will generate three files: `file1.grklsh`, `file2.grklsh` and `file3.grklsh` which contain the translated text of each file passed as argument\n\n##### Files with Greek characters \u0026#10141; New files in Greeklish (PARTIALLY)\n\nHmmm? :confused:\n\nYou can use the functionality of printing the translated text on stdout and the functionality of writing to files simultaneously\n\nThe example below shows the implementation of the above,\n\n```bash\n$ grklsh.py -w file1 file2 -w file3 -w file4\n```\n\nThis will print on stdout the translated text of the file `file2` but it will also generate three files: `file1.grklsh`, `file3.grklsh` and `file4.grklsh` which contain the translated text of each file\n\n### Credits\n\n* [nfldb] by BurntSushi for his awesome wiki\n\n### Changelog\n\nAll notable changes to this project will be documented in [this] file\n\n### License\n\nCopyright (c) **2017** by **Sotirios M. Roussis**. Some rights reserved.\n\n`grklsh` is under the terms of the MIT License, following all clarifications stated in the [license] file\n\n\u003c!--- Links --\u003e\n\n[here]: https://www.python.org/downloads/windows/\n[nfldb]: https://github.com/BurntSushi/nfldb\n\n\u003c!--- Anchors --\u003e\n\n[Greek \u0026#10141; Greeklish]: #greek--greeklish\n[Any language \u0026#10141; Greeklish]: #any-language--greeklish\n[Any language files \u0026#10141; New files in Greeklish]: #any-language-files--new-files-in-greeklish\n[Any language files \u0026#10141; New files in Greeklish (PARTIALLY)]: #any-language-files--new-files-in-greeklish-partially\n[Files with Greek characters \u0026#10141; New files in Greeklish]: #files-with-greek-characters--new-files-in-greeklish\n[Files with Greek characters \u0026#10141; New files in Greeklish (PARTIALLY)]: #files-with-greek-characters--new-files-in-greeklish-partially\n\n\u003c!--- Images --\u003e\n\n[banner]: /imgs/flag.jpg\n[board]: /imgs/board.png\n\n\u003c!--- MDs --\u003e\n\n[guide]: WINDOWS_INSTALLATION.md\n[this]: CHANGELOG.md\n[license]: LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtonousou%2Fgrklsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtonousou%2Fgrklsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtonousou%2Fgrklsh/lists"}