Skip to content
WordPress plugin that encourages authors of toxic comments to re-phrase them to be more kind instead.
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
common Add shared error logger. Jun 4, 2019
front-end
.gitignore
TODO.md
bootstrap.php Apply coding standards Jun 4, 2019
package-lock.json Convert to React May 29, 2019
package.json Convert to React May 29, 2019
readme.md
readme.txt
webpack.config.js

readme.md

Compassionate Comments

Why do we have tools to check our spelling, but not to check if we're being kind to each other?

This plugin checks the intent of a comment before it's submitted. If the author is being rude or disrespectful, it will encourage them to think twice, and give them a chance to rephrase their comment to be more kind before they submit it.

Google's free Perspective API is used to determine the characteristics of the comment, which means that all comments will be sent to their servers for analysis. You can optionally request that they not store your comments for their future research.

The Perspective API can only analyze comments written in English, French, and Spanish. Comments written in other languages will be accepted without any analysis or content warnings.

The inspiration for this comes from Tristan Harris' TED talk about designing technology to reflect human values and from ReThink.

Example

Screenshot of a user being warned that their comment is mean

Setup

If you just want to use the plugin, you can install the packaged version from the WordPress.org plugin repository.

If you want to develop the plugin, then follow these steps to setup the development version:

  • git clone https://github.com/iandunn/compassionate-comments.git
  • cd compassionate-comments
  • npm install
  • npm start

After the initial setup, you only need to run npm start. To build the distributed version, run npm run build.

You can’t perform that action at this time.