TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Host your status page on GitHub

248 pointsby jayfkabout 9 years ago

12 comments

wandaabout 9 years ago
I use Github Pages for my status page too.<p>Not something I use for websites&#x2F;web apps I develop for clients, but for my own irrelevant website, I go as far as to cheat and use the following:<p><pre><code> &lt;img src=&quot;https:&#x2F;&#x2F;des.tination.server&#x2F;img&#x2F;1px.gif&quot; onload=&quot;statusOk()&quot; onerror=&quot;statusDown()&quot; alt=&quot;&quot;&gt; &lt;script&gt; function statusOk() { &#x2F;&#x2F; do something involving green and check marks } function statusDown() { &#x2F;&#x2F; do something involving red... and crosses } &lt;&#x2F;script&gt; </code></pre> (Obviously you have to prevent caching)
评论 #11238904 未加载
ThePhysicistabout 9 years ago
You could also poll the Github API direclty on the client side via Javascript&#x2F;jQuery (without giving the client an access token obviously) to display the status information, like that you could simply update issues on a public Github repo and the information would change accordingly on the site. With proper E-Tag checking, Github won&#x27;t even count repeated API queries against the rate limit, which means that you could have the client automatically update the information in the frontend every few seconds.<p>With Gitboard I use the Github API in this way to display issues in a Kanban board, which works really nicely: <a href="https:&#x2F;&#x2F;adewes.github.io&#x2F;gitboard" rel="nofollow">https:&#x2F;&#x2F;adewes.github.io&#x2F;gitboard</a>
评论 #11239804 未加载
herbstabout 9 years ago
Github recently is more offline than my Servers. Not sure if that would really help.
评论 #11239004 未加载
jon-woodabout 9 years ago
Keep in mind this is at its core just a static site generator, there&#x27;s nothing stopping you from pushing the generated site to S3, or even just a random server, and hosting it there instead if you don&#x27;t like Github&#x27;s uptime.
评论 #11239241 未加载
评论 #11238784 未加载
donnfelkerabout 9 years ago
Personally I prefer a service like <a href="http:&#x2F;&#x2F;status.io" rel="nofollow">http:&#x2F;&#x2F;status.io</a> - it&#x27;s one less thing I need to maintain&#x2F;etc.<p>Not to mention GitHub has had more than its fair share of outages.
jbrooksukabout 9 years ago
Wow...<p>This looks <i>very</i> similar to Cachet [1]. Did you take inspiration from it?<p>[1] <a href="https:&#x2F;&#x2F;cachethq.io" rel="nofollow">https:&#x2F;&#x2F;cachethq.io</a>
评论 #11238745 未加载
评论 #11238290 未加载
alexcrooxabout 9 years ago
Are there any decent open source status page systems that do the monitoring for you? I&#x27;m just looking for a basic ping or JSON response to automatically update the page for me. I&#x27;d like for the page to show there&#x27;s a problem before I manually work it out for myself!
评论 #11239126 未加载
javeryabout 9 years ago
But seriously - statuspage.io is amazing for this and super cheap.
评论 #11240171 未加载
评论 #11244175 未加载
blitiabout 9 years ago
I built a static status page that you can host anywhere. I use it for various systems. Its ugly, but works as required. Uses bootstrap and jquery. so you can go crazy with it. Everything is self contained. No need to maintain it. Does need an endpoint for the status page to ping. YMMV.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bliti&#x2F;status-page" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bliti&#x2F;status-page</a>
stanislavbabout 9 years ago
And here it is a follow-up post with some shared experience: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@stanbright&#x2F;how-to-set-up-a-free-status-page-on-github-5fc92f63d0f6#.amipcrr73" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@stanbright&#x2F;how-to-set-up-a-free-status-p...</a>
iqonikabout 9 years ago
Nice &quot;hack&quot;. I&#x27;m using statuspage.io for the notification side of things but can see why this is a very decent free alternative.
capoteabout 9 years ago
Host my status page on a site that is down about half the time? Hah
评论 #11240891 未加载