• Stars
    star
    2,169
  • Rank 21,259 (Top 0.5 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’ก An open source solution for publishing the status of your services

Where did the GitHub Issues go? Due to a bit of neglect on my part and an abundance of support questions coming to this repository as GitHub issues I have taken the decision to close all issues. I don't have time to go through each issue individually. If your issue has been closed and it's not a support request and you still think it is relevant, please comment and I'll review.

Future plans I'm hoping to do a bit more work on Staytus soon. One of the main things I want to achieve will be to provide Staytus as a container rather than requiring people to install it manually on servers which seems to be cause of a number of issues. Once this is complete, I'll update all docs to make it clear now to deploy Staytus either using Docker or onto a Kubernetes cluster if that's what you prefer.

Staytus

Staytus is a complete solution for publishing the latest information about any issues with your web applications, networks or services. Along with absolutely beautiful public & admin interfaces, Staytus is a powerful tool for any organization with customers that rely on them to be online 24/7.

Screenshot

Installation from source

System Requirements

  • Ruby 2.3 or greater (including ruby-dev package on Linux)
  • RubyGems and Bundler
  • A MySQL database server
  • Bundler (gem install bundler)
  • Rake (gem install rake)
  • Procodile (gem install procodile)

Installation Instructions

A comprehensive tutorial about how to install Staytus available here on the aTech Media blog.

Alternativly, these basic instructions will get you up and running:

Before start, you'll need to create a new MySQL database:

mysql$ CREATE DATABASE `staytus` CHARSET utf8 COLLATE utf8_unicode_ci;
mysql$ GRANT ALL ON staytus.* TO `staytus`@`localhost` IDENTIFIED BY "a_secure_password";
$ git clone https://github.com/adamcooke/staytus
$ cd staytus
$ git checkout stable
$ bundle install --deployment --without development:test
$ cp config/database.example.yml config/database.yml
$ nano -w config/database.yml # Add your database configuration
$ bundle exec rake staytus:build staytus:install
$ procodile start --foreground

In case the bundle install command fails at mysql2, make sure that you have the MySQL development package (ie. mysql on macOS, libmariadb-dev for MariaDB on Linux)

This will run the application on HTTP port 5000. When you first login, you'll be able to add your own site settings. Browse to http://[IP]:8787 to begin.

You may also want to change the SMTP configuration via environment variables, which are described in config/environment.example.yml.

To run staytus in the background, simply run procodile start without the --foreground option.

Upgrading

Once you've installed Staytus, you can easily upgrade it by following this process.

$ cd path/to/staytus
$ git pull origin stable
$ bundle
$ bundle exec rake staytus:build staytus:upgrade

Once you've done this, you should ensure you restart any Staytus processes which you have running.

E-Mail Notifications

All e-mail notifications are sent through a background worker process. This will be started automatically when you run the application using foreman start. If you don't do this, you can run jobs using bundle exec rake jobs:work.

Administration

To log in for the first time, visit the /admin, and log in with email [email protected] and password password. You will probably want to go to Settings -> Users and set up your admins.

Themes

All themes are stored in the content/themes directory. You can add your own themes in this directory but we do not recommend making changes to the default theme as these changes may get overridden in an upgrade.

Full details about how to make these will be coming soon.

Examples in the wild

If you're running Staytus in the wild, let us know so we can add you to the list.

Screenshots

Here's a few extra screenshots from the admin and public interfaces.

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

More Repositories

1

procodile

๐ŸŠ Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)
Ruby
616
star
2

authie

๐Ÿ‘ฎโ€โ™‚๏ธ Improve user session security in Ruby on Rails applications with database session storage
Ruby
234
star
3

documentation

A Rails engine to provide the ability to add documentation to a Rails application
Ruby
214
star
4

vat-rates

172
star
5

fake-person

Create some fake personalities
Ruby
116
star
6

rails-safe-tasks

Automatically disable dangerous Rake tasks in production
Ruby
103
star
7

memist

A Ruby Memoization Helper
Ruby
76
star
8

json-vat

A Ruby client library for jsonvat.com
Ruby
69
star
9

ghost-theme

The theme used on my Ghost blog at http://blog.adamcooke.io
CSS
59
star
10

florrick

A Rails extension for providing awesome user-initiated string interpolation
Ruby
57
star
11

key-installer

Installs SSH public keys on remote hosts from a single command
Ruby
49
star
12

moonrope

A library to help with building an RPC-like JSON API
Ruby
34
star
13

apns-proxy

A proxy for sending requests to the Apple Push Notification Service
Ruby
21
star
14

muck

A tool for backing up remote MySQL databases
Ruby
18
star
15

runa

A redis-powered job/background runner
Ruby
17
star
16

changey

Run callbacks based on changes to attributes in Active Record
Ruby
17
star
17

param-auto-permit

Automatically permit attributes which are present in the sending form
Ruby
15
star
18

mysql-http-api

An HTTP API to any MySQL Database
Ruby
12
star
19

riptables

A Ruby DSL for generating iptables configuration
Ruby
12
star
20

send_file_with_range

A Rails addition which will allow sending of files with appropriate range headers
Ruby
12
star
21

budgets

A little Rails app to help manage your finances
Ruby
12
star
22

keyman

A utility for managing distributed authorized keys
Ruby
11
star
23

actionnav

๐Ÿ—บ A navigation manager for Rails apps
Ruby
11
star
24

seeka

An Active Record Search Interface
Ruby
10
star
25

railswork

Source for www.railswork.com
Ruby
9
star
26

procodile-capistrano

Capistrano 2 and 3 recipes for Procodile
Ruby
9
star
27

checken

๐Ÿ“ An authorization framework for Ruby & Rails applications
Ruby
9
star
28

myxi

A web socket server for Ruby with RabbitMQ
Ruby
9
star
29

geolocate

A Ruby library to return information about a given IP (currently using ip-api.com)
Ruby
9
star
30

nissh

A wrapper for net/ssh to allow easy command execution
Ruby
9
star
31

datey

A Ruby library for interrogating and formatting dates
Ruby
9
star
32

hmrc-moss-return

A Ruby library to generate HMRC VAT MOSS Return files
Ruby
8
star
33

authorized_networks

๐Ÿ” Easily restrict access to networks based on source IP
Ruby
8
star
34

twitterfications

A Rails plugin which allows you to send tweets to alert you of specific activities within your app with considerable ease
Ruby
8
star
35

procman

A very simple process manager for Ruby apps
Ruby
8
star
36

rails-template

My template for creating new Rails applications
Ruby
8
star
37

parameter_sets

๐Ÿ” A friendly schema for defining permitted parameters in Rails controllers
Ruby
8
star
38

color_fun

A little gem for doing stuff with colors
Ruby
7
star
39

apiable-model-errors

Provide ActiveModel errors in an format suitable for API consumers
Ruby
6
star
40

lizard

๐Ÿž Very simple ImageMagick interface for Ruby
Ruby
6
star
41

sqb

๐Ÿ‘ทโ€โ™€๏ธ A very simple but effective SQL query builder
Ruby
6
star
42

moss-return-api

An API to generate HMRC VAT MOSS Return ODS files from JSON
Ruby
6
star
43

log_logins

๐Ÿ– A small library to log login attempts & block after too many failed attempts
Ruby
6
star
44

rails-env-config

Set environment variables for your local development
Ruby
5
star
45

sshake

๐ŸคA friendly SSH interface on top of net/ssh
Ruby
5
star
46

hs1xx

Control TP-Link HS100/HS110 devices from Ruby
Ruby
5
star
47

apns-key-convert

A script to create PEM files from P12 and CER files.
Ruby
4
star
48

dasher-ruby

A Ruby library for Dasher
Ruby
4
star
49

ipgeo-server

Simple HTTP interface to a MaxMind IP database
Ruby
4
star
50

waiter

โณ A tiny application that waits for a set of services to become available before exiting clean. Ideal for init containers.
Go
4
star
51

jobster

๐Ÿฆ A RabbitMQ-based job queueing system for lobsters and absolute pros.
Ruby
4
star
52

growler

A simple codebase/github post-receive script to send a growl notification for each commit to a group of networked machines whenever a push is received.
PHP
4
star
53

chuck-divides-by-zero

Ruby
3
star
54

potamus

Utility for building and publishing Docker images
Ruby
3
star
55

apns-client

A client library for APNS Proxy
Ruby
3
star
56

plesk

Plesk for Ruby
Ruby
3
star
57

hippo

Deployment orchestration for Kubernetes
Ruby
3
star
58

rubysnippets

Sublime Text 3 snippets for Ruby & Rails
3
star
59

secure_random_string

A random string generator
Ruby
3
star
60

moonrope-client

A client library for the Moonrope server
Ruby
3
star
61

maxminder

Ruby library for the MaxMind minFraud checking service
Ruby
3
star
62

uu

Some useful things for your Rails applications
Ruby
3
star
63

bluebird

๐Ÿฆ A TUI for quickly accessing a library of pre-defined commands
Go
3
star
64

bask-proxy

๐ŸŠ๐ŸŠ๐ŸŠ Manage multiple procodiles on your development environment
Ruby
2
star
65

moonrope-workbench

A graphical frontend to use when testing Moonrope APIs
CSS
2
star
66

shoppe

The original Shoppe
Ruby
2
star
67

ipgeo-ruby

A Ruby library for talking to the IPGeo Server
Ruby
2
star
68

uk_vat_rate

Ruby
2
star
69

rack-custom-proxies

Allow the list of trusted proxies to be set by environment variable
Ruby
2
star
70

ghost-theme-2015

My blog's Ghost theme
CSS
2
star
71

LlamaKit

Some bits and bobs for iOS/tvOS development
Swift
1
star
72

cloudapp-exporter

Ruby
1
star
73

notes

1
star
74

llama-app

An empty app to use a skeleton for new Rails applications
Ruby
1
star
75

gandi

Gandi Domain Registration Library for Ruby
Ruby
1
star
76

moonrope-oc-sdk

Moonrope Objective C SDK
Objective-C
1
star
77

documentation-elasticsearch

An Elasticsearch module for Documentation
Ruby
1
star
78

webnull

A web server that accepts requests and returns the status you want
Ruby
1
star
79

swamp

A framework for writing simple CLI applications
Ruby
1
star
80

swipe

A Javascript App Framework
JavaScript
1
star
81

ripe-db

A Ruby library for talking to the RIPE datbaase
Ruby
1
star
82

localresolv

A DNS server which returns 127.0.0.1 for any domain you provide
Ruby
1
star
83

moonrope-workbench-osx

An OS X Application Wrapper for the Moonrope Workbench Tool
Objective-C
1
star
84

ACToolkit

A set of useful tools which I used when developing iOS applications
Objective-C
1
star
85

records-manipulator

Add manipulations to an Active Record scope to change the records when they are finally returned from the database
Ruby
1
star
86

monograph

A tool to help writers write content in Markdown and easily export into an HTML site.
Ruby
1
star
87

imap-gmail-importer

Ruby
1
star
88

advent-of-code

Ruby
1
star