snowflake/proxy
Arlo Breault 31ad9566e6 Compile coffee files and remove them
With,

  ./node_modules/.bin/coffee -b -c Cakefile `find . -path ./node_modules -prune -o -name '*.coffee'`
2019-07-10 10:49:36 +02:00
..
spec Compile coffee files and remove them 2019-07-10 10:49:36 +02: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.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
Cakefile.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
coffeelint.json Downgrade coffeelint line lengths to a "warning" 2017-10-18 11:39:17 -04:00
config.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
init-badge.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
init-node.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
init-webext.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
package.json Bump coffeescript to 2.x 2019-07-10 10:44:23 +02:00
proxypair.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
README.md Remove copy/paste signalling 2019-05-08 11:21:56 -04:00
shims.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
snowflake.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
ui.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
util.js Compile coffee files and remove them 2019-07-10 10:49:36 +02:00
websocket.js Compile coffee files and remove them 2019-07-10 10:49:36 +02: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/.