gujiangjiang cdd577a871 fix: 确保Admin角色的唯一性
主要修复内容:
编辑用户页面角色限制:

在编辑用户页面,角色选择的下拉菜单中移除了 Admin 选项,现在只能选择 Manager 或 User。

为了保护唯一的 Admin 账户,当编辑 Admin 用户时,其角色字段将被禁用,防止被误修改。

后端逻辑强化:

在后端服务中增加了额外的安全校验,严格禁止通过API接口将任何用户(包括 Admin 自己)的角色修改为 Admin,也禁止将 Admin 降级为其他角色,确保了 Admin 角色的唯一性和稳定性。
2025-10-08 03:49:59 +08:00
2025-06-25 20:23:40 +08:00
2025-06-01 05:03:35 +08:00
2025-06-26 17:14:17 +08:00
2025-06-25 20:23:40 +08:00
2025-06-26 17:14:17 +08:00
2025-06-26 17:14:17 +08:00
2025-03-20 22:31:18 +08:00
2025-06-26 17:14:17 +08:00
2025-06-26 17:14:17 +08:00
2025-06-26 17:14:17 +08:00
2025-09-15 01:37:58 +08:00
2025-09-15 01:37:58 +08:00

XUGOU - Lightweight Monitoring Platform Based on CloudFlare

XUGOU Logo

XUGOU is a lightweight system monitoring platform based on CloudFlare, providing system monitoring and status page functionality.

English | 简体中文

📅 Development Plan

Currently implemented features:

  • ✅ System Monitoring - Client resource monitoring and data reporting
  • ✅ HTTP Monitoring - API endpoint health detection and analysis
  • ✅ Data Visualization - Real-time data display and historical trend analysis
  • ✅ Status Page - Customizable service status page
  • ✅ Alert Notifications - Anomaly event notifications through multiple channels (Email, Telegram, etc.)
  • ❌ Mobile APP - Convenient monitoring status check on mobile devices

✨ Core Features

  • 🖥️ System Monitoring

    • Real-time monitoring of CPU, memory, disk, network and other system metrics
    • Support for custom monitoring intervals
    • Cross-platform support (agent written in Go, supporting all platforms where Go can compile)
  • 🌐 HTTP Monitoring

    • Support for HTTP/HTTPS endpoint monitoring
    • Custom request methods, headers, and request bodies
    • Response time, status code and content validation
  • 📊 Data Visualization

    • Real-time data chart display
    • Custom dashboards
  • 🌍 Status Page

    • Customizable status page
    • Support for multiple monitoring items
    • Responsive design

🏗️ System Architecture

XUGOU adopts a modern system architecture, including the following components:

  • Agent: Lightweight system monitoring client
  • Backend: Backend service based on Cloudflare Workers
  • Frontend: Modern frontend interface based on React + TypeScript

🚀 Quick Start

Deployment Guide

Default username: admin Default password: admin123

XUGOU wiki Deployment Guide

Video Tutorial

XUGOU Video Tutorial

Workers Optimization Domain Video Tutorial

workers 优选教程

FAQ

XUGOU wiki FAQ

⭐ Support the Author

Sponsor me in any way you can:

  • Star the project and share it with your friends
  • Gitfish: Gitfish Sponsor
  • Buy me a coffee

🤝 Contribution

All forms of contributions are welcome, whether it's new features, bug fixes, or documentation improvements.

🏢 Sponsorship

Thanks to the following sponsors for supporting the development of XUGOU:

Cloudflare

📄 License

This project is open-sourced under the MIT License. See the LICENSE file for details.

🔥 Star History

Star History Chart

S
Description
XUGOU-基于CloudFlare的轻量化监控平台
https://xugou.mdzz.uk/status/public/1
Readme MIT
7.9 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 94%
Go 2.7%
Shell 2.3%
CSS 0.6%
JavaScript 0.2%
Other 0.1%