Skip to content

Acture/char-cloud

Repository files navigation

Char Cloud

Crates.io Release Build License

Char Cloud is a command-line tool written in Rust that generates word-cloud images in custom shapes. It lets you use a piece of text as the outline and fill that shape with the words you provide, producing an SVG file as output.

Features

  • Custom shape defined by text
  • Automatic font-size fitting
  • Configurable output image size
  • Custom font support
  • Multiple color support
  • SVG output
  • Built-in Chinese fonts

Installation

cargo install char-cloud

Usage

Basic example:

char-cloud --text "Target Text" --words "word1,word2,word3" --output output.svg

For more options, run:

char-cloud --help

License

This project is licensed under the Affero GPL v3. Please read the LICENSE file before use.

About

Generate a high-density, shape-fitting word cloud in SVG format

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published