MILEHA AiContent

Beschreibung

MILEHA AiContent integrates the power of Google’s Gemini API directly into your WordPress block editor. With a simple and intuitive interface, you can generate complete, well-structured blog posts from just a few keywords. The plugin creates native WordPress blocks for headings, paragraphs, and lists, allowing you to edit the generated content just like any other part of your post. It also features a smart title-setting function that automatically populates your post’s main title field.

Please note: This plugin relies on an external third-party service to function. See the „Third-Party Service Disclosure“ section for more details.

For security and compliance, the plugin requires you to accept a disclaimer before use and resets this acceptance upon deactivation, ensuring administrative awareness. All settings and API keys are stored securely within your WordPress database. This plugin is perfect for content creators, bloggers, and marketers who want to speed up their writing workflow while maintaining full control over the final output.

Third-Party Service Disclosure

This plugin connects to the Google Gemini API to generate content. The use of this service is essential for the plugin’s main functionality.

  • Service Used: Google Gemini API, provided by Google.
  • Purpose: To process the keywords you provide and generate a structured blog post.
  • Data Sent to the Service: When you click the „Generate & Insert Post“ button in the editor, the following data is transmitted to Google’s servers:
    • Your personal Gemini API key for authentication.
    • The keywords you entered in the generator block, embedded within a structured prompt.
  • Links to Service Terms: By using the Gemini API, you are subject to Google’s terms and policies. Please review them carefully.
    • Google AI Terms of Service: https://ai.google.dev/terms
    • Google Privacy Policy: https://policies.google.com/privacy

Screenshots

  • The generator block in the editor.
  • The settings page with the API key and disclaimer boxes.

Blöcke

Dieses Plugin unterstützt 1 Block.

  • MILEHA AiContent

Installation

  1. Upload the mileha-aicontent folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  3. Go to the „MILEHA AiContent“ settings page in your WordPress admin menu.
  4. Read and accept the disclaimer to enable the plugin’s functionality.
  5. Get your free API key from the Google AI Studio, paste it into the API Key field, and save your settings.
  6. Start creating content by adding the „MILEHA AiContent“ block to any post or page!

FAQ

Where do I get a Gemini API key?

You can get a free API key from the Google AI Studio. Simply create a new project and generate your key.

Is the generated content unique?

The content is generated by Google’s Gemini model based on your keywords. While it is designed to be unique, we strongly recommend reviewing and editing all generated content to match your personal style and to verify its accuracy.

Ist das Plugin kostenlos?

Yes, this plugin is free to use. However, it requires a Google Gemini API key. Google offers a generous free tier for the API, but usage beyond that tier may incur costs from Google.

Rezensionen

Für dieses Plugin gibt es keine Rezensionen.

Mitwirkende und Entwickler

„MILEHA AiContent“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Übersetze „MILEHA AiContent“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.0.1

  • Security & Transparency: Added a comprehensive disclaimer and a detailed disclosure for the mandatory use of the external Google Gemini API service, as required by WordPress plugin guidelines.
  • Internationalization: Removed the load_plugin_textdomain call to rely on the modern, wordpress.org-hosted language pack system.
  • Feature: Added live validation for the Gemini API key on the settings page with visual feedback (success/error).
  • Feature: A dedicated editor stylesheet (editor.css) has been added for custom block UI styling.
  • Improvement: The entire plugin has been refactored into a modular structure (inc/ directory) and the internal PHP code was further optimized for better maintainability and readability.
  • Improvement: Added multiple action and filter hooks to make the plugin highly extensible for future addons.
  • Improvement: Enhanced the settings page user experience; the API settings are now fully disabled until the disclaimer is accepted.
  • Improvement: Improved the block editor UI by moving the „Set post title automatically“ option to the sidebar.
  • Fix: Hardened security by adding sanitization callbacks for settings and correcting escaping and internationalization issues.
  • Fix: Hardened the logic on the settings page to prevent PHP errors and ensure the API key is not accidentally deleted when changing disclaimer consent.
  • Fix: Corrected a JavaScript dependency issue (‚wp-hooks‘) that could cause the block to crash.

1.0.0

  • Initial public release.