Start here
Install Uptime
On this page
Uptime runs on your own computer first, which is the quickest way to try it. This page takes you from nothing to a signed-in console. When you are ready to run it for real, continue to Deploy to Cloudflare.
What you need
- macOS, Linux or Windows with WSL2.
- Git, to clone the source from https://github.com/just-every/run-uptime.
The CLI selects the checkout's pinned Node 22.20.0 for application commands. Use that pinned runtime when running contributor commands directly with node or pnpm.
Clone and start
One line installs rer, clones Uptime into run-uptime and starts it; Node does not need to be installed first:
curl -fsSL https://runeditrun.com/install.sh | sh -s -- dev just-every/run-uptimeGit is required; rer brings Node and pnpm. The same path in two steps is curl -fsSL https://runeditrun.com/install.sh | sh, then rer dev just-every/run-uptime. Until the installer’s PATH change takes effect, use $HOME/.local/bin/rer dev just-every/run-uptime. Already have Node 22 or later? npx -y @runeditrun/rer dev just-every/run-uptime does the same. If the installer prints a line that puts rer on your PATH, run that line too. To start it again later, run the same line from the same folder, or cd run-uptime && rer dev. To choose the owner yourself, run curl -fsSL https://runeditrun.com/install.sh | sh and then rer install just-every/run-uptime (with Node 22 or later, npx -y @runeditrun/rer install just-every/run-uptime does the same), then from the checkout:
rer setup
rer devrer install installs frozen dependencies. rer setup asks for the first owner and saves private settings. rer dev starts the app, private runner and practice target, then prints RER_READY. A first local start usually takes about a minute. On a busy computer it can take longer: rer dev prints progress every 20 seconds, with the limit to allow. Repeating rer dev resumes interrupted setup. In an interactive terminal it stays in the foreground and Control-C stops it. From a non-interactive shell it returns once ready, leaving the app in the background. Use rer dev --detach for an explicit background run.
Explicit owner setup
To choose an owner or supply setup answers yourself, run curl -fsSL https://runeditrun.com/install.sh | sh and then rer install just-every/run-uptime (with Node 22 or later, npx -y @runeditrun/rer install just-every/run-uptime does the same), then from the checkout, before rer dev:
rer setup --owner-email EMAIL --owner-name "NAME" --non-interactiveReplace EMAIL and NAME with your own address and name. Setup builds Uptime, applies the local database migrations, saves your private settings in data/local-secrets.json and creates the first owner, then prints RER_SETUP_READY and stops its temporary processes. Running it again keeps your owner, data and settings, and refuses a different owner or address instead of replacing them.
Start with a website
If you already know which site you want to watch, tell setup and Uptime will have monitors waiting for you. Save the address in a private file next to the checkout (chmod 600 answers.json):
{"UPTIME_START_URL": "https://example.com"}Then add --answers answers.json to the setup command above. Use a public http or https address; setup refuses one that Uptime could not check. This is optional. If you leave it out, /setup has a Website to monitor box you can fill in instead, and leaving the box empty works as it always did.
When you open /setup, Uptime asks your runner to visit that site and look around. Dev starts the runner for you. When you choose Continue, the console opens on the monitors it proposes, each ready to start with one click. Nothing is created until you choose it. Website discovery needs a private runner, including after deployment; hosted public monitors can then run in the Worker without one.
Sign in and finish setup
The default local address is http://127.0.0.1. For passkeys, follow Start with passkeys to launch a new installation at http://localhost.
- Open the private
RER_OPENlink printed byrer devon this computer to sign in. Keep it private. The plainRER_READYaddress opens the public Lobby. - First-run setup opens at
/setup. Enter your name, email and installation name. Your website is optional. Choose Continue. If you gave a website and the runner is working, you land on its proposed monitors. Otherwise, you land on the form for your first monitor. The External check URL (https://example.org/ by default) is set in Settings.
The console is then at /app. Hosted email-link sign-in and notifications use a configured mail sender. Development and demo runs report successful sends without sending email. Setup can defer mail configuration; dev identity provides local owner access while you configure it.
Stop it
rer dev --stopThis stops the app and its owned runner and practice target. Stop it before deployment (including a dry run) or reset. For command-line export or import, verify your second factor before stopping dev.
Look after the settings file
data/local-secrets.json is private and ignored by Git. Keep it with any local backup you want to resume from, and do not edit or share it. Your data lives in .wrangler/state. To start again, export first, then run rer reset --yes, which removes only local data and generated settings.
What next
Dev starts a private runner for local checks and website discovery. Hosted public website checks and notifications run in the Worker; heartbeats, discovery and private targets still need a private runner. To put Uptime on the internet, follow Deploy to Cloudflare.