Giter Site home page Giter Site logo

luthmcyt / status Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mehatab/fettle

0.0 0.0 0.0 1.79 MB

Free GitHub-powered beautiful status page utilizing GitHub Pages, Actions, and Issues for real-time updates and incident management.

Home Page: https://fettle.mehatab.me

License: Apache License 2.0

Shell 6.59% JavaScript 3.23% TypeScript 85.53% CSS 4.64%

status's Introduction

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 in urls.cfg file present in public > urls.cfg file.

Google=https://google.com
Facebook=https://facebook.com

Incidents URL update

Go to src > 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 to src > 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

  1. Go to issues tab
  2. Create a new label incident
  3. Create a issue
  4. Add the label incident to the issue

How it works

  • Hosting

    • GitHub Pages is used for hosting the status page.
  • Monitoring

    • Github Workflow will be triggered every 1 Hr (Configurable) to visit the website.
    • Response status and response time is commited to github repository.
  • Incidents

    • Github issue is used for incident management.

Contributing

Feel free to submit pull requests and/or file issues for bugs and suggestions.

status's People

Contributors

github-actions[bot] avatar mehatab avatar luthmcyt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.