chore(db.json): update uptime data - 2026-03-25 07:08:30 UTC
Automated uptime monitoring for web services, servers, and network ports with GitHub Actions.
That’s it!
docs/db.json
https://username.github.io/repo-name/
See it in action: https://status.pixelsaft.wtf
Edit docs/db.json to add your services:
{ "config": { "address": "https://example.com", "type": "url", "timeout": 5, "checkInterval": 300 }, "status": { "isUp": true, "lastCheck": 0, "lastResultDuration": 0 }, "stats": { "allTime": { "total": 0, "successful": 0 }, "30d": { "total": 0, "successful": 0, "uptime": 100, "lastReset": 0 }, "365d": { "total": 0, "successful": 0, "uptime": 100, "lastReset": 0 } } }
{ "config": { "address": "mail.example.com", "type": "host", "port": "993", "timeout": 5, "checkInterval": 300 }, "status": { "isUp": true, "lastCheck": 0, "lastResultDuration": 0 }, "stats": { "allTime": { "total": 0, "successful": 0 }, "30d": { "total": 0, "successful": 0, "uptime": 100, "lastReset": 0 }, "365d": { "total": 0, "successful": 0, "uptime": 100, "lastReset": 0 } } }
npm install npm run dev # Start development server with auto-reload npm run checkAndUpdateDb # Run uptime check manually
docs/
├── .github/workflows/uptime-check.yml # GitHub Actions workflow ├── docs/ # Static site files │ ├── index.html # Main page │ ├── style.css # Minimal CSS │ ├── app.js # Frontend logic │ └── db.json # Service data ├── check-and-update-db.js # Monitoring script ├── server.js # Development server └── package.json # Dependencies & scripts
Following the pixelsaft.wtf approach:
MIT
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
pixelsaft-uptime-monitor-website
Automated uptime monitoring for web services, servers, and network ports with GitHub Actions.
That’s it!
Features
Quick Start
docs/db.json(see below)https://username.github.io/repo-name/Live Example
See it in action: https://status.pixelsaft.wtf
Service Configuration
Edit
docs/db.jsonto add your services:URL Monitoring
Port Monitoring
Local Development
Architecture
docs/docs/db.jsonFile Structure
Design Philosophy
Following the pixelsaft.wtf approach:
How It Works
License
MIT