Skip to content

yl19850329/status-page

 
 

Repository files navigation

Logo

Status Page

A status page based on the UptimeRobot API

English | 中文

Introduction

This is a status monitoring page based on UptimeRobot API.

You can generate your own status monitoring page by modifying the config.ts file in the project root directory.

If you are not satisfied with my project, you can also try yb/uptime-status.

Demo

See https://status-page.dev.lifeni.life.

Screenshot

Expand to view screenshot

Preview

Deployment

Environment Variable

You can pass in environment variables instead of configuration files to modify the page style.

Expand to view table
Name Description Default Type
NEXT_PUBLIC_KEY Your UptimeRobot API Key - UptimeRobot API Key
NEXT_PUBLIC_PAGE_TITLE Page title, in <head> Status Page Text
NEXT_PUBLIC_PAGE_DESC Page description, in <head> A status page based on the UptimeRobot API. Text
NEXT_PUBLIC_PAGE_THEME Page theme style dark dark or light
NEXT_PUBLIC_PAGE_HEADER_SHOW_TEXT Whether to display the text in the middle of the page true Boolean
NEXT_PUBLIC_PAGE_HEADER_TEXT Text in the middle of the page Status Page Text
NEXT_PUBLIC_PAGE_HEADER_SHOW_LOGO Whether to display the Logo in the middle of the page true Boolean
NEXT_PUBLIC_PAGE_HEADER_LOGO Logo in the middle of the page /logo.svg URL
NEXT_PUBLIC_ENABLE_HEADER Whether to display header true Boolean
NEXT_PUBLIC_ENABLE_GLOBAL_STATUS Whether to display global status bar true Boolean
NEXT_PUBLIC_ENABLE_FOOTER Whether to display footer true Boolean

Also see .env.example.

Vercel

Click the button below to deploy.

Deploy with Vercel

You need to configure the Key of UptimeRobot in environment variables.

Manual Deployment

  1. Fork or Clone this repository and download it locally.

  2. Modify the config.ts file in the project root directory, Don't forget to replace the Key of UptimeRobot.

  3. (Optional) Commit and push your changes.

  4. Deploy to Vercel or other platforms.

License

MIT License

About

A status page based on the UptimeRobot API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.9%
  • Shell 2.1%