React Router
Create and customise a React Router status page with create-heyo-status.
Use create-heyo-status for a Framework Mode project with the page, API,
database setup and scheduler wiring already connected. Choose Cloudflare
(D1 and Worker cron triggers) or Vercel (PostgreSQL and Vercel Cron) for a
production deployment. Installing only the library does not schedule checks.
Create a project
Pass react-router to select the framework without a prompt. Omit flags to
choose a deployment, database and theme interactively.
The generated scripts and CLI require Bun 1.4.3+ even if you use another
package manager. If you skipped dependency installation, install the project's
dependencies first. Replace the example monitors in heyo-status.config.ts.
With Vercel/PostgreSQL, bun dev starts the local scheduler and bun run check
runs one check; Cloudflare/D1 uses Worker cron triggers in production instead.
Customise the generated React Router project
heyo-status.config.tsdefines the database, monitors, schedule and theme.src/routes.tsandsrc/routes/api.heyo-status.$.tsexpose the status API. If you changebasePath, update the catch-all route too.src/routes/_index.tsxloads the current snapshot on the server;src/root.tsxloads the theme stylesheet and bootstrap script.- The deployment overlay runs the three scheduled jobs. Keep its cron routes
or Worker
scheduledhandler when changing the app.
On Cloudflare, use HTTP or DNS monitors: Workers cannot run native TCP/TLS checks. On Vercel, those checks need Node.js 20.19+. See the Cloudflare and Vercel guides before deploying.