=== Content Fork – Turn Articles Into Drafts ===
Contributors: rocksolidwp
Tags: ai, content, posts, drafts, rewriting
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Rewrite any article into an original, structured WordPress draft, with images.

== Description ==

Paste an article URL and Content Fork saves a rewritten, structured draft on your site. You review it, edit it, and publish it — nothing goes live on its own.

The plugin is the part that needs your WordPress: it creates the draft, converts the article into blocks, and attaches the images to your media library. The fetching and rewriting happen on our service, so the plugin ships no AI provider keys, no scraping key, and nothing to keep up to date.

**What a fork does**

1. You give it an article URL.
2. The service retrieves the page and rewrites it as an article of your own.
3. The plugin saves the result as a draft, with headings, a list, and images attached.

**Images**

Three options, chosen per fork: a text-only draft, images from the source page, or a stock photograph. Whatever is used is downloaded to your media library and attached to the draft. The first attached image becomes the featured image; placing images inside the body is left to you.

**Credits**

Usage starts at one credit and increases with the work an article needs, so a credit pack is not a fixed number of articles. Your balance, and what each article was charged, are shown in your account on content-fork.com.

**What this plugin needs**

An account on content-fork.com with credits, and a site key you create there. The plugin asks for that key once. See *External services* below for what is sent, and to where.

**Requirements**

* WordPress 6.0 or later
* PHP 8.0 or later
* An outbound HTTPS connection from your site

== External services ==

This plugin is an interface to a hosted service. It does not work without it, and there is no offline mode.

**The one address the plugin contacts.** https://w5qqmwnwya.execute-api.ap-southeast-1.amazonaws.com/prod — the service's API, which we operate on AWS in Singapore. Nothing else is contacted. In particular the plugin never calls content-fork.com: that is the account site, linked below for you rather than called by the plugin.

**What every request carries.** Your site key, in an Authorization header. This site's domain, in an X-Fork-Site header — that is how a key is kept to the site it was created for. And the plugin's version, in the User-Agent, so we can tell which release is calling.

**What starting a fork adds.** The article URL you submitted and the image choice you made. While the fork runs, its fork ID. That is the whole list.

**What the service does with it.** It fetches that URL, rewrites the article, returns it, and records the credits charged to your account.

**What is not sent.** Your WordPress content, your users, your database, and any credentials for your site are not sent anywhere.

**Where the links lead.**

* Account, credits and site keys: https://content-fork.com/
* Terms of use: https://content-fork.com/terms
* Privacy policy: https://content-fork.com/privacy

== Installation ==

1. Install and activate the plugin.
2. Create an account at https://content-fork.com/ and add credits.
3. On the **Site keys** screen there, create a site key.
4. In WordPress, open **Content Fork → Settings**, paste the key, and save.
5. Use **Add Fork** with an article URL.

If your site reports that the key is not accepted, check that it was created on the same service the plugin is configured to use.

== Frequently Asked Questions ==

= What does Content Fork actually do? =

You submit an article URL inside WordPress. The service fetches and rewrites the article, and the plugin creates a structured draft on your site. You can then edit and publish it in WordPress.

= Will it publish anything automatically? =

No. New articles are saved as drafts. You decide what to change and when to publish.

= What happens to the images? =

Choose a text-only draft, images from the source page, or a stock photo. Available images are downloaded to your WordPress media library and attached to the draft. The first attached image becomes the featured image; body placement is manual.

= How many credits does an article use? =

Usage starts at one credit and can increase with the work needed to rewrite an article. A credit pack is not a fixed number of articles. Your dashboard shows your available balance and what each article was charged.

= What if an article cannot be fetched or rewritten? =

Some pages cannot be retrieved or processed. Check the job status in WordPress for the reason and next step. If a job pauses for credits, add credits and then resume it from the plugin.

= Can I choose the language or writing style? =

The hosted rewrite is instructed to use the source article's language and a neutral editorial tone. Review the result before publishing; custom tone and translation controls are not currently offered.

== Changelog ==

= 1.0.0 =
First public release.
