Skip to content

real-time phone camera reflection using the HTML5 camera API, javascript & tornado websockets

Notifications You must be signed in to change notification settings

MaxPresman/massive-archer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

massive archer (random github name)

Just a simple demo of a few technologies mixed up together...

  • Websockets for both javascript and Tornado (Python)
  • Filereader API for javascript
  • Camera / Fileuploader for mobile (only android... for now..)

what does it do?

The basic idea is to take a picture with a mobile phone (android for now) and it will instantly be uploaded to all desktop web browsers that are currently open on the /browsers webpage. Websockets allows us to get rid of long polling and other annoying "old school" methods. This app is quite simple and light, just the way it should be. :)

how to install?

  1. get tornado, it's awesome!
  2. clone this awesome repo
  3. open up port 8889 or change the port from the run_me.py
  4. cd to folder and python run_me.py

how to use?

  • on your phone.. browse to the your_url/phone
  • on your browser.. browse to the your_url/browser
  • take a picture on the phone.. and watch it instantly get uploaded to the browser..

Any restrictions on the code?

please feel free do do whatever you want with this piece of code!

About

real-time phone camera reflection using the HTML5 camera API, javascript & tornado websockets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages