For Developers

Programmable Edge Platform
for Websites

Control HTML, UI, SEO and behavior of any website
with rules executed at the edge.

Why developers love NinjaWeb5

🚫
No Codebase Changes

Modify websites without touching origin code.

Edge Execution

Rules run before HTML reaches the browser.

🎯
Deterministic Rules Engine

Every change is traceable and reproducible.

🔌
Works With Any Stack

CMS, React, Next.js, legacy websites.

Where Ninja sits in your pipeline

Rules run between origin and browser — intercepting every response before it reaches the user.

User Request
DNS / Reverse Proxy
NinjaWeb5 Edge Engine
Rules Execution
HTML Transformation
Browser

The building blocks

📋
Rules

WHEN / WHERE / DO / WHY logic. Define conditions and transformations declaratively.

🗃️
Datasets

Structured data used by rules. Inject dynamic values into any page at delivery time.

⚙️
Scripts

Custom JavaScript execution in a sandboxed edge environment.

Edge Engine

Deterministic transformation engine. Every execution is fast, isolated, and reproducible.

🔍
Audit

Trace every execution step. Full visibility into what changed, when, and why.

Up and running in 4 steps

Step 1
Connect website
DNS Reverse Proxy
Step 2
Create rule
WHEN WHERE DO WHY
Step 3
Deploy
Dry-Run Live
Step 4
Observe results
Audit Trace Logs

Simple to write. Powerful to execute.

ninja.rule.js
rule({
  when:  "html",
  where: { url: "/" },
  do: [
    setTitle("Hello Ninja")
  ]
})

Executed instantly at the edge.

What you can build

🔍
SEO automation

Dynamic meta tags, canonical URLs, and structured data without CMS changes.

🖼️
UI personalization

Change interface without redeploy — banners, CTAs, layout at delivery time.

📊
QA validation

Detect HTML issues, assert output structure, and catch regressions at the edge.

🛡️
Security filtering

Block malicious injections and enforce delivery policies before reaching users.

🎯
A/B experiments

Test interface variations with rule-based traffic splitting — no redeploy needed.

Everything developers need

🖥️
Console

Manage rules visually. Full CRUD for rules, datasets, scripts.

🔌
API

Automate rule management. Integrate with any CI/CD pipeline.

⚙️
Scripts

Extend platform logic with custom sandboxed JavaScript at the edge.

📜
Audit Logs

Track every rule execution. Full trace of what ran, when, and what changed.

Works where you work

☁️ Cloudflare
🐙 GitHub
🔌 REST API
⚙️ CI/CD

From rule to production in 4 steps

Write rule Console or API
Test with Dry-Run Safe simulation
Deploy One click or API
Observe Audit Trace every change

Open ecosystem

🐙
GitHub

Open source components. Contribute, fork, and extend the platform.

📦
Examples

Ready-to-use rule templates for common use cases — SEO, QA, security.

📚
Documentation

Full developer documentation. Reference, guides, and API spec.