=== JournalAi ===
Contributors: matiasbarrera90
Tags: REST API, Content Automation, Custom Plugin, OpenAI, AI
Requires at least: 4.7
Tested up to: 6.7
Stable tag: 1.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

JournalAi provides a custom REST API for WordPress, enabling advanced functionality for blog automation and AI integration.

== Description ==
JournalAi enhances WordPress functionality by creating secure REST API endpoints for:
- Authentication (login and token management).
- Media uploads and image handling.
- Blog post creation with metadata.
- User and category data retrieval.

This plugin integrates with external services to automate blog content creation using:
1. **OpenAI API**: For generating text content.
2. **Pexels API**: For retrieving high-quality images.
3. **SerpAPI**: For performing Google searches.

**Note:** This plugin is designed specifically for JournalAi's automation system and may not work independently.

== Installation ==
1. Upload `journalai.zip` to `/wp-content/plugins/` and extract it.
2. Activate the plugin through the WordPress Plugins menu.

== External Services ==
This plugin connects to the following third-party services:

1. **OpenAI API**:
   - **Purpose**: Generates text-based content for blog posts.
   - **Data Sent**: Prompts for text generation.
   - **Terms**: [OpenAI Terms](https://openai.com/terms) | [Privacy Policy](https://openai.com/privacy).

2. **Pexels API**:
   - **Purpose**: Fetches royalty-free images for posts.
   - **Data Sent**: Search queries for images.
   - **Terms**: [Pexels Terms](https://www.pexels.com/terms-of-service/) | [Privacy Policy](https://www.pexels.com/privacy-policy/).

3. **SerpAPI**:
   - **Purpose**: Performs Google searches for data enrichment.
   - **Data Sent**: Search queries.
   - **Terms**: [SerpAPI Terms](https://serpapi.com/legal) | [Privacy Policy](https://serpapi.com/security).

4. **JournalAi.pro API**:
   - **Purpose**: Backend service for data handling and advanced processing.
   - **Data Sent**: User authentication details, blog metadata.
   - **Terms**: Refer to [JournalAi Terms](https://journalai.pro/terms) and [Privacy Policy](https://journalai.pro/privacy).

== Frequently Asked Questions ==
= Is this plugin only compatible with JournalAi? =
Yes, the plugin is tailored for JournalAi's automation workflows and is not standalone.

= What APIs does this plugin use? =
It integrates with OpenAI, Pexels, SerpAPI, and JournalAi.pro APIs.

= Can I use this plugin without an external API? =
No, the external APIs are required for core functionality.

== Screenshots ==
1. Platform Interface
2. Login Screen

== Changelog ==
= 1.0.0 =
* Initial release.
