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.exe
(win), ZeroNet(.app)
(osx), ZeroNet.sh
(linux)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
python2 zeronet.py
git clone https://aur.archlinux.org/zeronet.git
cd zeronet
makepkg -srci
systemctl start zeronet
See ArchWiki's ZeroNet article for further assistance.
eselect repository enable raiagent
emerge --sync
echo 'net-vpn/zeronet' >> /etc/portage/package.accept_keywords
echo 'net-vpn/zeronet tor' >>
/etc/portage/package.use
emerge zeronet
rc-service zeronet start
rc-update add zeronet
See /usr/share/doc/zeronet-*/README.gentoo.bz2
for further assistance.
pkg install zeronet
or cd /usr/ports/security/zeronet/ && make install clean
sysrc zeronet_enable="YES"
service zeronet start
vagrant up
vagrant ssh
cd /vagrant
python2 zeronet.py --ui_ip 0.0.0.0
docker run -d -v <local_data_folder>:/root/data -p 26552:26552 -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 26552:26552 -p 127.0.0.1:43110:43110 nofish/zeronet
virtualenv env
source env/bin/activate
pip install msgpack gevent
python2 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
Modify files located in data/13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2 directory. After you're finished:
$ zeronet.py siteSign 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
- Signing site: 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2...
Private key (input hidden):
Enter the private key you got when you created the site, then:
$ zeronet.py sitePublish 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
...
Site:13DNDk..bhC2 Publishing to 3/10 peers...
Site:13DNDk..bhC2 Successfuly published to 3 peers
- Serving files....
That's it! You've successfully signed and published your modifications.