Getting Started¶
What you need¶
- Node.js 22 or later
- Wrangler CLI
- A Cloudflare account with Workers, D1, and (optionally) Durable Objects enabled
Install and configure¶
-
Clone the repo and install dependencies:
-
Copy the example config:
-
Create the D1 database:
This prints a
database_id. Paste it intowrangler.tomlunder[[d1_databases]]. -
Apply the migrations:
-
Edit
wrangler.tomlto define your monitors and alerts. See the Configuration page for details.If you want regional monitoring, make sure the Durable Objects bindings and migration block from the example file are present. The status page is off by default — see the configuration docs to turn it on.
-
Deploy:
This builds the Astro status page and deploys the Worker with static assets in one step.
Custom domain¶
If you have a domain registered in Cloudflare, add a route block to wrangler.toml: