English · 简体中文 · 繁體中文(台灣) · 繁體中文(香港) · 日本語 · 한국어 · Français · Português (Brasil) · Русский
An all-in-one self-hosted monitoring and status page: uptime checks, host agents, AI model monitoring and public status subscriptions in one place.
Runs on Cloudflare Workers or a Go backend, with a public status page and an admin console, in 9 languages.
Live Demo · Features · Backends · Deploy · Agent · Documentation
The live demo runs entirely in your browser with all data stored locally in localStorage, letting you explore the full product without deploying a backend—from the initial setup wizard (/setup), admin sign-in, and management console to the public status page, host monitoring, and AI model monitoring.
| Item | Details |
|---|---|
| Demo URL | https://xinglingqaq.github.io/UptimePolaris/ |
| Demo setup key | polaris-demo (for /setup) |
| Default demo password | PolarisDemo2026! |
| Quick controls | Use the Demo console in the bottom-right corner to skip setup with preset data or reset local state anytime |
- Uptime and heartbeat checks: HTTP, TCP and Push heartbeats, with optional SSL certificate, domain expiry and DNS checks. The Go backend also probes UDP, ICMP, DNS, TLS and WebSocket natively, and internal services can be checked through an Agent.
- Subscription-based monitoring: subscribe to public website and model status published by other sites and fold it into your own page. The official subscription repository ships templates for Uptime Kuma, Polaris, Statuspage and plain JSON; third-party repositories and custom JSON descriptors are supported too.
- Host agent: polaris-agent is a small Rust agent for Linux, macOS, Windows and Docker. It reports CPU, memory, disk, load and network, with resource-threshold alerts and side-by-side machine comparison.
- AI model monitoring: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Gemini protocols, including gateways and local models. Import models from a channel, send custom request parameters and publish a dedicated model page.
- Multiple public pages and themes: a monitor page (
/), a machine page (/servers) and an AI model page (/ai), each switchable, bindable to its own domain, switched to a maintenance page during windows, and themeable with third-party packages. - Notifications across channels: Telegram, Feishu, Slack, Discord, Webhook, Apprise and ServerChan, routed by global rules or explicit channel selection, with messages in 9 languages.
Both backends share the same frontend and the /admin console; pick one for your environment.
| Cloudflare Worker | Go | |
|---|---|---|
| Runtime | Cloudflare Workers | Your own server / Docker |
| Database | D1 or PostgreSQL | SQLite or PostgreSQL |
| Direct probe protocols | HTTP, TCP (UDP and ICMP via an Agent) | HTTP, TCP, UDP, ICMP, DNS, TLS, WebSocket |
| Shortest interval | 60 seconds | 5 seconds |
| Large-scale batching | Optional Cloudflare Queue | In-process scheduler |
| Theme storage | R2 (optional) | Local data directory |
The full comparison is in backend options.
- Fork this repository, then import it in the Cloudflare console under Workers & Pages → Create application → GitHub, with
npm run buildas the build command andnpm run deployas the deploy command. - Open
/setupafter deploying and follow the checks to add the required configuration under the Worker's Settings:- KV binding
CONFIG - Analytics Engine binding
UPTIME - Secret
ADMIN_TOKEN(a long random string) - Optional: D1 binding
DB(PostgreSQL is used when absent), R2 bindingTHEMES(third-party themes), Queue bindingCHECK_QUEUE(batched checks)
- KV binding
- Return to
/setupto verify the database and create the administrator.
You can also deploy with the button below, which creates a separate repository rather than a fork:
Manual deployment, custom domains and PostgreSQL migration are covered in the deployment guide.
Download the build for your platform from Releases and start it:
chmod +x polaris # Linux / macOS
./polaris --data-dir ./data.\polaris.exe --data-dir .\dataIt listens on 127.0.0.1:8080 by default. Open /setup and use the setup key from the setup_key field in the startup log to create the administrator. Docker deployment can start from backends/go/compose.yaml; flags, environment variables and managed updates are in the Go backend guide.
Sign in to /admin, open Agent management and add a machine. Copy the install command for its platform and run it there, then manage the service with pa:
pa status
pa restart
pa logs -f
pa updateConfiguration, remote commands and removal are in the Agent guide.
| Document | Contents |
|---|---|
| Backend options | Worker and Go capability comparison |
| Deployment | Cloudflare setup, domains, PostgreSQL and D1 migration |
| Go backend | Flags, Docker, managed updates and data migration |
| Usage | Monitor configuration, Push heartbeats, public pages, maintenance and security |
| Subscriptions | Subscription repositories, custom descriptors and sync |
| AI monitoring | Channel protocols, bulk import, model pages and key management |
| Agent | Agent installation, management, configuration and removal |
| Notifications | Channels, routing rules and delivery records |
| Worker Queue | Batched checks on Workers |
| Themes | Third-party theme installation, configuration and development |
| Configuration | Bindings, environment variables and console settings |
| API | Endpoints and authentication |
| Operations | Upgrades, backup and restore, retention |
| Troubleshooting | Diagnosing failures |
Released under the MIT License.