=== GlowWrite AI ===
Contributors: motiraj
Tags: ai, content generator, chatgpt, seo, writing
Requires at least: 6.0
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate, rewrite, and improve your website content easily with a powerful artificial intelligence assistant directly inside your post editor.

== Description ==

Welcome to **GlowWrite AI**, your WordPress writing companion! Creating high-quality content consistently can be time-consuming. GlowWrite AI solves this by integrating Artificial Intelligence directly into your WordPress Block (Gutenberg) and Classic Editors.

Unlike other AI plugins that lock you into a single provider, GlowWrite AI gives you the freedom to seamlessly switch between AI models: **OpenAI**, **Anthropic (Claude)**, and **Google Gemini**.

### Key Features
* **Multi-Provider Support:** Plug in your API key for OpenAI, Anthropic, or Google Gemini and generate content using your favorite model.
* **Seamless Editor Integration:** A beautiful, native-feeling AI assistant panel right inside the WordPress post editor.
* **Generate & Rewrite:** Ask the AI to write a full blog post, or highlight existing text and ask the AI to rewrite, expand, or summarize it.
* **Custom Tones:** Set a default tone (Professional, Witty, Casual, Persuasive) to ensure the AI always matches your brand's unique voice.
* **Auto Image Generation:** Automatically generate and attach a visually stunning featured image for your posts.
* **Secure API Storage:** Your API keys are strictly encrypted before being saved to the WordPress database.
* **Automated SEO Headings:** Auto-generate H1 titles optimized for search engines (Coming Soon).
* **Table of Contents:** Automatically structure long-form articles with a clear table of contents (Coming Soon).

== Installation ==

1. Upload the `glowwrite-ai` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress Plugins screen by searching for "GlowWrite AI".
2. Activate the plugin through the **'Plugins'** menu in WordPress.
3. In your WordPress dashboard, navigate to **GlowWrite AI &rarr; GlowWrite AI Settings**.
4. Select your preferred AI Provider (OpenAI, Anthropic, or Gemini) and enter your secure API Key.
5. Go to **Posts &rarr; Add New** to start writing! Click the GlowWrite AI button in the toolbar to open the AI assistant.

== External services ==

This plugin connects to third-party AI APIs to generate text content and images based on your prompts. 

* **OpenAI:** Used for text and image generation when selected. It sends your prompt data. [Terms of Use](https://openai.com/policies/terms-of-use), [Privacy Policy](https://openai.com/policies/privacy-policy).
* **Anthropic:** Used for text generation when selected. It sends your prompt data. [Terms of Service](https://www.anthropic.com/legal/consumer-terms), [Privacy Policy](https://www.anthropic.com/legal/privacy).
* **Google Gemini:** Used for text generation when selected. It sends your prompt data. [Terms of Service](https://policies.google.com/terms), [Privacy Policy](https://policies.google.com/privacy).
* **Pollinations AI:** Used for image generation when selected. It sends your prompt data. [Terms of Service](https://pollinations.ai/terms), [Privacy Policy](https://pollinations.ai/privacy).

== Frequently Asked Questions ==

= Is this plugin free? =
The plugin itself is 100% free and open-source. However, you will need your own API key from OpenAI, Anthropic, or Google, which may incur usage costs directly with those providers.

= Can I use multiple AI models at once? =
You can configure one active provider at a time in the settings. You can switch between providers whenever you want by changing your selection in the Settings page.

= Where do I get an API Key? =
* **OpenAI:** platform.openai.com
* **Anthropic:** console.anthropic.com
* **Google Gemini:** aistudio.google.com

= Is my API Key secure? =
Yes. GlowWrite AI uses advanced AES-256 encryption to securely store your API keys in your WordPress database. They are never stored in plain text.

== Screenshots ==

1. The main GlowWrite AI settings page where you can configure your API provider, keys, and default writing tone.
2. The GlowWrite AI assistant seamlessly integrated directly into the WordPress Block Editor.
3. Using the AI tool to instantly generate a high-quality blog post draft.

== Changelog ==

= 1.0.0 =
* Initial public release.
* Added support for OpenAI, Anthropic, and Google Gemini.
* Added native integration with WordPress Block Editor and Classic Editor.
* Added secure AES-256 encryption for API keys.
* Added top-level dashboard menu and comprehensive documentation page.

== Upgrade Notice ==

= 1.0.0 =
Welcome to the first official release of GlowWrite AI! Install now to turbocharge your content creation.
