Repository navigation
0.9: CF Worker Admin Panel
Features
Admin Panel (5 tabs):
- 实例监控 — Instance status, traffic, IP display, start/stop/delete
- 实例配置 — AccessKey ID/Secret, region, instance ID, remark, schedule settings, add/remove instances
- DDNS — Cloudflare DNS zone, domain, token, proxied configuration
- 系统日志 — Action and heartbeat log viewer with clear
- 系统设置 — Traffic threshold, keepalive, email/webhook notification, JSON import/export
Per-Instance Schedule:
- Toggle schedule on/off per instance
- Configurable start/stop times
- Independent enable/disable for start and stop actions
- Respects traffic circuit breaker (schedule_blocked_by_traffic)
Infrastructure:
- Session persistence via localStorage (no re-login on refresh)
- GitHub Actions CI with stable encryption keys (Cloudflare REST API check)
- Aliyun HMAC-SHA1 signing verified identical to PHP SDK
- auto_start_blocked flag prevents keepalive restart after manual stop
Docker PHP
- AliyunService split from 1990→850 lines (EcsProvisionService + BssService extracted)
- processAccount decomposed into 5 focused phase methods
- SSRF guard (isExternalUrl) for webhook handler
- Return type declarations on public methods
- Reflection cache in Account::offsetSet()
- Signing verified, all API responses sanitized