Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Stupid AWESOME bell ringing app in node.js
JavaScript
branch: master
Failed to load latest commit information.
static/sounds add high5 borat sound
.gitignore first commit
Procfile first commit
README.markdown simplify POST
app.js simplify POST
index.html
package.json try to fix package.json file for heroku

README.markdown

 ____          ____       _ _ 
|  _ \  __ _  | __ )  ___| | |
| | | |/ _` | |  _ \ / _ \ | |
| |_| | (_| | | |_) |  __/ | |
|____/ \__,_| |____/ \___|_|_|

This is Da Bell.

It will ring all the open browsers when you send a POST.

I made it so we can hear about new orders and things coming in from our online store (www.dolbeau.ca).

Usage

npm install  # dependencies
node app.js

It listens on 0.0.0.0:5000 so to listen to the bell ring just go there.

To ring the bell:

curl -d "" http://localhost:5000/

Or in Python, use requests!

import requests
requests.post("http://localhost:5000/")

Enjoy!

Something went wrong with that request. Please try again.