A website monitoring and status page application design to be deploy on cloudflare at no cost
-
Fork this repo
-
Go to Cloudflare Workers& Pages, Create an application, Pages, Connect to Git
-
Choose that repo
-
Change setting Build settings
- Framework preset:
Next.js
- Build command:
cp .yarnrc.yml site && cp yarn.lock site && node ./scripts/removeLocalDeps.js && cd site && yarn install --immutable=false --mode=update-lockfile && npx @cloudflare/next-on-pages@1
- Build output directory:
/site/.vercel/output/static
Environment variables (advanced)
- NODE_VERSION
18
- Framework preset:
-
Create and deploy
-
Go to Settings, Functions, Compatibility flags add
nodejs_compat
Monitoring app
- Messure website response time at different locations
- Cloudflare Worker
- Cloudflare KV store
Status/Performance website
- Cloudflare Pages
Inspired by https://github.com/eidam/cf-workers-status-page