{"id":38781596,"url":"https://github.com/jonasb/cloudflare-status-template","last_synced_at":"2026-01-17T12:25:23.464Z","repository":{"id":210987984,"uuid":"727858415","full_name":"jonasb/cloudflare-status-template","owner":"jonasb","description":"A starter template for creating a status page on Cloudflare Workers powered by D1","archived":false,"fork":false,"pushed_at":"2026-01-13T21:10:33.000Z","size":1074,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-13T23:43:38.252Z","etag":null,"topics":["cloudflare","cloudflare-workers","d1","status-page"],"latest_commit_sha":null,"homepage":"https://cloudflare-status-template.dossierhq.workers.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonasb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-05T18:10:18.000Z","updated_at":"2026-01-13T21:10:35.000Z","dependencies_parsed_at":"2024-02-22T23:27:46.564Z","dependency_job_id":"eefb4df4-f2f0-4f1e-8f44-dde4a3a04f65","html_url":"https://github.com/jonasb/cloudflare-status-template","commit_stats":null,"previous_names":["jonasb/cloudflare-status-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonasb/cloudflare-status-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasb%2Fcloudflare-status-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasb%2Fcloudflare-status-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasb%2Fcloudflare-status-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasb%2Fcloudflare-status-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonasb","download_url":"https://codeload.github.com/jonasb/cloudflare-status-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonasb%2Fcloudflare-status-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","cloudflare-workers","d1","status-page"],"created_at":"2026-01-17T12:25:22.973Z","updated_at":"2026-01-17T12:25:23.458Z","avatar_url":"https://github.com/jonasb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Status template\n\nThis is a starter template for a status page using Cloudflare Workers and D1.\nAn example is running [here](https://cloudflare-status-template.dossierhq.workers.dev).\n\nCloudflare Workers and D1 have plenty of free usage, so a basic status page can\nbe run for free.\n\nThis is not expected to be a fully featured status page, but a starting point\nfor creating custom status pages.\n\nConsider:\n\n- It's best practice to run your status page on different infrastructure than\n  the services it's monitoring, so that it's not affected by the same issues\n\n## Features\n\n- Probes that are run periodically to check the status of a service or component\n- Webhooks that record events from external services\n- Persistent logs when there are unexpected errors in the configuration or\n  execution of a probe or webhook\n\n## Getting started\n\n- `npm init using jonasb/cloudflare-status-template my-status-page` (or clone this repo)\n- `cd my-status-page`\n- `npm install`\n- `npx wrangler login` to login to your Cloudflare account\n- `npx wrangler d1 create \u003cDATABASE_NAME\u003e` to create a new database\n- Edit `wrangler.toml` and change the `name` to your project name, and\n  `database_name` and `database_id` to the one you created in the previous step\n- Edit `package.json` and change the name of the database in the `db:` scripts\n- `npm run db:migrate:local` to set up the local database\n- `npm start` to start the development server\n\n## Deploying\n\n- `npm run db:migrate:production` to ensure the database is migrated\n- `npm run build \u0026\u0026 npm run deploy` to deploy the status page to Cloudflare\n\n## Probes\n\nProbes are functions (defined in `src/probes/probe-configs.ts`) that run\nperiodically to check the status of a service or component. The results of a\nprobe is:\n\n- created at: the time the probe was run\n- result: `success` or `failure`\n- category: a short description of the type of result, e.g. `200` for a HTTP call\n- description: an optional description of the result\n- duration: the time in milliseconds it took to run the probe (requires calling\n  `startTimer()` and `stopTimer()` in the probe)\n\nThere are example helpers for running HTTP and Atlassian Statuspage probes in\n`src/probes/`, but it's just JavaScript, so you can do whatever you want.\n\n**N.B.** There are some [limits](https://developers.cloudflare.com/workers/platform/limits/)\nto be aware of when using the free plan, e.g. CPU time, sub requests and number of\nCRON triggers.\n\n## Webhooks\n\nWebhooks are functions (defined in `src/webhooks/webhook-configs.ts`) that run\nwhen a webhook is called from an external service. The endpoint for a webhook is\n`/api/webhook/:webhookId`. The results of a webhook shows up as a new event in\nthe status page, and doesn't change the status of any probes. The results of a\nwebhook is:\n\n- created at: the time the webhook was called\n- result: `success` or `failure`\n- category: a short description of the type of result, e.g. `push` for a GitHub\n  webhook\n- description: an optional description of the result\n\nIf a webhook function returns `null`, no event is created.\n\nThere are example helpers for GitHub and Vercel webhooks in `src/webhooks`, but\nyou probably want to tweak them to record events that are relevant to your\nstatus page.\n\n## Design goals\n\n- Simple: No UI framework, just server-side rendered HTML and CSS\n- Low cost: Runs on free plan\n- Few dependencies: No one wants to maintain a status page\n- Easy to customize: Probes and webhooks are just TypeScript functions so you\n  can do whatever you want\n- Standalone: Only requires Cloudflare Workers and D1 services\n\n## Wishlist\n\nThings that could be nice to add:\n\n- Examples for notifications to email, Slack, Discord, etc.\n- Filtering and paging of events\n- Support for environments (e.g. production, staging)\n- Validating webhooks (currently anyone can call the webhook endpoint)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasb%2Fcloudflare-status-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonasb%2Fcloudflare-status-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonasb%2Fcloudflare-status-template/lists"}