snowflake/proxy
2019-07-02 10:01:34 -04: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 Updated popup icon to be purple when it's enabled 2019-07-02 10:01:34 -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 Fix some linting warnings for "Line exceeds maximum allowed length." 2019-05-16 12:07:06 -04:00
init-node.coffee Separate build per use 2019-05-16 12:07:06 -04:00
init-webext.coffee Add toggle functionality to web extension 2019-07-02 10:01:34 -04:00
package.json Separate build per use 2019-05-16 12:07:06 -04:00
proxypair.coffee Refactored poll loop 2019-07-02 10:01:34 -04:00
README.md Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
shims.coffee Separate build per use 2019-05-16 12:07:06 -04:00
snowflake.coffee Updated popup icon to be purple when it's enabled 2019-07-02 10:01:34 -04:00
ui.coffee Updated popup icon to be purple when it's enabled 2019-07-02 10:01:34 -04:00
util.coffee Fix some linting warnings for "Line exceeds maximum allowed length." 2019-05-16 12:07:06 -04: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/.