# Word cloud plugin for discourse?

**URL:** https://meta.discourse.org/t/word-cloud-plugin-for-discourse/181161
**Category:** Feature
**Created:** [February 25, 2021, 10:13pm UTC](https://meta.discourse.org/t/word-cloud-plugin-for-discourse/181161 "2021-02-25T22:13:14Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [February 27, 2021, 1:24pm UTC](https://meta.discourse.org/t/word-cloud-plugin-for-discourse/181161/4 "2021-02-27T13:24:22Z")

</div>

I thought this was a fun idea 🎲 … so I created it\*

It’s at a _very_ early ‘just working’ stage and needs _a lot_ of refinement and additional options and potentially some click functionality:

[https://github.com/merefield/discourse-word-cloud](https://github.com/merefield/discourse-word-cloud)

It adds a link on your Hamburger Menu. 🎉

⚠ be aware that currently it builds the word stats from _all_ Posts, regardless of type and location. This could effectively act as a very-round-the-houses mild privacy leak (might need some additional safeguards to exclude words from posts in private areas). You have to be logged in to see it and access the data though … and the words are rendered as SVG’s … and it only shows the top x hundred words, so unlikely to be much of a concern to most sites. I’ll work on that to make it more secure, but this way the query runs very fast.

Enjoy. 🕺

\*It leverages some pretty nifty existing libraries which I’ve credited in the repo. Shout out to @DiscourseMetrics whose [query](https://meta.discourse.org/t/sql-the-most-n-used-words-per-user-speak-their-language/38556/21) I leveraged.

---

_[View the full topic](https://meta.discourse.org/t/word-cloud-plugin-for-discourse/181161)._
