=== PurePen AI – The 1-Click AI Content Generator for WordPress ===
Contributors: solverwp
Tags: ai, content, openai, claude, gemini
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: trunk
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate AI-powered titles, content, and tags for WordPress posts using Claude, OpenAI, Gemini, Mistral, Groq and more.

== Description ==

**PurePen AI** lets you generate publication-ready blog content without leaving the editor. Enter a topic, choose your AI model, and get titles, full post body, and tags in seconds.

= Key Features =

* **8 AI Providers** — Anthropic Claude, OpenAI GPT, Google Gemini, Mistral AI, Cohere, Groq, DeepSeek, and OpenRouter.
* **Generate Everything** — Titles, full HTML content, tags, and meta excerpt in one click.
* **Individual generators** — Generate titles, content, or tags separately as needed.
* **Title selector** — Pick from 5 AI-generated title options and apply directly to your post.
* **Tag cloud** — Select and apply generated tags with one click.
* **Gutenberg and Classic Editor** — Full support for both editing experiences.
* **Multiple models per provider** — Choose from the latest available models for each provider.
* **Generation history** — Optionally log all generations to a searchable history page.
* **Tone and length controls** — 8 writing tones and 4 length targets.
* **Multi-language support** — Generate content in 18 languages.
* **Provider visibility** — Show or hide individual providers in the post editor.
* **Auto-save option** — Automatically save generated content to the post draft.

= Supported AI Providers =

* **Anthropic Claude** — Claude Sonnet, Opus, Haiku (console.anthropic.com)
* **OpenAI GPT** — GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo (platform.openai.com)
* **Google Gemini** — Gemini 1.5 Pro, Flash (aistudio.google.com)
* **Mistral AI** — Mistral Large, Medium, Small, Mixtral (console.mistral.ai)
* **Cohere** — Command R+, Command R (dashboard.cohere.com)
* **Groq** — Llama 3.3 70B, Llama 3.1, Mixtral (console.groq.com)
* **DeepSeek** — DeepSeek Chat V3, DeepSeek Reasoner R1 (platform.deepseek.com)
* **OpenRouter** — Access many models through a single API key (openrouter.ai)

= Privacy Notice =

This plugin sends your post topic, title, and content excerpts to external AI provider APIs to generate content. Data is sent directly from your WordPress server to the AI provider you configure. No data is shared with the plugin authors.

Please review the privacy policies of the providers you use:

* Anthropic: https://www.anthropic.com/privacy
* OpenAI: https://openai.com/privacy
* Google: https://policies.google.com/privacy
* Mistral https://legal.mistral.ai/terms/privacy-policy
* Cohere: https://cohere.com/privacy
* Groq: https://groq.com/privacy-policy/
* DeepSeek: https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html
* OpenRouter: https://openrouter.ai/privacy

== Installation ==

1. Upload the `purepen-ai` folder to `/wp-content/plugins/`, or install through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen.
3. Go to **PurePen AI > AI Providers** and enter an API key for at least one provider.
4. Open any post or page to find the **PurePen AI** panel and start generating content.

== Frequently Asked Questions ==

= Do I need an API key? =

Yes. You need an API key from at least one supported AI provider. Most providers offer free tiers or trial credits.

= Is this plugin free? =

Yes. The plugin is 100% free and open source (GPL-2.0-or-later). You pay only for API usage to the AI providers you choose.

= Which provider should I start with? =

We recommend **Anthropic Claude Sonnet** or **OpenAI GPT-4o** for the best quality. **Groq** is the fastest option and offers a generous free tier.

= Does it work with Gutenberg? =

Yes. Titles and content are applied directly to the Gutenberg block editor and the Classic Editor.

= Where is my API key stored? =

API keys are stored in your WordPress database in `wp_options`. They are never sent to anyone other than the AI provider you configured.

= Can I use multiple AI providers? =

Yes. Configure API keys for multiple providers and switch between them in the post editor with one click.

= Can I disable the plugin without losing data? =

Yes. Deactivating the plugin does not delete your settings or history.

== Screenshots ==

1. The PurePen AI panel in the post editor — choose a provider, enter a topic, and generate.
2. AI Providers settings page — configure API keys and models.
3. Dashboard showing connected providers and generation stats.
4. Generation History log.

== Changelog ==

= 1.0.0 =
* Initial release.
* Generate titles, full HTML content, tags, and meta excerpt.
* Supports 8 AI providers: Anthropic, OpenAI, Google Gemini, Mistral, Cohere, Groq, DeepSeek, OpenRouter.
* Works with Gutenberg and Classic Editor.
* Generation history log.
* Multi-language and multi-tone support.
* Provider visibility toggle per provider.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
