
wcloud
Generate beautiful word clouds with support for masks, custom fonts, custom coloring functions, and more.
Installation
Currently, the only way to install wcloud is by installing Rust and using Cargo.
cargo install wcloud
Usage
wcloud can be used as both a command-line application and a library.
Command-line
The binary runs under the wcloud name. The only required input is the text used to generate the word cloud, which can be provided via the --text flag or through stdin.
$ wcloud --text file.txt -o cloud.png
$ echo 'Clouds are awesome!' | wcloud --output cloud.png
For a list of all options, use wcloud --help.
Library
wcloud can also be used as a Rust crate. cargo add wcloud to add it as a dependency. The documentation is available here.
Here's a basic example:
use ;

Examples of generating word clouds with masks, custom colors, and other features can be found in the examples/ directory.
Gallery
Credit
This project is largely based on the word_cloud project by @amueller. Comparatively, wcloud is missing the following features:
- Color masks
- Mask contours
- Bigrams
- Colormaps
- Plural normalization
License
wcloud is released under the MIT License. The default Ubuntu font is included under the Ubuntu Font License and Droid Sans Mono under Apache License 2.