Documentation Index
Fetch the complete documentation index at: https://docs.bunny.net/llms.txt
Use this file to discover all available pages before exploring further.

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
Next Steps
Quickstart
Create and deploy your first edge script in minutes.
Examples
See practical examples for standalone and middleware scripts.