=== WriteUp ===
Contributors: proheml
Tags: content generator, ai, seo, writing assistant, post
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

# WriteUp – AI-Powered SEO Content Generator for WordPress

#### CREATE SEO-OPTIMIZED BLOG POSTS, PRODUCT DESCRIPTIONS & LANDING PAGES IN MINUTES — POWERED BY AI.

WriteUp is the smart WordPress plugin that turns your ideas into fully SEO-optimized, publish-ready content. Simply enter a keyword, choose your content type, and let AI generate a professional article — complete with structured headings, meta tags, and an excerpt — ready to publish as a WordPress draft.

No copywriting experience needed. No complicated setup. Just install, connect your free API key, and start creating.

[Get your free API key](https://writeup-rightnow.com/app) and start generating content today.

== Description ==

### 🌟 Create High-Quality Content in 7 Simple Steps

1. **Set Up Your Content** — Enter focus and additional keywords, pick a content type, set word count, language, and optionally add extra instructions.
2. **Generate & Review Your Outline** — AI generates a structured heading outline (H1–H4) editable before writing.
3. **Analyze the Competition** — Check top search engine results and bring competitor insights into content generation (provided by external AI service, availability depends on service plan).
4. **Generate Your Article** — Choose tone and style, add custom instructions, and let AI write. Edit in the WordPress WYSIWYG editor.
5. **Optimize SEO Metadata & Excerpt** — Review and fine-tune title, SEO title, SEO description, and excerpt.
6. **Add a Thumbnail** — Pick a featured image from WordPress media library.
7. **Save & Smile** — Save as a draft in WriteUp's custom post type or any public post type on your site.

### 🚀 Key Features

#### 🎯 9 Content Types for Every Need
- Blog Posts, Page Sections, Product Descriptions, News Articles, How-To Guides, Landing Pages, Summaries, Ad Copy, Whitepapers
- The available content types are determined by the external AI service based on your service plan

#### ✍️ Customizable Writing Tones & Styles
- Tones: Friendly, Professional, Casual, Authoritative, Conversational, Inspirational, Technical
- Styles: Formal, Informative, Product Description, Tutorial, Educational, Conversational, Storytelling
- The available tones and styles are determined by the external AI service based on your service plan

#### 🌍 Multi-Language Support
- English, German, Spanish, French, Polish, Norwegian, Swedish
- The available languages are determined by the external AI service based on your service plan

#### 🔌 SEO Plugin Integration
- Yoast SEO, Rank Math, All in One SEO

#### 📊 Competitor Analysis
- See what ranks for your target keyword and improve content strategy (processing performed by external AI service, availability depends on service plan)

#### 📝 WordPress WYSIWYG Editor
- Refine, edit, or restructure every article before publishing

#### 📂 Dedicated WriteUp Post Type
- Keep generated drafts organized and separate from other content

#### 💬 Built-In Feedback & Feature Requests
- Send feedback or feature requests directly inside WordPress

== Installation ==

1. Download WriteUp from the WordPress Plugin Directory, or search "WriteUp" under **Plugins → Add New**.
2. Click **Install Now**, then **Activate**.
3. For using all functionalities: Go to **WriteUp → Settings** and enter your API key. [Create a free account](https://writeup-rightnow.com/app) if needed.
4. If no API key is entered, you will use a limited functionality.
5. Optionally, go to **WriteUp → Your Data** and describe your business, website, and goals. This will be used for content generation.
6. Navigate to **WriteUp → Content Generator** to start creating content.

== Frequently Asked Questions ==

= Do I need an API key to use the full functionality of WriteUp? =
A free API key is recommended for the best experience. Available at [writeup-rightnow.com/app](https://writeup-rightnow.com/app). The external AI service provides content generation, and the available options depend on your service plan.

= Is the generated content unique? =
Yes. Each article is generated fresh and ready to publish.

= Can I edit the content before publishing? =
Yes, full WordPress editor access is available.

= Does WriteUp publish content automatically? =
No. All content is saved as a draft for your review.

= Does it work with Gutenberg and page builders? =
Yes, compatible with Gutenberg, Elementor, Divi, and other major builders.

= Can I use WriteUp in multiple languages? =
Yes. Generate content in English, German, Spanish, French, Polish, Norwegian, and Swedish, depending on your service plan.

= What happens when I run out of tokens? =
Upgrade through the WriteUp dashboard at [writeup-rightnow.com/app](https://writeup-rightnow.com/app).

= Where can I get support or leave feedback? =
Use the built-in **Feedback** page inside the plugin or in our dashboard.

= Can I use a focus keyword and additional keywords? =
Yes. Enter as many keywords as needed for SEO-optimized content.

== Screenshots ==

1. WriteUp - Outline Generation Interface
2. WriteUp - AI Content Generation Interface
3. WriteUp - Settings and Your Data pages
4. WriteUp - Table of created posts

== Source Code (JavaScript, CSS) ==

The compiled and minified JavaScript and CSS files in `dist/browser/` are generated from the human-readable source code included in this plugin under the `src/src` directory. This is an Angular application built with TypeScript and Tailwind CSS. All remaining JavaScript and CSS files (e.g. in `assets/js/` and `assets/css/`) are already human-readable and unminified.

= Build Instructions =

To rebuild the production assets from source, you need Node.js (v18+) and npm installed. Then run the following commands from the `src` directory of this plugin:

1. Navigate to the source directory: `cd src`
2. Install dependencies: `npm install`
3. Build the production assets: `npm run build`

The build output will be placed in the `dist` directory. The build uses the Angular CLI (`ng build`) with its default production configuration, which minifies and compresses the output.

== Changelog ==

= 1.0.0 =
* Initial release
* AI-powered SEO content generation
* Custom post type for generated content
* Multi-language support
* SEO plugin integration
* Competitor analysis (provided by external AI service)
* WordPress WYSIWYG editor
* Built-in feedback and feature requests

== Upgrade Notice ==

= 1.0.0 =
Initial release of WriteUp AI SEO Content Generator.

== Privacy ==

WriteUp connects to the WriteUp API (`writeup-rightnow.com`) to generate content outlines, articles, meta data, and competitor analyses. Site URL and API key are required. No personal visitor data is collected. All generated content belongs to the user.

Review [Terms of Service](https://writeup-rightnow.com/terms) and [Privacy Policy](https://writeup-rightnow.com/privacy).

== Security & Privacy ==

* Secure API key authentication
* No tracking or analytics collected
* GDPR-compliant processing
* Generated content is fully owned by you

== About ==

WriteUp is developed by **Meta-Level Software AG**.

- Website: [writeup-rightnow.com](https://writeup-rightnow.com)  
- Product: [writeup-rightnow.com/app](https://writeup-rightnow.com/app)  
- Contact: info@meta-level.de

== System Requirements ==

* WordPress 6.9 or higher  
* PHP 8.0 or higher  
* Active internet connection  
* Free or paid WriteUp API key

== External services ==

This plugin connects to the **WriteUp API** at `bff.writeup-rightnow.com`, operated by **Meta-Level Software AG**, to provide AI-powered content generation and related functionality. Below is a detailed description of every external connection, what data is sent, why, and under which conditions.

This service is governed by the [Terms of Service](https://writeup-rightnow.com/terms) and [Privacy Policy](https://writeup-rightnow.com/privacy) of Meta-Level Software AG.

= Plugin Activation — Site Registration =

- **When:** Automatically, once, when the plugin is activated.
- **What is sent:** Your WordPress site URL.
- **Why:** To register your website with the WriteUp backend and receive a unique public key used for authentication.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/public/public-key`

= Plugin Deactivation — Mark Key Inactive =

- **When:** Automatically, once, when the plugin is deactivated.
- **What is sent:** Your WordPress site URL and the previously assigned public key.
- **Why:** To notify the WriteUp backend that your site's key should be marked as inactive.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/public/public-key-inactive`

= Plugin Re-Activation =

- **When:** Only when an administrator / logged in user manually clicks the "Activate Plugin Now" button in the WriteUp admin page (if initial activation failed).
- **What is sent:** Your WordPress site URL.
- **Why:** To re-register the plugin and obtain a new public key.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/public/public-key`

= Service Options Check =

- **When:** Automatically when the Content Generator page is loaded.
- **What is sent:** Your WordPress site URL, private API key (if set), and public plugin key (via HTTP headers).
- **Why:** To retrieve the available service options (content types, languages, styles, tones, word count, outline limits) for your current service plan so the plugin can populate dropdowns accordingly.
- **Endpoint:** `GET bff.writeup-rightnow.com/api/public/user/{key}/{site_url}/options`

= Token Usage Check =

- **When:** Automatically when the Content Generator page is loaded.
- **What is sent:** Your WordPress site URL, API key, and plugin key (via HTTP headers).
- **Why:** To retrieve how many tokens you have consumed in your current billing period so you can see remaining usage.
- **Endpoint:** `GET bff.writeup-rightnow.com/api/public/user/{key}/{site_url}/{type}/tokens`

= Outline Generation =

- **When:** Only when you click "Generate Outlines" in the Content Generator.
- **What is sent:** Your focus keyword, additional keywords, content type, content description, word count, language, and your business information (About, Website Description, Goals) as entered on the "Your Data" page. Also sent: your selected SEO plugin, site URL, API key, and plugin key.
- **Why:** To generate a structured heading outline (H1–H4) for your article using AI.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/llm/outline`

= Competitor Analysis =

- **When:** Only when you request a competitor analysis in the Content Generator (Pro and Enterprise plans only).
- **What is sent:** Your focus keyword, site URL, API key, and plugin key.
- **Why:** To analyze top-ranking competitor content for your keyword and provide insights you can incorporate into your article.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/competitor/content`

= Content Generation =

- **When:** Only when you click "Generate Content" in the Content Generator after configuring all parameters.
- **What is sent:** All generation parameters including: focus keyword, additional keywords, word count, content type, content description, content style, writing tone, custom instructions, language, selected outlines, competitor data (if used), and your business information (About, Website Description, Goals). Also sent: site URL, API key, and plugin key.
- **Why:** To generate the final AI-written article based on your configuration.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/llm/content`

= Feedback Submission =

- **When:** Only when you submit the feedback form on the WriteUp Feedback admin page.
- **What is sent:** The selected topic, your subject line, your message, and your site URL, API key, and plugin key.
- **Why:** To deliver your feedback, bug report, or feature request to the WriteUp team.
- **Endpoint:** `POST bff.writeup-rightnow.com/api/public/feedback/public`

= Pricing Plans =

- **When:** When the Upgrade or Subscription page is viewed in the WriteUp dashboard.
- **What is sent:** No user-specific data is sent. This is a public read-only request.
- **Why:** To retrieve the current list of available subscription plans (Free, Light, Pro, Enterprise) with their pricing, features, and limits for display.
- **Endpoint:** `GET bff.writeup-rightnow.com/api/public/pricing/plans`

= Summary =

All external requests are sent exclusively to `bff.writeup-rightnow.com`. No personal visitor data from your website's front-end users is ever collected or transmitted. The only data sent externally is: your WordPress site URL, your API and plugin keys, content generation parameters you explicitly provide, your business information as entered on the "Your Data" page, and any feedback you voluntarily submit. No background or scheduled requests are made — all calls are triggered either by plugin lifecycle events (activation/deactivation) or by explicit administrator actions within the WordPress admin area.