=== Aluleth AI Writer ===
Contributors: aluleth
Tags: ai, content, writing, seo, alt text
Requires at least: 7.0
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

Write, rewrite and polish your website content with AI in the block editor, in your brand voice. Uses the AI provider you connect in WordPress.

== Description ==

Aluleth AI Writer helps you write the content of your website, right where you edit it.

* **Rewrite any text block:** improve, shorten, lengthen, fix spelling and grammar, simplify, or make it more persuasive, professional or friendly. You can also give your own instruction ("translate into Spanish", "mention free delivery"). You see the text before and after, and you choose whether to replace it.
* **Write a page section:** hero, features or services, about us, questions and answers, call to action, steps, or free form. The section is inserted as normal blocks (headings, paragraphs, lists and buttons) that you can edit.
* **SEO title, meta description and excerpt** suggested from the page content, saved where your SEO plugin reads them (Yoast SEO, Rank Math, SEOPress, The SEO Framework) or by this plugin when no SEO plugin is active.
* **Image alt text** for accessibility, from the image block toolbar or the media library.
* **Brand voice:** describe your business, your customers, your tone and the words to use or avoid in Settings > AI Writer. Every text follows it.
* **Abilities:** the writing tasks are also registered with the WordPress Abilities API, so AI agents and other plugins can use them with the same permissions.

The plugin uses the AI features built into WordPress 7.0 and later. You connect your own OpenAI or Google (Gemini) key in Settings > Connectors. Your API key stays in WordPress: this plugin never stores or reads it, and it has no account, quota or subscription.

Nothing is sent automatically. Text or an image is sent to your AI provider only when you click an AI Writer action, and the result is never published without your approval.

== External services ==

This plugin sends content to the AI provider that the site owner connects in Settings > Connectors (WordPress 7.0+). The connection itself is made by WordPress; this plugin only decides what to send, and only when a user clicks one of its actions.

* **What is sent:** the text you choose to rewrite, the brief and page context for a new section, the page title and content for SEO suggestions, or the image for alt text, together with your brand voice settings.
* **When:** only when a user with editing rights clicks an AI Writer action.
* **Providers:** depending on the connector you set up:
  * OpenAI – [Terms of use](https://openai.com/policies/terms-of-use/), [Privacy policy](https://openai.com/policies/privacy-policy/)
  * Google (Gemini) – [Terms](https://ai.google.dev/gemini-api/terms), [Privacy policy](https://policies.google.com/privacy)
  * If you connect another AI provider in Settings > Connectors, the same content goes to that provider, under its own terms and privacy policy.

This plugin does not send any data to its authors and does not track users.

== Installation ==

1. Install and activate the plugin.
2. Go to Settings > Connectors and add an API key for OpenAI or Google.
3. Optional: describe your brand voice in Settings > AI Writer.
4. Open a page in the block editor: use the sparkle menu in a block toolbar, or the AI Writer sidebar (sparkle icon at the top right).

== Frequently Asked Questions ==

= Do I need an account with you? =

No. You only need an API key from OpenAI or Google, added in Settings > Connectors. Google offers a free tier for its Gemini API.

= How much does it cost? =

The plugin is free. Your AI provider charges you for what you use, according to its own prices.

= Which WordPress version do I need? =

WordPress 7.0 or later, which includes the AI Client and the Connectors screen.

= Does it work with Elementor? =

Elementor support is planned. This version works in the block editor and the media library.

= Will it publish anything on its own? =

No. Every suggestion is shown to you first, and nothing changes until you click Replace, Insert or Use these texts.

== Changelog ==

= 1.0.0 =
* First release: rewrite text blocks, write page sections, SEO title and description, image alt text, brand voice, abilities.

== Upgrade Notice ==

= 1.0.0 =
First release.
