跳到正文

UptimeFlare

维护中
lyc8503/UptimeFlare

基于 Cloudflare Workers 的免费无服务器可用性监控方案,提供状态页托管和监控功能,零成本。

在 GitHub 查看
星标
3650
Fork
556
关注
3650
未关闭 Issue
18

该介绍目前仅提供英文版本。

A zero-cost, serverless uptime monitoring solution powered by Cloudflare Workers. UptimeFlare provides status page hosting and monitoring capabilities while running entirely on Cloudflare’s free tier.

Key Features

  • Zero Cost Operation:

    • Runs on Cloudflare Workers free tier
    • Uses Workers KV for storage
    • No additional infrastructure needed
  • Comprehensive Monitoring:

    • HTTP(S) endpoint monitoring
    • TCP port checking
    • Custom status page
    • Response time tracking
    • SSL certificate monitoring
  • Status Page Features:

    • Customizable appearance
    • Incident management
    • Maintenance windows
    • Uptime statistics
    • Performance metrics
  • Advanced Capabilities:

    • Multi-region monitoring
    • Flexible check intervals
    • Custom notification webhooks
    • API access

Quick Start

Deployment

# Clone the repository
git clone https://github.com/lyc8503/UptimeFlare
cd UptimeFlare

# Install dependencies
npm install

# Configure Cloudflare
cp wrangler.toml.example wrangler.toml
# Edit wrangler.toml with your account details

# Deploy to Cloudflare Workers
npm run deploy

Configuration

monitors:
  - name: "My Website"
    url: "https://example.com"
    method: "GET"
    interval: 60
    regions: ["us", "eu", "asia"]
    
  - name: "API Server"
    url: "api.example.com"
    type: "tcp"
    port: 443
    interval: 300

Core Features

Monitoring Options

  • HTTP(S) Monitoring:

    • Multiple HTTP methods
    • Header customization
    • Response validation
    • SSL verification
  • TCP Monitoring:

    • Port availability checks
    • Connection timeout settings
    • Custom probe intervals

Status Page

  • Public Status Page:

    • Clean, modern interface
    • Mobile-responsive design
    • Custom domain support
    • Branded appearance
  • Incident Management:

    • Create and update incidents
    • Scheduled maintenance
    • Historical uptime data
    • Performance graphs

Notifications

  • Multiple Channels:
    • Discord webhooks
    • Telegram notifications
    • Custom webhooks
    • Email alerts (coming soon)

Use Cases

  • Website Monitoring: Track website availability and performance
  • API Monitoring: Monitor API endpoints and services
  • Infrastructure Monitoring: Check server and port availability
  • Status Communication: Provide transparent status updates to users

Technical Details

  • Built with TypeScript
  • Uses Cloudflare Workers
  • Workers KV for data storage
  • Hono framework for routing

Requirements

  • Cloudflare account
  • Workers KV enabled
  • Node.js 16+ for development

Documentation

For detailed setup instructions and configuration options, visit the GitHub repository.

License

This project is licensed under the MIT License.

按共同分类和标签排序的同类开源项目。

全部监控项目 →