A simple schematic

img
Things you need to prepare
- A Cloudflare account
- At least one server that needs to be monitored
- Docker installed on the server
Tutorial begins
Download the project
Please go to release and download it yourself
Create a new Cloudflare KV

img
backupset to{}errorsset to[]
Create a new Cloudlfare Worker
Set the environment variables, and make sure to set them under 制作, not under 预览

img
| Variable name | Description |
|---|---|
| BACKUPHTTPTOKEN | Used for authentication when sending backup results back |
| TOKEN | Uptimebot API token [readonly is enough] |
| INFO | Some custom information, see below |
An example of INFO:
CodeBlock Loading...
rtl makes the status bar below display from right to left

imgSTATUS
Install and configure duplicati [You can skip this step if you do not need to monitor backup status]
The docker-compose used here requires you to configure things like port reverse proxy yourself. There should be guides online; if not, ask GPT
CodeBlock Loading...
After configuring the backup task, go to Settings > Default options > Edit as text, and make sure to use your own URL and BACKUP_HTTP_TOKEN

img
CodeBlock Loading...
Uptimerobot configuration
- Apply for API access
- Monitor name configuration

img
For example: Monitoring Site${国家:us}${标签:info|Cloudflare Worker}${类别:应用}
- The name finally shown on the page is the content with all
${}parts removed, that is,Monitoring Site ${国家:us}configures the country flag shown before it Country list${标签:info|Cloudflare Worker}is displayed as the tag below${类别:应*用}lets you configure the category yourself*