https://github.com/makevoid/srvstatus
tiny sinatra server to publish your server status via http (cors headers included = can be called via ajax)
https://github.com/makevoid/srvstatus
Last synced: about 1 year ago
JSON representation
tiny sinatra server to publish your server status via http (cors headers included = can be called via ajax)
- Host: GitHub
- URL: https://github.com/makevoid/srvstatus
- Owner: makevoid
- Created: 2012-05-13T14:04:22.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-29T17:12:03.000Z (about 14 years ago)
- Last Synced: 2025-03-25T06:02:47.993Z (about 1 year ago)
- Language: Ruby
- Size: 93.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# srvstatus
### tiny sinatra server to publish your server status via http
uses CORS headers so you can reach it trough ajax calls
just
bundle
then
rackup
and you are gtg
---
### usecase:
when the dot in the upper right corner turns green means someone's in the office
### how does it work
it makes an ajax call to to figure out if the office is opened (electricity turned on == server goes online)