We build and deploy dozens of projects, from quick demos and friends' early startups to polished portfolio websites and APIs. But once they're live, we often forget to check if they're still running. These projects are shared with others, but over time, they can become easy to overlook or abandon.
Weeks later, a potential employer or client may open the link⦠and it's broken.
That got me thinking:
π‘ How can I keep an eye on my deployed websites without paying for monitoring tools or setting up servers?
π€ Can a GitHub Action Solve That Problem?
I started exploring available options. I wanted something that:
β Runs entirely in GitHub Actions
β Requires no servers or subscriptions
β Checks HTTP status codes and response times
β Creates an issue if a site goes down
β Logs results over time for tracking
After some exploration and testing, I decided to roll up my sleeves and build something that does exactly what I needed.
π Meet Uptime-monitor Action
I built a simple, open-source GitHub Action that pings your list of URLs and logs the results. If something breaks, it automatically opens a GitHub Issue in your repo.
Perfect for:
- Demo websites
- Portfolio projects
- API endpoints
- Static sites hosted on GitHub Pages or Netlify
Or any other website that doesn't require a more advanced monitoring system.
π§ How It Works
You create a workflow in your project, add the uptime-monitor
Action, and define the websites to monitor along with required and optional settings.
On each run (manually or on a schedule), it:
- Sends a request to each URL you added
- Logs the status code and response time
- Creates an issue if any response isnβt 200 OK (success codes are configurable as well)
Example log line:
[2025-06-14T16:26:04+02:00] https://httpstat.us/200 β Status: 200, Response: 0.307s
Example issue:
The following site(s) returned a non-success HTTP status at 2025-06-20T17:35:00+02:00:
https://httpbin.org/status/404 returned status 404
https://httpbin.org/status/500 returned status 500
π Getting Started
To start using this Action, some configuration is required, but Iβve written detailed documentation, even for those new to GitHub Actions.
For detailed instructions, I suggest starting with the Getting Started guide.
For advanced configuration and FAQs, refer to the Readme as well.
π§βπ» Why I Open-Sourced It
This project started as a weekend hack to solve a real personal need. But I know other developers face the same problem.
So, I cleaned it up, documented it, and made it beginner-friendly.
Iβd love to get some feedback, contributions, or ideas for improvement!
π Try it yourself
GitHub Repo β cd-roman/uptime-monitor
Star it for later or plug it into your current project and never lose track of your sites again.
Thanks for your time and attention.
Take care!
Top comments (0)