Bot Performance Monitor is a web-based tool designed to monitor the availability and uptime of specified URLs. Built using the Koa framework and axios library, this tool periodically checks the status of URLs, tracks their uptime, and responds to their availability.
-
Automated Monitoring: The tool automatically checks the status of specified URLs at regular intervals.
-
Uptime Tracking: The tool maintains a record of uptime for each monitored URL.
-
API for URL Addition: Users can add URLs to the monitored list using an API endpoint.
-
Web Interface: The web interface displays the status and uptime information of monitored URLs.
-
Error Handling: Comprehensive error handling ensures smooth operation even in case of network errors or invalid URLs.
-
Graceful Deletion: URLs experiencing prolonged downtime are gracefully deleted from the monitored list.
- axios: For making HTTP requests to monitor URLs.
- koa: A lightweight web framework for creating the server.
- koa-bodyparser: Middleware for parsing request bodies.
- koa-json: Middleware for formatting JSON responses.
- koa-router: Middleware for defining routes.
- ejs: Templating engine for rendering HTML.
- moment-timezone: Library for handling timezones.
-
Install dependencies using
npm install
. -
Start the server using
npm start
. -
Access the web interface to view monitored URLs and their status.
-
Add URLs to be monitored using the provided API endpoint.
This project is licensed under the MIT License.