Here is a version which uses OSX&#x27;s <i>say</i> command for a spoken announcement of &quot;<i>github is up again</i>&quot;.  It also checks once every minute instead of once a second.<p><pre><code>    while true; do curl -s https:&#x2F;&#x2F;status.github.com&#x2F;api&#x2F;status.json | egrep &#x27;good|minor&#x27; &amp;&amp; say -r 160 &quot;github is up again&quot; || echo -n .; sleep 60; done
</code></pre>
Edit: accept a status of <i>minor</i> as an indication of up-ness.