Decentralized websites using Bitcoin crypto and the BitTorrent network - https://zeronet.io
zeronet.py
you will be able to visit zeronet sites using
http://127.0.0.1:43110/{zeronet_address}
(eg.
http://127.0.0.1:43110/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D
).content.json
file which holds all other files in a sha512 hash
and a signature generated using the site's private key.content.json
and publishes it to the peers.
Afterwards, the peers verify the content.json
integrity (using the
signature), they download the modified files and publish the new content to
other peers.ZeroNet.cmd
(win), ZeroNet(.app)
(osx), ZeroNet.sh
(linux)If you get "classic environment no longer supported" error on OS X: Open a Terminal window and drop ZeroNet.app on it
It downloads the latest version of ZeroNet then starts it automatically.
wget https://github.com/HelloZeroNet/ZeroBundle/raw/master/dist/ZeroBundle-linux64.tar.gz
tar xvpfz ZeroBundle-linux64.tar.gz
cd ZeroBundle
./ZeroNet.sh
It downloads the latest version of ZeroNet then starts it automatically.
sudo apt-get update
sudo apt-get install msgpack-python python-gevent
wget https://github.com/HelloZeroNet/ZeroNet/archive/master.tar.gz
tar xvpfz master.tar.gz
cd ZeroNet-master
python zeronet.py
vagrant up
vagrant ssh
cd /vagrant
python zeronet.py --ui_ip 0.0.0.0
docker run -d -v <local_data_folder>:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 nofish/zeronet
ENABLE_TOR
environment variable to true
(Default: false
). E.g.:docker run -d -e "ENABLE_TOR=true" -v <local_data_folder>:/root/data -p 15441:15441 -p 127.0.0.1:43110:43110 nofish/zeronet
virtualenv env
source env/bin/activate
pip install msgpack-python gevent
python zeronet.py
Shut down zeronet if you are running it already
$ zeronet.py siteCreate
...
- Site private key: 23DKQpzxhbVBrAtvLEc2uvk7DZweh4qL3fn3jpM3LgHDczMK2TtYUq
- Site address: 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
...
- Site created!
$ zeronet.py
...
Congratulations, you're finished! Now anyone can access your site using
http://localhost:43110/13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
Next steps: ZeroNet Developer Documentation
$ zeronet.py siteSign 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
- Signing site: 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2...
Private key (input hidden):
$ zeronet.py sitePublish 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
...
Site:13DNDk..bhC2 Publishing to 3/10 peers...
Site:13DNDk..bhC2 Successfuly published to 3 peers
- Serving files....