zalgo 0.2.0

A crate for generating Zalgo text with defined parameters.
Documentation
  • Coverage
  • 85.71%
    24 out of 28 items documented6 out of 11 items with examples
  • Size
  • Source code size: 26.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.02 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Documentation
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • taiyaeix zeyla

ci-badge license-badge docs-badge

zalgo.rs

Rust crate for generating Zalgo text.

This features both a library and a binary, which can be used via:

cargo run --bin zalgo test text

Zalgo

Zalgo is an Internet legend about an ominous entity believed to cause insanity, death and destruction of the world, similar to the creature Cthulhu created by H.P. Lovecraft in the 1920s. Zalgo is often associated with scrambled text on webpages and photos of people whose eyes and mouth have been covered in black.

-- knowyourmeme

Installation

Add the following dependency to your Cargo.toml:

zalgo = "0.2"

And include it in your project:

extern crate zalgo;

Examples

Generate Zalgo text with up/down (no middle) and mini definitions:

use zalgo::ZalgoSize;

let text = zalgo::gen("test", true, false, true, ZalgoSize::Mini);

To view more examples, check out the examples directory.

License

License info in LICENSE.md. Long story short, ISC.