=== Synthocode Content Copilot — AI Writer for Gutenberg (Free, ChatGPT & Groq) ===
Contributors: slim1167
Tags: ai writer, chatgpt, content generator, seo, gutenberg
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Free AI writer for Gutenberg. Generate SEO ideas, titles, meta, summaries, tags, FAQ & translations with ChatGPT, Groq or local Ollama.

== Description ==

**Synthocode Content Copilot** is a free AI writing assistant that lives directly inside the Gutenberg sidebar. Generate SEO-optimized article ideas, catchy titles, meta descriptions, summaries, tags, translations and FAQ schema in seconds — without leaving your post editor.

Works with **Groq** (free, no credit card required), **OpenAI / ChatGPT** (GPT-4o), or your own local **Ollama** instance for 100% private generation. Now available in **French and English**.

= 🚀 Why Synthocode Content Copilot? =

* **100% Free** — no subscription, no credit limit imposed by us. Just bring your own free Groq API key (14,400 requests/day).
* **Zero friction** — everything inside Gutenberg, no external dashboard, no popups.
* **Fast** — Groq generates a full article structure in 2-3 seconds.
* **Multilingual** — UI in English & French, translates content into 8 languages.
* **Privacy-first** — your data stays between you and your chosen AI provider. No tracking, no analytics.
* **No vendor lock-in** — swap providers anytime (Groq ↔ OpenAI ↔ local Ollama).

= ✨ Features =

* **Article Ideas** — Get 5 SEO article ideas with structured outlines from a single keyword.
* **AI Titles** — Generate 3 catchy title variations with selectable tone (Professional, Casual, Persuasive, Informative).
* **SEO Meta Descriptions** — Optimized 150-160 character meta descriptions, auto-apply to Yoast / SEOPress / Rank Math.
* **Article Summaries** — Automatic 3-sentence summaries.
* **WordPress Excerpts** — Catchy excerpts generated and applied in 1 click.
* **Smart Rewriting** — Improve, simplify, formal, creative, or concise rewriting modes.
* **AI Tags** — Smart SEO tag and keyword suggestions, applied directly to your post.
* **1-Click Translation** — Translate content into 8 languages: English, Spanish, German, Italian, Portuguese, Arabic, Dutch, French.
* **FAQ Schema (SEO)** — Generate structured FAQ with JSON-LD markup for Google Rich Snippets.

= 🤖 Supported AI Providers =

* **Groq** (free, recommended) — 14,400 requests/day on Llama 3 / 4 models, ultra-fast inference. Get a free key at console.groq.com.
* **OpenAI / ChatGPT** (paid) — GPT-4o, GPT-4o Mini. Requires an OpenAI account with credit.
* **Ollama** (local & private) — Run AI models on your own server, 100% private.

= 🌍 Languages Supported =

The plugin interface is available in **English** and **French**. Translation feature supports content in: English, Spanish, German, Italian, Portuguese, Arabic, Dutch, French.

= 💎 Looking for more? =

A Pro version with AI image generation (DALL-E, Flux), custom tones, batch processing, and team features is available at [content-copilot-pro.synthocode.studio](https://content-copilot-pro.synthocode.studio).

== Installation ==

1. Install from **Plugins → Add New** and search for "Synthocode Content Copilot", or upload the zip via **Plugins → Add New → Upload Plugin**.
2. Activate the plugin.
3. Go to **Content Copilot → Settings** and paste your Groq API key (free at [console.groq.com](https://console.groq.com)).
4. Open any post in Gutenberg, click the **Content Copilot** icon in the top-right toolbar.
5. Enter a topic in "Article Ideas" and start generating.

== External Services ==

This plugin connects to third-party AI services to generate content. No service is contacted until you configure an API key and trigger a generation.

**Groq (https://groq.com/)** — used when "Groq" is selected as provider.
* What is sent: your text content and the prompt for generation, plus your API key.
* When: only when you click a generation button.
* Terms: https://wow.groq.com/terms-of-use/
* Privacy: https://groq.com/privacy-policy/

**OpenAI (https://openai.com/)** — used when "OpenAI" is selected as provider.
* What is sent: your text content and the prompt for generation, plus your API key.
* When: only when you click a generation button.
* Terms: https://openai.com/policies/terms-of-use
* Privacy: https://openai.com/policies/privacy-policy

**Ollama (https://ollama.com/)** — used when "Local" is selected. Self-hosted, runs on your own server. No data leaves your infrastructure.

== Frequently Asked Questions ==

= Is the plugin really free? =
Yes, all features are fully free forever. We do not impose any credit or usage limit. You only need your own API key from Groq (free, 14,400 requests/day) or OpenAI (paid), or a local Ollama installation.

= Does it work with ChatGPT / OpenAI? =
Yes. Select "OpenAI" as provider in Settings and paste your OpenAI API key. The plugin supports GPT-4o and GPT-4o Mini.

= How do I use AI in WordPress without paying? =
Use the free Groq provider. Get a free API key at console.groq.com (no credit card required), paste it in the plugin Settings, and you get 14,400 AI generations per day — more than enough for most blogs.

= Which AI provider should I choose? =
**Groq** is recommended for most users: free, very fast, with up to 14,400 requests per day. **OpenAI** offers more powerful models but requires a paid account. **Ollama** allows 100% local and private usage but requires technical setup.

= Is the plugin available in French? =
Yes, the plugin interface is fully translated into French since version 1.0.3.

= Is my content private? =
Your content is sent to your chosen AI provider (Groq, OpenAI, or your local Ollama) for processing. The plugin itself does not collect, store, or transmit any of your data to Synthocode servers.

= Does the plugin work with the Classic Editor? =
No, the sidebar integration is specific to the Gutenberg block editor. The Classic Editor is not supported.

= Can I use it on multiple sites? =
Yes, the plugin is free and can be used on an unlimited number of sites.

= Will it slow down my site? =
No. The plugin only loads its code inside the Gutenberg editor for logged-in editors. It has zero impact on your site's front-end performance.

= How does it compare to AI Engine, GetGenie, or BertaAI? =
Synthocode Content Copilot is lighter, faster, fully free, and focused on Gutenberg-native integration. No bloated dashboard, no upsells inside the editor.

== Screenshots ==

1. Gutenberg sidebar with all AI features
2. Article idea generation with structured outline
3. Title, meta description and summary generation
4. Settings page with API key configuration

== Changelog ==

= 1.0.4 =
* Fix: shortened the readme Short Description to fit the 150-character limit imposed by the WordPress.org Plugin Directory (was truncated in 1.0.3)
* Plugin name and description are now translatable in the WordPress admin Extensions page (French translation added)

= 1.0.3 =
* **New**: Full French (fr_FR) translation of the entire plugin UI (admin + Gutenberg sidebar)
* **New**: All sidebar UI strings are now translatable via WordPress standard i18n
* **Fix**: Groq provider now auto-retries when the model fails JSON mode validation, eliminating "Failed to generate JSON" errors on smaller models
* Improved readme.txt with better SEO keywords and expanded FAQ
* Updated plugin title to clarify "AI Writer for Gutenberg" positioning
* Internal: refactored JS strings via `wp_localize_script` for proper localization

= 1.0.2 =
* Aligned Author URI and Plugin URI on the official synthocode.studio domain
* Replaced Composer autoloader with a lightweight built-in PSR-4 autoloader (smaller plugin, no vendor bloat)
* Fixed admin sidebar stylesheet (CSS selectors now match the JS class prefix)
* Renamed translation template to synthocode-content-copilot.pot and corrected its headers
* Hardened output escaping in the admin dashboard
* Added rel="noopener noreferrer" on all target="_blank" links
* Minor cleanup of unused code

= 1.0.1 =
* Improved admin dashboard with modern design and feature overview
* Added Plugin URI for "View details" link in WordPress plugins page

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.4 =
Readme fix + French translation of the plugin header (Extensions page). No code changes.

= 1.0.3 =
Full French translation + improved discoverability. Recommended update for all users, especially on French WordPress sites.
