Coder Social home page Coder Social logo

nampnq / status Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owainlewis/status

0.0 2.0 0.0 4.89 MB

An open source, self hosted status page application for communicating service incidents to customers.

License: Other

CSS 8.80% Scala 64.69% HTML 26.22% JavaScript 0.30%

status's Introduction

Status (Work In Progress)

An open source, self hosted status page application for communicating service incidents to customers.

It is heavily inspired by status.heroku.com and other status page applications such as https://developers.facebook.com/status. This is a very early first attempt put together over a day or two so obviously it's pretty rough. Feel free to submit suggestions, feature requests or fixes.

A demo is available at https://systemstatus.herokuapp.com/

Username: admin Password: password

Please feel free to contribute if you have ideas.

TODO

  • Service overview page
  • Web hook integrations (Slack)
  • Twitter Integration
  • Email notifications
  • SMS notifications

Getting started

The quickest way to get your own version running is to use Heroku. Assuming you have a Heroku account then the app can be deployed in under a minute.

git clone https://github.com/owainlewis/status.git && cd status
heroku create 
# Generate a random secret key and set as an environment variable
heroku config:set APPLICATION_SECRET="SECRETKEY"
heroku config:set STATUS_USERNAME="username"
heroku config:set STATUS_PASSWORD="password"
git push heroku master

Local development

Status is a standard Play framework application written in Scala. It requires PostgreSQL.

If you are familar with the Scala ecosystem (and have activator installed) then you can run with:

createdb status && activator run 

Configuration

Config Value Description
auth.username The admin username for login
auth.password The admin password for login

API

Status comes with a simple JSON REST api for adding data to your system and for integration with other services.

It uses basic authentication (I know) to keep things simple.

Example request to get all incidents

curl -u user:pass -i http://localhost:9000/api/v1/incidents

Delete an incident

curl -iXDELETE -u user:pass http://localhost:9000/api/v1/incidents/5

Integrations

Slack

When you create an incident you can configure status to send a notification to a Slack channel

slack.endpoint="https://hooks.slack.com/services/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"

See https://api.slack.com/incoming-webhooks for more information.

Coming Soon

  • SMS
  • Email

status's People

Contributors

owainlewis avatar

Watchers

 avatar  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.