简单的运行时间监测(开源)
"Kita" is the Indonesian word that means "Us"; this means that the uptime can be used for all of us
U can try the uptime kita demo (Server located on Germany)
/api/v1/check) with rate limiting & SSRF protection/monitors) with live dots, bars, sound alerts & URL filtering/status/{slug})Uptime Kita provides a public, rate-limited API for automating health and SSL checks in CI/CD pipelines, CLI tools, or custom scripts.
GET / POST /api/v1/check| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
url |
string |
Yes | — | Target URL or domain (e.g. example.com or https://laravel.com) |
check_ssl |
boolean |
Optional | true |
Inspect SSL certificate validity and expiration |
timeout |
integer |
Optional | 10 |
Request timeout in seconds (1 to 15) |
curl Example:curl -X GET "https://uptime.syofyanzuhad.dev/api/v1/check?url=example.com"200 OK):{
"ok": true,
"status": "up",
"status_code": 200,
"response_time_ms": 118,
"url": "https://example.com",
"host": "example.com",
"ip": "93.184.216.34",
"ssl": {
"valid": true,
"issuer": "DigiCert Global G2 TLS RSA SHA256 2020 CA1",
"subject": "example.com",
"valid_from": "2026-03-01T00:00:00Z",
"valid_to": "2026-11-25T23:59:59Z",
"days_remaining": 90
},
"headers": {
"content_type": "text/html; charset=UTF-8",
"server": "ECS (dcb/7EA3)"
},
"checked_at": "2026-08-27T03:22:00Z"
}No cron or Supervisor needed — Cloud handles scheduler + queue.
… Do not set QUEUE_CONNECTION manually — Cloud sets cloud automatically when you add a managed queue (next step).
Add managed queue (required for background jobs):
default (or any name — first queue becomes the default)QUEUE_CONNECTION=cloud, and autoscales workers to zero when idle.Requires
aws/aws-sdk-phpincomposer.jsonand Laravel ≥12.63 (this repo already satisfies both). Starter plan = 1 managed queue per environment (enough — all jobs usedefault). Verify in Monitoring → Queues.
Deploy. Migrations + seeders run automatically. Done.
Cloud runs
php artisan schedule:runevery minute for you. Managed queue workers wake in > /dev/null 2>&1
php artisan schedule:run-cronless-safe --frequency=60
**Queue worker** (pick one):
```bash
# Horizon (recommended)
sudo apt-get install supervisor
# /etc/supervisor/conf.d/horizon.conf → command=php /path-to-project/artisan horizon
sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl start horizon
# Plain queue (no Horizon)
# /etc/supervisor/conf.d/laravel-worker.conf → command=php /path-to-project/artisan queue:work --sleep=3 --tries=3Tune check frequency via
SCHEDULE_FREQUENCYin.env— see Capacity below.
docker compose up -d # production (nginx + php-fpm + supervisor + cronless)
docker compose --profile dev up -d # dev with hot reload
…
https://uptime.syofyanzuhad.dev/badge/{domain}
…
markdown
#4c1): Uptime ≥ 99.0%#97ca00): Uptime ≥ 97.0%#a4a61d): Uptime ≥ 95.0%#dfb317): Uptime ≥ 90.0%#fe7d37): Uptime ≥ 80.0%#e05d44): Uptime < 80.0%Uptime Kita automatically generates dynamic and beautiful Open Graph (OG) images for your public monitors and status pages. When you share a monitor link on social media platforms (Twitter/X, Discord, Slack, etc.), it displays a custom image containing real-time information about your service.
https://uptime-instance.com/og/monitor/example.com.png).Public monitor pages display instant toast notifications when a monitor's status changes (up → down or down → up).
The feature uses Server-Sent Events (SSE) for efficient real-time updates:
/monitors/public) - All public monitors/monitors/{id}/public) - Specific monitor/status/{slug}) - Monitors on that status page/api/monitor-status-streamUptime Kita is an open-sourced software licensed under the Apache-2.0
暂无开放 Issues,或尚未同步最近议题。