
Edge Scripting Quickstart
Script types
Standalone Scripts
Independent scripts that handle HTTP requests directly. Build REST APIs,
serve dynamic HTML, process data, or call external services like AI models,
all without an origin server.
Middleware Scripts
Intercept and modify requests and responses as they flow through Bunny CDN.
Add authentication, manipulate headers, transform content, or implement
custom caching logic.
Features
- Write, test, and deploy scripts in the browser editor
- Connect a GitHub repository for version control and automatic deployments through GitHub Actions
- Store API keys and configuration as environment variables or secrets
- Debug with live logs and track execution metrics
Next steps
Quickstart
Create and deploy your first edge script in minutes.
Examples
See practical examples for standalone and middleware scripts.