
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 —
no origin server required.
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
- Browser-based editor — Write, test, and deploy scripts without leaving your browser
- GitHub integration — Connect a repository for version control and automatic deployments via GitHub Actions
- Secrets and environment variables — Store API keys and configuration securely
- Logs and statistics — Debug with real-time logs and monitor execution metrics