{"id":20618197,"url":"https://github.com/tddschn/zalgo-cli","last_synced_at":"2025-04-15T11:37:33.369Z","repository":{"id":243769700,"uuid":"813391194","full_name":"tddschn/zalgo-cli","owner":"tddschn","description":"A simple command line tool to generate zalgo texts or de-zalgo-fy texts.","archived":false,"fork":false,"pushed_at":"2024-07-06T02:21:54.000Z","size":259,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T19:38:10.057Z","etag":null,"topics":["cli","fun","python","text","utility","zalgo","zalgo-text"],"latest_commit_sha":null,"homepage":"https://huggingface.co/spaces/tddschn/zalgo-gradio","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/tddschn.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":"2024-06-11T02:05:01.000Z","updated_at":"2024-08-06T02:00:46.000Z","dependencies_parsed_at":"2024-06-11T03:58:28.500Z","dependency_job_id":"774f32c7-aae4-417d-a670-7176b8cc8e92","html_url":"https://github.com/tddschn/zalgo-cli","commit_stats":null,"previous_names":["tddschn/zalgo-cli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fzalgo-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fzalgo-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fzalgo-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fzalgo-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/zalgo-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249061822,"owners_count":21206568,"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","fun","python","text","utility","zalgo","zalgo-text"],"created_at":"2024-11-16T12:07:32.287Z","updated_at":"2025-04-15T11:37:33.339Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zalgo-cli\n\nA simple command line tool and [Gradio app](https://huggingface.co/spaces/tddschn/zalgo-gradio) to generate zalgo texts, or de-zalgo texts.\n\n- [zalgo-cli](#zalgo-cli)\n  - [Demo](#demo)\n    - [CLI](#cli)\n    - [Gradio](#gradio)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n    - [zalgo-gradio](#zalgo-gradio)\n  - [Usage](#usage)\n    - [CLI](#cli-1)\n    - [Gradio](#gradio-1)\n    - [Library](#library)\n  - [Develop](#develop)\n  - [Credits](#credits)\n\n## Demo\n\n### CLI\n\n```\n$ zalgo test -n 20\n\nṯe͕sͫť\tt̿e̵s͍t̐\tt̜e̼s̗tͨ\tẗe̮s̼tͥ\t\nt͋e̞śt̪\tt̊e̎s̮t͈\tṯe͊s̗t̍\tt̄e̬śt͗\t\nt͕e͓s͜t͕\ttͯe̙s͙t͍\tt̀e̊s̏t̲\tt̰ẽs̕t̗\t\nt̘e͐s̞t̿\tẗeͣs͆t̸\tt͙e͉s̑t̤\tt̀e͙s̐t̋\t\nt͆e̟s̈́tͦ\tt̛e͏s̛t͕\tt̆eͮs̠tͮ\tt͋e̱s͎tͦ\t\n```\n\n```\n# accept input from stdin, adding tons of the zalgo-thingys\n# output is too crazy to be put here\n$ echo 'hello world' | zalgo -n 5 -o -a1000\n```\n\n**Specifying a list of unicode codepoints to zalgo-fy the text**\n\nSee https://www.compart.com/en/unicode/block/U+0300\n\n```\n# add `t' diacratic marks (U+036D) on t 100 times, then add `c' diacratic marks on c 100 times\n$ zalgo 'tc' -a100 -c '0x036D 0x0368'\ntͭͭͭcͨͨͨ\t\n```\n\n**De-zalgo-fy the text**\n\n```\n$ zalgo -z 'Z̐ȃļg̡ò'\nZalgo\n```\n\n### Gradio\n\nhttps://huggingface.co/spaces/tddschn/zalgo-gradio\n\n```\n$ zalgo-gradio\n```\n\n![](https://github.com/cli/cli/assets/45612704/1f55f742-fea1-4e42-9c70-321ce096f0b0)\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install zalgo-cli\n```\n\n### [pip](https://pypi.org/project/zalgo-cli/)\n\n```\n$ pip install zalgo-cli\n```\n\n### zalgo-gradio\n\n`zalgo-gradio` requires an extra dependency to run, you can install it with `pipx install zalgo-cli[gradio]` or `pip install zalgo-cli[gradio]`.\n\n## Usage\n\n### CLI\n\nYou can use either `zalgo` or `zalgo-cli` to run the program.\n\n```\n$ zalgo --help\n\nusage: zalgo [-h] [-a int] [-l int] [-n int] [-o] [-c str] [-d] [-z] [-V]\n             [str]\n\nGenerate or De-Zalgo text\n\npositional arguments:\n  str                   Initial string to Zalgo-fy or De-Zalgo-fy. If not\n                        provided, read from stdin (default: None)\n\noptions:\n  -h, --help            show this help message and exit\n  -a int, --adds-per-char int\n                        Number of additions per character (default: 1)\n  -l int, --char-limit int\n                        Character limit [0 for no limit] (default: 0)\n  -n int, --amount int  Amount of Zalgo text to generate (default: 1)\n  -o, -1, --one-per-line\n                        Output one Zalgo-fied string per line (default: False)\n  -c str, --codepoints str\n                        Codepoints to Add (space-separated hex values, e.g.,\n                        '0x036D 0x0368') (default: )\n  -d, --debug           Enable debug logging (default: False)\n  -z, --dezalgo         De-Zalgo-fy the input string (default: False)\n  -V, --version         show program's version number and exit\n\n\n```\n\n### Gradio\n\n```\n$ zalgo-gradio\n```\n\nOr use the hosted version at https://huggingface.co/spaces/tddschn/zalgo-gradio .\n\n### Library\n\nCodes are split into separate files so that you can use it as a library too without hassle.\n\nThere's only one core function that you might want to use:\n\n```python\nfrom zalgo_cli import zalgo\n```\n\nRead the source code to see how to use it.\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/zalgo-cli.git\n$ cd zalgo-cli\n$ poetry install\n```\n\n## Credits\n\nInitial development of this project was inspired by https://github.com/n-1x/zalgo-cli .","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fzalgo-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Fzalgo-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fzalgo-cli/lists"}