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).
- Go to appengine.google.com, log in with your Google Account, and follow the instructions to enable Google App Engine for your account (if you haven’t done so already).
- Create a new app, and remember your app’s application identifier.
- In
app.yaml
, replacemyapp
with the application identifier for your app. - In
settings.py
, changeSITE_TITLE
from'My Awesome Status Page'
to whatever you actually want to call your site. - Run
python manage.py deploy
and authenticate with your Google Account when prompted. - Run
python manage.py remote createsuperuser
to create a superuser for yourself. - Point your browser to your_application_identifier.appspot.com/update/
- Change the example status entry from the Datastore Viewer in your application’s Google App Engine dashboard to whatever site you want to track.
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 inupdate_url
. If the response has a status code of200 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 atupdate_url
and checks to see if it contains the string inupdate_title
.content
– This update type looks at the entire content of the HTTP response returned by the site atupdate_url
and checks to see if it contains the string inupdate_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
.
For more information visit sclabs.gilgi.org/sitestatus/. Direct all questions, comments, and bug reports to [email protected].
sitestatus is released under the terms of the GNU General Public License, the full text of which is available in the file GPL
. For details, please visit www.gnu.org/licenses/gpl.html.