mirror of
https://github.com/keroserene/snowflake.git
synced 2026-08-17 13:07:20 +02:00
| .. | ||
| lib | ||
| static | ||
| broker.coffee | ||
| Cakefile | ||
| coffee-snowflake.html | ||
| coffeelint.json | ||
| proxypair.coffee | ||
| README.md | ||
| shims.coffee | ||
| snowflake.coffee | ||
| snowflake_test.coffee | ||
| ui.coffee | ||
| util.coffee | ||
| websocket.coffee | ||
This is the browser proxy component of Snowflake.
Testing:
Unit tests are available with:
cake test
To run locally, start a webserver and navigate to snowflake.html.
Parameters
With no parameters,
snowflake uses the default relay 192.81.135.242:9901 and
uses automatic signaling with the default broker at
https://snowflake-reg.appspot.com/.
Here are optional parameters to include in the query string.
manual - enables copy-paste signalling mode.
relay=<address> - use a custom target relay.
broker=<url> - use a custom broker.