On , I learnt ...
How to create a word cloud from text piped via STDIN
There’s a word_cloud
generator package available from PyPI
that can take its source text from STDIN:
cat the-bible.txt | wordcloud_cli --imagefile bible.png
For fun, you can create a word cloud of all your commit subjects from a repo:
git log --author="$AUTHOR" --no-merges --format="%s" | \
wordcloud_cli --background=white --imagefile=commits.png
which, for this repo, yields:
