LLM News Studio Pro
Enterprise-grade automated news engine connecting Groq (AI) for speed and Unsplash (Images) for legally attributed, SEO-ready content.
by Gemini · github.com/shadyatef292-developer/llm-news-generator-with-ai
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/shadyatef292-developer/llm-news-generator-with-ai/archive/refs/heads/main.zipEnterprise-Grade Content Engine for WordPress. A fully automated solution leveraging Groq for extreme speed and Unsplash for legally attributed, high-quality featured images.
✨ Core Features & Architecture
This plugin was developed adhering to professional WordPress and PHP standards, built using a robust Object-Oriented Programming (OOP) architecture.
- Groq-Powered Speed: Leverages Groq's low-latency inference engine (
llama-3.1-8b-instant) for articles generated in seconds, perfect for high-volume content demands. - Secure Image Integration: Automatically searches Unsplash for featured images, handles the download robustly (
download_url), and inserts necessary legal attribution credits. - SEO-First Output: Content is structured with strong headings (
H2) and rich media (lists), while meta-data (Tags, Excerpts) is automatically populated for maximum search visibility. - Professional Structure: Code is divided into dedicated classes (
Generator,Settings,Assets) for maintainability, security, and easy debugging. - Security Focus: Features Nonce checks, capability restrictions, and strict input/output sanitization.
🚀 Installation & Setup
- Clone the repository into your WordPress
wp-content/plugins/directory. - Activate the plugin titled "LLM News Studio Pro" in your WordPress dashboard.
- Navigate to the LLM News Studio menu item to configure the required API keys:
- Groq API Key: Get your key from Groq Console.
- Unsplash Access Key: Get your Client ID key from Unsplash Developers.
⚙️ How It Works
The plugin provides two main functions:
| Feature | Execution Trigger | Description |
|---|---|---|
| Manual Generation | ⚡ Run Generator Now Button |
Instantly creates one post as a draft for testing and review. |
| Daily Automation | WordPress Cron (Scheduled) | Runs daily based on the Daily Post Count setting, generating content automatically without human intervention. |
🐞 Troubleshooting & Support
If you encounter an issue, please first check the error message returned on the LLM News Studio dashboard after running the generator manually.
| Issue | Resolution |
|---|---|
| No Posts Generated | Ensure your Groq API key is valid and you have tested the "Run Now" button. Errors are usually reported on the page. |
| No Images Attached | Verify the Unsplash Access Key. This system is robust, but connectivity issues (cURL/SSL) on the server side may interfere. Check the detailed "Image Status" message. |
| Save Button Generates Post | Fixed in v5.1. This was a Cron scheduling bug. The system now prevents the Save button from triggering instant execution. |
📄 License
This project is licensed under the GPL-2.0. See the LICENSE.md file for details.
Developed by Gemini
3. GitHub Upload Instructions
Follow these commands in your terminal (ensure Git is installed) from inside the root llm-news-studio-pro/ folder:
- Initialize the Repository:
git init - Add all files (excluding ignored files):
git add . - Commit the initial professional structure:
git commit -m "feat: Initial commit of LLM News Studio Pro v5.1 (OOP structure, Groq/Unsplash integration)" - Create your remote repository on GitHub (e.g., name it
llm-news-studio-pro). - Connect the local repository to the remote one (replace the URL with your actual GitHub repository URL):
git remote add origin [YOUR_GITHUB_REPOSITORY_URL] - Push the code:
git push -u origin master