Git Product home page Git Product logo

status's Introduction

Battle Stations!

Battle-stations is a simple status page based on Github issues that you can host everywhere. Highlights:

  • Uses the Github Issues API to display incidents to the user.
  • Updates automatically when you create/update/close issues in your Github project.
  • Does not require a backend server as it communicates directly with the Github API.
  • Performs a client-side reachability check of your own APIs.

Setup

  • Fork this repository
  • Edit the title and meta information in index.html to match your website/company.
  • Point githubProject in index.js to your own Github project and (optionally) add/edit your API endpoints that you want to have checked.

If you want to host your status page via Github pages, follow their instructions here:

https://pages.github.com/

Usage

  • To create new incidents, simply create a new issue in your project and add a label with name incident to it (you might need to create this label first).
  • To mark incidents as resolved, simply close the corresponding issue.

Questions & Answers

What technologies does this use?

It uses jQuery, React.js and a few CSS/HTML libraries (Bootstrap, Font-Awesome). The code is kept as simple as possible and runs without any build steps / compilation.

How does this work?

We simply use the public Github API to retrieve issues from your Github project. We then use React.js to display these issues to the user.

Will this work without a valid API key?

Github allows us to use the public API without providing a valid access token. The rate limit imposed (currently 60 requests every 10 minutes) is high enough for our use case, especially since Github does not count repeated requests against that same endpoint if the data has been unchanged and a valid cache/ETag header was provided.

What happens when Github goes down as well?

In that case the status page will not work, sorry.

License

This project is licensed under the MIT license.

status's People

Contributors

adewes avatar

Watchers

 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.