WP Manifestindependent plugin directory
manifest / developer / webkreator-engine

WebKreator Engine

WP Theme and Pluginthat act as `page builders with web design skill

by WebKreator · github.com/medardotoledo/webkreator-engine

0stars
0forks

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/medardotoledo/webkreator-engine/archive/refs/heads/main.zip

A lightweight WordPress REST API extension and developer engine designed to enable secure headless page deployments (HTML, CSS, JS) from external developer workspaces and AI agent workflows.

WebKreator Engine is a single-file, zero-dependency utility plugin that turns any standard WordPress site into a secure receiver for raw code deployments. It is used as the target receiver for external page sync scripts (such as Python deployers and AI code agents), allowing developers to build pages locally or in agentic environments and push them straight to WordPress pages via the REST API.


Key Features

  • 🔌 Headless HTML/CSS/JS Injection: Exposes custom post meta fields (wk_page_html, wk_page_css, wk_page_js) directly through the native WordPress REST API (show_in_rest => true).
  • 🔒 Strict Security Guards: Enforces permission checks (edit_pages and manage_options) and prevents execution of risky scripts using pattern checks (such as eval(), document.write(), and scripts execution safeguards).
  • 🚀 Zero Dependencies: A single file that integrates natively with the WordPress core hook system.
  • ⚡ Asset Rendering Engine: Automatically enqueues and injects custom CSS/JS assets on specific pages, bypassing the limitations of Gutenberg or standard page editors.

Installation

  1. Download or clone this repository:
    git clone https://github.com/cuernavacariomayo-coder/webkreator-engine.git
  2. Compress the webkreator-engine folder into a ZIP archive, or copy the directory directly to your WordPress plugins folder (/wp-content/plugins/).
  3. Activate WebKreator Engine under the Plugins menu in your WP Admin dashboard.

Technical Overview

The engine registers meta endpoints under the page post type:

  • wk_page_html: Raw HTML content.
  • wk_page_css: Page-specific styles.
  • wk_page_js: Page-specific interactive scripts (subject to strict capability validation).

These fields are then automatically rendered inside the theme templates when the corresponding page ID is requested, merging custom code directly with WordPress headers and footers.


License

This project is licensed under the GPL2 License.