8000 GitHub - XingLingQAQ/UptimePolaris: Self-hosted status page and uptime monitoring on Cloudflare Workers or Go, with a Rust agent for host metrics and private-network probes. · GitHub
[go: up one dir, main page]

Skip to content

About

Self-hosted status page and uptime monitoring on Cloudflare Workers or Go, with a Rust agent for host metrics and private-network probes.

Topics

Resources

Stars

84 stars

Watchers

0 watching

Forks

Latest commit

 

History

106 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uptime Polaris

English · 简体中文 · 繁體中文(台灣) · 繁體中文(香港) · 日本語 · 한국어 · Français · Português (Brasil) · Русский

Uptime Polaris

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 Cloudflare Workers Go Backend React + TypeScript Rust Agent Storage

Live Demo · Features · Backends · Deploy · Agent · Documentation

Live demo

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

Features

  • 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.

Backend options

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.

Quick deploy

Cloudflare Workers

  1. Fork this repository, then import it in the Cloudflare console under Workers & Pages → Create application → GitHub, with npm run build as the build command and npm run deploy as the deploy command.
  2. Open /setup after 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 binding THEMES (third-party themes), Queue binding CHECK_QUEUE (batched checks)
  3. Return to /setup to verify the database and create the administrator.

You can also deploy with the button below, which creates a separate repository rather than a fork:

Deploy to Cloudflare

Manual deployment, custom domains and PostgreSQL migration are covered in the deployment guide.

Self-hosted Go

Download the build for your platform from Releases and start it:

chmod +x polaris   # Linux / macOS
./polaris --data-dir ./data
.\polaris.exe --data-dir .\data

It 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.

Host agent

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 update

Configuration, remote commands and removal are in the Agent guide.

Documentation

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

Friends

LinuxDo

License

Released under the MIT License.

About

Self-hosted status page and uptime monitoring on Cloudflare Workers or Go, with a Rust agent for host metrics and private-network probes.

Topics

Resources

Stars

84 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0