Detects how to run it
npm, pnpm, yarn and bun scripts, .NET projects and published builds, Python with venv, uvicorn, Flask and Django. Or any command line.
Open source. Apache 2.0. For Windows Server.
Point Keeprun at a folder. It detects Node, .NET or Python, runs the app under a Windows service, restarts it when it crashes and starts it again after a reboot. Logs, environment and ports in one place.
09:00:02Started with the agent (PID 4120)
10:42:17Exited with code 1. Restarting in 1s
10:42:18Restarted after exit, attempt 1
10:42:19Listening on http://localhost:3001
npm, pnpm, yarn and bun scripts, .NET projects and published builds, Python with venv, uvicorn, Flask and Django. Or any command line.
Backoff from 1 second up to 60. After repeated crashes the app is marked Failed instead of looping forever.
A Windows service starts the apps that were running. Apps you stopped stay stopped.
Each app runs in a Job Object. Stop ends every child process, so ports are free for the next start.
Live output with search, CPU, memory, listening ports and an event history of starts, stops and crashes.
Environment values marked secret are stored with Windows DPAPI and masked in the UI.
Migrations, seeds and installs are saved as tasks and run when you choose, with the app's environment.
Silent MSI for Intune and SCCM, a CLI for scripts, a local API, and update checks you can turn off by policy.
# Add the app in the current folder and start it
keeprun add --start
# Status, CPU, memory and ports of every app
keeprun list
# Follow logs, run a migration
keeprun logs hr-portal -f
keeprun run hr-portal db:migrate
Windows 10, Windows 11 and Windows Server 2016 or later, 64-bit. First release coming soon.
msiexec /i Keeprun_x.y.z_x64_en-US.msi /qn