Skip to content

daus-salar/quagga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quagga

A Google Cast app built at DevFest Berlin 2013 at the "Retro" Hackathon.

Screenshot

The app shows white noise on the receiver ...

White noise

How it works

The graphic visualizes how the components communicate with each other.

Architecture

How to get it running

  1. Both, the sender and the receiver must be on the same network (reachable via ping).
  2. The content (white noise) is served by a web server - you need to start it (see below).
  3. The sender app must be white-listed on the receiver (see below).
  4. The protocol of the receiver must match the namespace configured on the sender.

How to serve the content

Open a terminal and change to the QuaggaJS directory. There you have to start a web server to serve the content.

$ cd QuaggaJS
$ python -m SimpleHTTPServer

How to white-list the sender

Send the content of whitelist.json via curl to the sender:

{
    "appName" : "WhiteNoise",
    "appUrl" : "http://192.168.43.183:8000",
    "protocols" : ["ramp"]
}

The appUrl must match the ip address and port of the webserver serving the content. The following command will register the app on the receiver.

$ curl -vX POST http://192.168.43.172:8008/registerApp -d @whitelist.json -H "Content-Type: application/json"

Disclaimer

The initial version of the app and website has been developed at the hackathon within a few hours. Therefore, please do not expect any code quality or design.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published