=== Slop Monkey ===
Contributors: slopmonkey
Tags: ai humanizer, humanize ai text, rewrite, ai writing, editor
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make AI writing sound like you wrote it. Humanize blocks or whole posts right in the editor. Free to start.

== Description ==

Slop Monkey turns stiff AI drafts into writing that sounds like you.

* Rewrites the text you choose, in place: selected blocks or the whole post
* Keeps names, numbers and quotations you want left alone
* Works on essays, emails, posts and docs, up to 5,000 words at a time
* Works in the block editor (sidebar and block toolbar) and the classic editor

Getting started is free: sign in with Google at [slopmonkey.app/api/keys](https://slopmonkey.app/api/keys), copy your key, and paste it in **Settings → Slop Monkey**. Need more words? Top up on the same page.

= How it works =

* **Block editor:** open the Slop Monkey sidebar (the monkey icon at the top right) and choose **Humanize selected blocks** or **Humanize whole post**. Or select one or more paragraphs, headings or list items and press **Humanize** in the block toolbar.
* **Classic editor:** press **Humanize** next to **Add Media**. With text selected, only the selection is rewritten. With nothing selected, every paragraph, heading and list item is rewritten.
* Press **Undo** to go back to your draft.

Slop Monkey works with plain text, so links, bold and other inline formatting in a rewritten block become plain text. The plugin asks before it does this.

= Your key stays on your server =

The editor sends text to your own site, and your site calls Slop Monkey. The API key is never sent to the browser. Only people who can edit posts can use the Humanize buttons, and only administrators can see or change the key.

== External services ==

This plugin connects to the Slop Monkey API (https://slopmonkey.app/api/v1), run by Slop Monkey, to rewrite text and to show your word balance. Without it the plugin cannot do anything.

What is sent, and when:

* **When you press Humanize:** the plain text of the blocks or selection you chose, sent from your server to `https://slopmonkey.app/api/v1/rewrites` together with your API key. The rewritten text comes back and is put into the editor.
* **When an administrator opens Settings → Slop Monkey:** your API key, sent to `https://slopmonkey.app/api/v1/usage` to show your word balance (at most once a minute).

Nothing is sent until you save a key and use the plugin. No visitor data is sent. The plugin does not send your site address.

* Terms of service: https://slopmonkey.app/api/terms
* Privacy policy: https://slopmonkey.app/privacy

== Installation ==

1. Install and activate the plugin from **Plugins → Add New**, or upload the `slop-monkey` folder to `/wp-content/plugins/`.
2. Get a free API key at https://slopmonkey.app/api/keys (sign in with Google).
3. Paste it in **Settings → Slop Monkey** and save. You will see your word balance.
4. Open a post and press **Humanize**.

You can also set the key in `wp-config.php` instead of the database:

`define( 'SLOPMONKEY_API_KEY', 'sm_live_...' );`

== Frequently Asked Questions ==

= Is it free? =

Getting started is free. When you need more words, top up at https://slopmonkey.app/api/keys.

= What happens when I run out of words? =

The request that ran out is not charged and changes nothing, and the editor shows a message with a **Top up** link. On a long post that needs several requests, the parts already rewritten are kept.

= How many words does a rewrite use? =

Each request uses at least 100 words, so short blocks are sent together in one request. Now and then the rewrite merges or splits paragraphs. When that happens, the plugin rewrites those blocks again in smaller groups so each block gets its own text back. That uses extra words.

= Which blocks can it rewrite? =

Paragraphs, headings and list items, including those inside groups, columns and quotes. Images, code, HTML and other blocks are left alone.

= Can I undo a rewrite? =

Yes. Press Undo (Ctrl+Z or Cmd+Z) in the editor.

= Does it work with test keys? =

Yes. Keys that start with `sm_test_` work and nothing is charged.

= Who can use it? =

Anyone who can edit posts can press Humanize. Only administrators can see the settings page.

== Screenshots ==

1. The Slop Monkey sidebar in the block editor.
2. The Humanize button in the block toolbar.
3. Settings → Slop Monkey with your balance and the Top up link.
4. The Humanize button in the classic editor.

== Changelog ==

= 1.0.0 =
* First release: block editor sidebar and toolbar button, classic editor button, settings page with balance.

== Upgrade Notice ==

= 1.0.0 =
First release.
