Giter Club home page Giter Club logo

doorbell's Introduction

Fabelier's Ringbell

You want to organize a meeting, but there are no bell on the door, and you don't want to give your phone number to everyone?

Easy:

  • Launch this nodejs and Socket.io application, and give the url http://my.host/ to anyone intetested
  • Let a tab of a web browser opened on the http://my.host/monitor
  • When a visitor arrives, he'll just has to point his smartphone to the url you gave him, and ring. Your browser will warn you someone is at the door.

Try it

  1. Run npm install once and for all, the retrieve the neede node packages
  2. copy config.js.template to config.js and edit it to fit your needs
  3. Launch node index.js
  4. Open a browser to http://my.host/
  5. To ear when someones rings, open another one to http://my.host/monitor

###How to avoid pranks To ensure not every one can ring, you just have to:

  1. Edit the config file to enable the password feature and to choose your password
  2. Provide the password to your visitors

You could e.g. change the password at every meeting, and put it on a note on your door, to ensure only someone who came at the door can actually ring.

###QR Code To simplify the lives of your visitor you could provide them with a qr code. Just put a QR code on your door, and point it to

http://my.host/qr

If you use a password, then url should be

http://my.host/qr.password=my_password

For developers

  • If you have Grunt, instead of running node index.js, you should run grunt serve. It will reload the node server whenever a file is modified.

  • To validate your code, you can run grunt. It will check the code using jshint.

doorbell's People

Contributors

gturri avatar alexfaraino avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.