Restyle the status page in Cottage's brand
The page (pages/, components/, styles/) is rewritten in Cottage's brand, replacing Mantine. - Brand files: tokens, fonts and component CSS copied from Hearth; logo, pod row, status pill and banner ported from the brand handbook. - Themes: light by default, dark when the OS asks. - Services: grouped; each has a status pill, uptime and 90 daily bars (30 on phones). - Bars: each bar has a text label, keyboard navigation and a day card. - Response-time chart: optional, drawn in brand colours. - Notices: colour-coded posted notices and planned maintenance. - Incident history: by month, with the brand's empty state. The check worker, D1 storage, types and Terraform are untouched, so upstream merges stay clean. uptime.config.ts lists Cottage's services (website, dashboard, apps in US East). `npm run dev` shows sample data (?sample=outage|maintenance|empty) since there's no D1. Deploys are gated on the CLOUDFLARE_DEPLOY repository variable until launch, Wrangler telemetry is off, and a Check workflow lints, type-checks and builds every pull request. Removed upstream's issue-translation workflow, funding file and translations.
This commit is contained in:
1 parent
8035521268
commit
fdc16007e3
54 files changed
+2197
-2705
No files matched your search
@@ -0,0 +1,90 @@
|
||||
<div align="right">
|
||||
<a title="English" href="README.md"><img src="https://img.shields.io/badge/-English-A31F34?style=for-the-badge" alt="English" /></a>
|
||||
<a title="简体中文" href="README_zh-CN.md"><img src="https://img.shields.io/badge/-%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87-545759?style=for-the-badge" alt="简体中文"></a>
|
||||
</div>
|
||||
|
||||
# ✔[UptimeFlare](https://github.com/lyc8503/UptimeFlare)
|
||||
|
||||
A more advanced, serverless, and free uptime monitoring & status page solution, powered by Cloudflare Workers, complete with a user-friendly interface.
|
||||
|
||||
📢 **[[SECURITY ADVISORY](https://github.com/lyc8503/UptimeFlare/security/advisories/GHSA-36q9-v7p3-vj6v) 2026/03/04]** A vulnerability (CVE-2026-29779) that could expose monitor configuration and credentials in `uptime.config.ts` to clients was fixed. Versions between 2025-09-21 (from commit `41257c6`) and 2026-03-04 are affected. **Affected users are strongly advised to upgrade to the latest version.**
|
||||
|
||||
🎉 **[UPDATE 2026/01/03]** I have just migrated UptimeFlare from KV to D1 Database. I also updated the Terraform Cloudflare provider to v5 and improved the deployment process. The data structure has been optimized to resolve long-standing performance issues.
|
||||
|
||||
New users can deploy directly, while existing users can have a simple auto migration process (upgrade docs below)! Feel free to open an issue if you run into any trouble deploying.
|
||||
|
||||
## ⭐Features
|
||||
|
||||
- Open-source, easy to deploy (in under 10 minutes, no local tools required), and free
|
||||
- Monitoring capabilities
|
||||
- Up to 50 checks at 1-minute intervals
|
||||
- Geo-specific checks from over [310 cities](https://www.cloudflare.com/network/) worldwide
|
||||
- Support for HTTP/HTTPS/TCP port monitoring
|
||||
- Up to 90-day uptime history and uptime percentage tracking
|
||||
- Customizable request methods, headers, and body for HTTP(s)
|
||||
- Custom status code & keyword checks for HTTP(s)
|
||||
- Downtime notification supporting [100+ notification channels](https://github.com/caronc/apprise/wiki)
|
||||
- Customizable Webhook
|
||||
- Multi-language support (English/Chinese)
|
||||
- Status page
|
||||
- Interactive ping (response time) chart for all types of monitors
|
||||
- Scheduled maintenances alerts & Incident history page
|
||||
- Responsive UI that adapts to your system theme
|
||||
- Customizable status page
|
||||
- Use your own domain with CNAME
|
||||
- Optional password authentication (private status page)
|
||||
- JSON API for fetching realtime status data
|
||||
|
||||
## 👀Demo
|
||||
|
||||
My status page (Online demo): https://uptimeflare.pages.dev/
|
||||
|
||||
Some screenshots:
|
||||
|
||||

|
||||
|
||||
## ⚡Quickstart / 📄Documentation
|
||||
|
||||
Please refer to [Wiki](https://github.com/lyc8503/UptimeFlare/wiki)
|
||||
|
||||
## 🚀Upgrade existing deployments
|
||||
|
||||
Get the latest features right away with [simple upgrade process](https://github.com/lyc8503/UptimeFlare/wiki/Synchronize-updates-from-upstream)
|
||||
|
||||
## ⚙️Docs for developer
|
||||
|
||||
To contribute new features or customize your deployment furthermore, see [here](https://github.com/lyc8503/UptimeFlare/wiki/How-to-develop).
|
||||
|
||||
## New features (TODOs)
|
||||
|
||||
- [x] Specify region for monitors
|
||||
- [x] TCP `opened` promise
|
||||
- [x] Use apprise to support various notification channels
|
||||
- [x] ~~Telegram example~~
|
||||
- [x] ~~[Bark](https://bark.day.app) example~~
|
||||
- [x] ~~Email notification via Cloudflare Email Workers~~
|
||||
- [x] Improve docs by providing simple examples
|
||||
- [x] Notification grace period
|
||||
- [ ] SSL certificate checks
|
||||
- [x] ~~Self-host Dockerfile~~
|
||||
- [x] Incident history
|
||||
- [x] Improve `checkLocationWorkerRoute` and fix possible `proxy failed`
|
||||
- [x] Groups
|
||||
- [x] Remove old incidents
|
||||
- [x] ~~Known issue~~: `fetch` doesn't support non-standard port (resolved after CF update)
|
||||
- [x] Compatibility date update
|
||||
- [x] Scheduled Maintenance
|
||||
- [x] Add docs for dev
|
||||
- [x] Migration to Terraform Cloudflare provider version 5.x
|
||||
- [x] Cloudflare D1 database
|
||||
- [x] Scheduled maintenances (via IIFE)
|
||||
- [x] Simpler config example
|
||||
- [x] Upcoming maintenances
|
||||
- [x] Universal Webhook upgrade
|
||||
- [x] i18n...? (maybe)
|
||||
- [ ] ICMP via proxy?
|
||||
- [x] Add default UA
|
||||
- [x] Customizable footer
|
||||
- [x] New header logo
|
||||
- [x] Improve CPU time usage
|
||||
- [x] Local deployment (docs WIP)
|
||||
Reference in new issue
Block a user