snowflake/proxy
2019-07-10 10:39:12 +02:00
..
spec Appease validation warning about "Unsafe assignment to innerHTML" 2019-06-26 18:30:24 -04:00
static Remove Modernizr dependency 2019-05-08 11:23:49 -04:00
webext Version bump because of missing icons 2019-07-05 17:10:15 -04:00
broker.coffee Initialize snowflake instance with a config 2019-05-16 12:07:06 -04:00
Cakefile Separate build per use 2019-05-16 12:07:06 -04:00
coffeelint.json Downgrade coffeelint line lengths to a "warning" 2017-10-18 11:39:17 -04:00
config.coffee Initialize snowflake instance with a config 2019-05-16 12:07:06 -04:00
init-badge.coffee Warn when WebRTC isn't detected in the webext 2019-07-05 06:58:40 +02:00
init-node.coffee Separate build per use 2019-05-16 12:07:06 -04:00
init-webext.coffee Warn when WebRTC isn't detected in the webext 2019-07-05 06:58:40 +02:00
package.json Update required version of websocket dependency 2019-07-08 13:15:44 -04:00
proxypair.coffee Stop resetting after every pair closes 2019-07-02 10:03:44 -04:00
README.md Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
shims.coffee Warn when WebRTC isn't detected in the webext 2019-07-05 06:58:40 +02:00
snowflake.coffee Check returns properly for receiving offer 2019-07-04 17:01:27 -04:00
ui.coffee Can't reference 'this' before calling super in derived class constructors 2019-07-10 10:39:12 +02:00
util.coffee Fix comprehension in Parse.cookie 2019-07-05 13:28:25 +02:00
websocket.coffee Fix some linting warnings for "Line exceeds maximum allowed length." 2019-05-16 12:07:06 -04:00

This is the browser proxy component of Snowflake.

Embedding

See https://snowflake.torproject.org/ for more info:

<iframe src="https://snowflake.torproject.org/embed.html" width="88" height="16" frameborder="0" scrolling="no"></iframe>

Building

cake build

(Type cake by itself to see possible commands)

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 snowflake.bamsoftware.com:443 and uses automatic signaling with the default broker at https://snowflake-broker.bamsoftware.com/.