=== AsterPostAI ===
Contributors: shovandas
Tags: ai, content, repurpose, openai, gemini
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn any WordPress post into tweets, LinkedIn posts, emails, YouTube scripts and more — using OpenAI or Gemini.

== Description ==

AsterPostAI plugs directly into the Gutenberg editor. Select your output format, click Generate, and get AI-generated content ready to copy-paste to any platform.

Supports both OpenAI (GPT-3.5, GPT-4o) and Google Gemini (free tier available) — bring your own API key.

**Features:**
* Twitter/X thread generator (5 tweets)
* TL;DR summary (3 bullet points)
* LinkedIn post generator
* Email newsletter draft
* YouTube video script
* Instagram captions (3 variants)
* Facebook post generator
* Works inside Gutenberg sidebar
* OpenAI API support (GPT-3.5 Turbo & GPT-4o)
* Google Gemini support (free tier available — no billing required)
* Custom tone selector (formal, casual, witty, inspirational)

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/
2. Activate through the Plugins screen
3. Go to Settings → AsterPostAI
4. Choose your AI provider (OpenAI or Gemini)
5. Add your API key
6. Open any post and use the AsterPostAI sidebar

== Frequently Asked Questions ==

= Do I need a paid API account? =
Not necessarily. Google Gemini offers a free tier with no billing required. Get your free key from aistudio.google.com.

= Is my API key safe? =
Yes. Your key is stored in your WordPress database and never sent to our servers. All API calls go directly from your server to the AI provider.

= Does this work with Classic Editor? =
Classic Editor support is coming in v1.1.

= Which AI provider should I use? =
Start with Google Gemini — it has a free tier and no billing required. Switch to OpenAI GPT-4o for higher quality output.

== External Services ==

This plugin connects to the following external services:

= OpenAI =
Used to generate content (tweets, LinkedIn posts, email newsletters, YouTube scripts, Instagram captions) from your blog post content. Your post content is sent to OpenAI only when you click the Generate button. Requires your own OpenAI API key.
* Service: https://openai.com
* Terms of Use: https://openai.com/policies/terms-of-use
* Privacy Policy: https://openai.com/policies/privacy-policy

= Google Gemini =
Used as an alternative AI provider to generate content from your blog post. Your post content is sent to Google only when you click the Generate button. Requires your own Google Gemini API key (free tier available).
* Service: https://ai.google.dev
* Terms of Use: https://policies.google.com/terms
* Privacy Policy: https://policies.google.com/privacy

== Source Code ==

The full source code including Gutenberg React source files is available at:
https://github.com/dshovan/asterpost-ai

== Changelog ==

= 1.0.0 =
* Initial release
* OpenAI GPT-3.5 Turbo and GPT-4o support
* Google Gemini 2.5 Flash and Pro support
* Twitter/X thread generator
* TL;DR summary generator
* LinkedIn, Email, YouTube, Instagram, Facebook formats
* Custom tone selector

== Upgrade Notice ==

= 1.0.0 =
Initial release.