Nginx NJS Playground

Explore the power of Nginx JavaScript with these interactive demos.

💊 The Matrix

Enter the Matrix. Streams a digital rain visualization directly from Nginx.

🎨 ASCII Art

Convert text to ASCII art instantly.

// Art will appear here

🌍 Real Geo-IP

Fetches your real location from an external API.

// Output will appear here

🕵️ Identity Scanner

Fingerprints your client and generates a unique identity hash.

// Output will appear here

🔍 Header Inspector

Sends a request with custom headers.

// Output will appear here

⚖️ A/B Testing

Assigns you to Group A or B using cookies.

// Output will appear here

🔐 Secure Link

Validates a time-limited, signed URL.

// Output will appear here

⚡ Async Aggregation

Calls multiple internal endpoints in parallel.

// Output will appear here

💾 Shared KV Store

A persistent hit counter shared across all worker processes.

// Output will appear here

✅ Body Validation

Validates JSON POST body content.

// Output will appear here