Fettle π
Fettle is the open-source status page, powered entirely by GitHub Actions, Issues, and Pages.
Usage
First of all, you need to fork this repository.Update URL's
Update the urls and name inurls.cfg file present in public > urls.cfg file.
Google=https://google.com
Facebook=https://facebook.com
Incidents URL update
Go tosrc > incidents > hooks > useIncidents.tsx file and update the url with your repository url.
Replace mehatab/fettle with your username/repo-name
https://api.github.com/repos/mehatab/fettle/issues?per_page=20&state=all&labels=incident
Service status URL update
Go tosrc > services > hooks > useServices.tsx file and update the url with your repository url.
Replace mehatab/fettle with your username/repo-name
https://raw.githubusercontent.com/mehatab/fettle/main/public/status/${key}_report.log
Go to src > services > hooks > useSystemStatus.tsx file and update the url with your repository url.
Replace mehatab/fettle with your username/repo-name
https://raw.githubusercontent.com/mehatab/fettle/main/public/status/${key}_report.log
Deployment setup
Then, you need to enable GitHub Pages on your forked repository. You can do this by going to Settings > Pages and enabling it on the main branch.
In Build and deployment section select GitHub Actions.
Change monitoring interval
If you want to change the time interval of monitoring then you can change it in.github > workflows > health-check.yml file.
update the cron time in the following line.
on:
schedule:
- cron: "0 0/12 *"
Reporting your first incident
- Go to issues tab
- Create a new label
incident - Create a issue
- Add the label
incidentto the issue
How it works
- Hosting
- Monitoring
- Incidents