=== AutoQuill ===
Contributors: plusclouds
Tags: ai content, seo, content generator, blog automation, plusclouds
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered SEO content generator. Connects to PlusClouds API to fetch, generate, and publish optimized blog posts from your WordPress admin.

== Description ==

AutoQuill connects your WordPress site to the PlusClouds content platform, allowing administrators to browse a library of AI-ready blog topics, generate fully optimized content, and publish it as a WordPress draft — all without leaving the admin panel.

= Core Features =

* Browse a curated library of SEO-optimized blog topics from the PlusClouds API
* Full post preview before generation
* One-click AI content generation (GPT-3.5 on Free plan)
* Publish generated content directly to WordPress drafts
* Automatic featured image download and assignment
* SEO meta fields (title, description, keywords) saved to post meta
* Yoast SEO integration (auto-fills Yoast fields if active)
* Language filter for browsing content by locale
* Pagination support for large content libraries
* OTP-based quick authentication or manual Bearer Token entry
* Free and Pro plan support

= Pro Plan Features =

* Advanced AI models (Perplexity, Llama-3)
* Multi-language content output (50+ languages)
* White-label content generation
* E-E-A-T semantic optimization engine
* Priority API access and Enterprise SLA

= External Services =

This plugin connects to the **PlusClouds API** to function. The following external service is used:

**PlusClouds (apiv4.plusclouds.com)**

The plugin communicates with `https://apiv4.plusclouds.com` for all core functionality, including:

* Fetching blog post topics and content
* User authentication (OTP email verification and Bearer Token validation)
* AI content generation
* Account and subscription plan verification

Data transmitted to PlusClouds servers includes:
* Your account email address (during login)
* OTP verification codes (during login)
* Bearer Token (for all authenticated requests)
* Blog post IDs and generation parameters (during content generation)

This service is operated by PlusClouds. Please review their policies before use:

* **Terms of Service:** https://plusclouds.com/legal/terms
* **Privacy Policy:** https://plusclouds.com/legal/privacy

No data is transmitted to PlusClouds without the user actively initiating a connection by entering their credentials on the AutoQuill settings page.

**Google Fonts**

This plugin loads the "Inter" and "Plus Jakarta Sans" web fonts from Google Fonts (`https://fonts.googleapis.com`) in the WordPress admin area only. No user data is sent to Google through this font loading.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Go to **AutoQuill → Start now** to connect your PlusClouds account
4. Log in with your PlusClouds email (OTP verification) or paste a Bearer Token manually
5. Once connected, navigate to **AutoQuill** to browse topics and generate content

== Frequently Asked Questions ==

= Do I need a PlusClouds account? =

Yes. AutoQuill requires a PlusClouds account to function. You can register for free at https://plusclouds.com during the plugin setup.

= What data is sent to external servers? =

Your email address and authentication tokens are sent to `apiv4.plusclouds.com` during login. Blog post parameters are sent during content generation. No data is collected or transmitted without your explicit action. See the External Services section above for full details.

= Is there a free plan? =

Yes. The Free plan includes access to the content library and GPT-3.5 powered generation in Turkish. The Pro plan ($7.99/mo) unlocks advanced AI models, multi-language support, and additional features.

= Can I use my own API token? =

Yes. In addition to the OTP login flow, you can paste a Bearer Token manually on the AutoQuill connection page.

= Does AutoQuill add anything to my public-facing website? =

The plugin adds SEO meta tags (`description`, `keywords`, `og:title`) to individual posts that were imported through AutoQuill, using data stored in WordPress post meta. No third-party scripts or credit links are injected into your public site.

= Can I edit the generated content before publishing? =

Yes. All content is saved as a WordPress **draft**, so you can review and edit it before publishing.

== Screenshots ==

1. Content library — browse AI-ready blog topics with search and language filter.
2. Workspace — configure generation settings and view AI output side by side with the source.
3. Pricing plans — overview of Free and Pro plan features.
4. Authentication — connect your PlusClouds account via OTP or Bearer Token.

== Changelog ==

= 1.5 =
* Added OTP-based quick authentication and manual Bearer Token entry
* Integrated AI content generation workspace with tone, length, and language controls
* Added pricing plans page (Free / Pro)
* Added support hub page
* Integrated Yoast SEO meta field auto-fill on draft save
* Automatic featured image download from API header image
* Language filter for content library browsing
* Pro plan detection via PlusClouds accounts API

= 1.0 =
* Initial release: API content fetching, search, preview, and save-to-draft functionality

== Upgrade Notice ==

= 1.5 =
Major update: adds AI content generation, authentication flow, and Pro plan support. Re-connect your account after updating.

== License ==

This plugin is released under the GPLv2 or later license.
See https://www.gnu.org/licenses/gpl-2.0.html
