What is Uptime Kuma?
It is a self-hosted monitoring tool similar to "Uptime Robot". It is open source on GitHub and can be deployed using Docker or non-Docker methods. The interface is very simple and supports multiple languages, making it very user-friendly.
Clone
Register a Replit account, preferably using GitHub login.
After registration, click "Create a Repl" --> "Import from GitHub", enter louislam/uptime-kuma, change the language to "bash", and finally click "Import from GitHub" to deploy, as shown in the figure.
4163709642.webp
Deployment
After successfully cloning from GitHub, the configuration file ".replit" will appear (it will initially appear in the upper right corner, and later you can select "Show hidden files" in the File tab to view this configuration file). The configuration command is as follows, as shown in the figure.
node server/server.js
1271932118.webp
Do not run it at this time. In the Console tab on the right, enter node and use the up and down keys to select the first option nodejs-16_x.out, then press enter to install the environment, as shown in the figure.
1395831252.webp
Then type .exit to exit node.
Continue to enter npm run setup, and wait for a moment.
4141265595.webp
Click "Done" in the upper right corner of the page (the one you filled in at the beginning).
Finally, click "Run" or "Ctrl+Enter" to run Uptime-Kuma. If the Uptime-Kuma account creation page appears in the upper right corner, the configuration is successful.
1753942658.webp
How to upgrade
Since we are deploying Uptime-Kuma in a non-Docker way, you can use the following command to upgrade. Generally, there is no need for the third step. Just restart your Repl.
? How to Update · louislam/uptime-kuma Wiki (github.com)
Deploy using git
If you have a server, you can also deploy using git or other tools.
Here we choose version 1.18.5, but the version can be changed depending on the situation.
git fetch --all
git checkout 1.18.5 --force
Install dependencies and pre-build
npm install --production
npm run download-dist
Build the environment and run
pm2 restart uptime-kuma
Please note that the project may be updated, which does not guarantee the success of this tutorial.
I have already deployed it on status.1703.site.
If you have any questions, feel free to leave a comment.
If you need me to provide the monitoring page, you can also leave a comment.
Some images are from the internet.