Skip to main content

Zalgo Text Generator CLI

Project description

zalgo-cli

A simple command line tool and Gradio app to generate zalgo text.

Demo

CLI

$ zalgo test -n 20

ṯe͕sͫť	t̿e̵s͍t̐	t̜e̼s̗tͨ	ẗe̮s̼tͥ	
t͋e̞śt̪	t̊e̎s̮t͈	ṯe͊s̗t̍	t̄e̬śt͗	
t͕e͓s͜t͕	tͯe̙s͙t͍	t̀e̊s̏t̲	t̰ẽs̕t̗	
t̘e͐s̞t̿	ẗeͣs͆t̸	t͙e͉s̑t̤	t̀e͙s̐t̋	
t͆e̟s̈́tͦ	t̛e͏s̛t͕	t̆eͮs̠tͮ	t͋e̱s͎tͦ	
# accept input from stdin, adding tons of the zalgo-thingys
# output is too crazy to be put here
$ echo 'hello world' | zalgo -n 5 -o -a1000

Gradio

https://huggingface.co/spaces/tddschn/zalgo-gradio

$ zalgo-gradio

Installation

pipx

This is the recommended installation method.

$ pipx install zalgo-cli

pip

$ pip install zalgo-cli

zalgo-gradio

zalgo-gradio requires an extra dependency to run, you can install it with pipx install zalgo-cli[gradio] or pip install zalgo-cli[gradio].

Usage

CLI

You can use either zalgo or zalgo-cli to run the program.

$ zalgo --help

usage: zalgo [-h] [-a int] [-l int] [-n int] [-o] [-V] [str]

Generate Zalgo text

positional arguments:
  str                   Initial string to Zalgo-fy. If not provided, read from
                        stdin (default: None)

options:
  -h, --help            show this help message and exit
  -a int, --adds-per-char int
                        Number of additions per character (default: 1)
  -l int, --char-limit int
                        Character limit [0 for no limit] (default: 0)
  -n int, --amount int  Amount of Zalgo text to generate (default: 1)
  -o, -1, --one-per-line
                        Output one Zalgo-fied string per line (default: False)
  -V, --version         show program's version number and exit

Gradio

$ zalgo-gradio

Or use the hosted version at https://huggingface.co/spaces/tddschn/zalgo-gradio .

Develop

$ git clone https://github.com/tddschn/zalgo-cli.git
$ cd zalgo-cli
$ poetry install

Credits

Development of this project was based on https://github.com/n-1x/zalgo-cli .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zalgo_cli-0.2.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

zalgo_cli-0.2.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file zalgo_cli-0.2.2.tar.gz.

File metadata

  • Download URL: zalgo_cli-0.2.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for zalgo_cli-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6d4baa63485a52800aee7b44627a4f59cbb072a2ce1820877bbcf218aed314cc
MD5 d150e3614f0b88c0c48b864009d3dceb
BLAKE2b-256 00d962348755df648917fe5b35c842795e018b6b8ad82bdb592eaff843d43032

See more details on using hashes here.

File details

Details for the file zalgo_cli-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: zalgo_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for zalgo_cli-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f1150cd6ca155500a7d18812a8133deed5eb449b258f80121dbc9b5ca42ec0a
MD5 030f7ce68b2c432029ec08404f3ca6a4
BLAKE2b-256 446acfbe8d695fcca90f2903f94c4ae7c853876ee232c0a529aedfb77514072d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page