Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atmos/http-pulse-app
what you want out of http monitoring
https://github.com/atmos/http-pulse-app
Last synced: 3 months ago
JSON representation
what you want out of http monitoring
- Host: GitHub
- URL: https://github.com/atmos/http-pulse-app
- Owner: atmos
- License: mit
- Created: 2010-08-07T22:18:06.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-08-24T07:35:58.000Z (over 14 years ago)
- Last Synced: 2024-04-15T13:59:32.970Z (9 months ago)
- Language: JavaScript
- Homepage: http://http-pulse.atmos.org
- Size: 477 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
http-pulse
==========This is a simple HTTP monitoring service built on [heroku's][heroku] experimental [node.js][node] support. Authentication is based on [github oauth][ghoauth].
Running
=======You need a few config variables set in your heroku environment, you'll need similar environmental variables set to run this locally.
% heroku config:add GITHUB_CALLBACK="http://http-pulse.atmos.org/auth/github/callback"
% heroku config:add GITHUB_CLIENT_ID=""
% heroku config:add GITHUB_SECRET=""
% heroku config:add EXPRESS_ENV="production"
% heroku addons:add mongohq:free
% git push heroku masterYou should be able to visit your site and login via github.
Endpoints
=========To list your monitors
% curl -vv http://http-pulse.atmos.org/v1//monitors
To create a monitor
% curl -vv -X POST -d "url=http://www.atmos.org" http://http-pulse.atmos.org/v1//monitors
To delete a monitor
% curl -vv -X DELETE http://http-pulse.atmos.org/v1//monitors/
Why?
====I wanted to learn how to use mongodb and simple workers on [heroku][heroku]. The is what I came up with.
[heroku]: http://heroku.com
[node]: http://nodejs.org
[ghoauth]: http://gist.github.com/419219