add README.md
code optimization
Added tag v3.0.2 for changeset 646f7d743ced
Wormhole is a forward proxy without caching. You may use it for:
$ docker pull bashell/wormhole
$ docker run -d -p 8800:8800 bashell/wormhole
username:password
-v
and also run
wormhole container with option -a /path/to/authentication_file
Example:
$ docker pull bashell/wormhole
$ mkdir -p /path/to/dir
$ echo "user1:password1" > /path/to/dir/wormhole.passwd
$ docker run -d -v /path/to/dir:/opt/wormhole \
-p 8800:8800 bashell/wormhole \
-a /opt/wormhole/wormhole.passwd
Please install the stable version using pip
command:
$ pip install wormhole-proxy
You can install the development snapshot using pip
with
mercurial
:
$ pip install hg+https://hg.sr.ht/~cwt/wormhole
Or install from your local clone:
$ hg clone https://hg.sr.ht/~cwt/wormhole
$ cd wormhole/
$ pip install -e .
You can also install the latest tip
snapshot using the following
command:
$ pip install https://hg.sr.ht/~cwt/wormhole/archive/tip.tar.gz
Run wormhole command
$ wormhole
Set browser's proxy setting to
host: 127.0.0.1
port: 8800
$ wormhole --help
MIT License (included in license.py)
username
and password
in plain
text, keep it secret! (I will try to encrypt/encode it soon.)