snowflake/proxy
2017-01-23 12:34:08 -08:00
..
spec Remove unused clientAddr from ProxyPair 2017-01-23 12:34:08 -08:00
static implement snowflake-allow cookie check, messaging for when cookies disabled in options page. close #21 2017-01-02 14:43:45 -08:00
broker.coffee per-proxypair Snowflake ID generation instead of just one for the Broker (#11) 2016-03-14 22:12:52 -07:00
Cakefile Pass on exit code from spawned task so CI fails 2017-01-18 17:20:13 -08:00
coffeelint.json use coffeelint 2016-01-15 08:47:06 -08:00
modernizr-config.json Feature detect with Modernizr 2016-04-05 10:30:45 -07:00
package.json Standalone snowflake 2016-12-20 10:36:42 -08:00
proxypair.coffee Remove unused clientAddr from ProxyPair 2017-01-23 12:34:08 -08:00
README.md Use 192.81.135.242:9902 as the default relay. 2016-03-27 12:49:20 -07:00
shims.coffee Standalone snowflake 2016-12-20 10:36:42 -08:00
snowflake.coffee Remove unused clientAddr from ProxyPair 2017-01-23 12:34:08 -08:00
ui.coffee Standalone snowflake 2016-12-20 10:36:42 -08:00
util.coffee per-proxypair Snowflake ID generation instead of just one for the Broker (#11) 2016-03-14 22:12:52 -07:00
websocket.coffee We don't need to worry about the base64 WebSockets. 2016-03-26 14:23:22 -07:00

This is the browser proxy component of Snowflake.

Embedding

See keroserene.net/snowflake for more info:

<iframe src="http://keroserene.net/snowflake/embed.html" width="88" height="16" frameborder="0" scrolling="no"></iframe>

Testing

Unit testing with Jasmine are available with:

npm install
npm test

To run locally, either:

  • Navigate to proxy/build/embed.html
  • For a more fully featured "debug" version, start a webserver and navigate to snowflake.html.

Parameters

With no parameters, snowflake uses the default relay 192.81.135.242:9902 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.