A status page app built on the Google App Engine
sitestatus is an experimental web application that you can use to create a dynamic, self-updating status page for your domain or any arbitrary collection of sites you might want to track the status of.
Make sure you have the prerequisites listed above installed. Next, download the latest version of sitestatus. Unzip the archive to any directory on your file system.
Alternatively, you can clone the git repository by executing
git clone git://github.com/sclabs/sitestatus.git
Feel free to fork the repository and develop your own tweaks and features under the conditions of the license (see below).
app.yaml
, replace myapp
with the application identifier for your app.settings.py
, change SITE_TITLE
from 'My Awesome Status Page'
to whatever you actually want to call your site.python manage.py deploy
and authenticate with your Google Account when prompted.python manage.py remote createsuperuser
to create a superuser for yourself.It’s that simple! Point your browser to your_application_identifier.appspot.com to see your status page!
sitestatus features four different ways to check the status of any given site, which you can change by modifying the `update_type` property of the site you want to change in the Datastore Viewer. These are:
none
– This is the default update type, which causes the update mechanism to ignore this site and never update its status. Use this for custom statuses like “coming soon”, etc.status
– This is probably the update type you will use most. It tells the update mechanism to send a request to the url in update_url
. If the response has a status code of 200 OK
, the status will be updated to “online”. Otherwise, it will be updated to “offline”.title
– This update type looks at the title of the webpage at update_url
and checks to see if it contains the string in update_title
.content
– This update type looks at the entire content of the HTTP response returned by the site at update_url
and checks to see if it contains the string in update_content
.If you have a domain you’d like to host your status page on, you can add a domain to your app by going to the Application Settings page on your Google App Engine dashboard.
sitestatus comes with a bare-bones example template (index.html
) that you should feel free to modify and style however you like. If you want to add CSS, Javascript, or other static files, remember to add the appropriate file or directory handlers in app.yaml
.
Direct all questions, comments, and bug reports to sclabs@gilgi.org.
sitestatus is released under the terms of the GNU General Public License, the full text of which is available in the file GPL
in the github repository. For details, please visit www.gnu.org/licenses/gpl.html.