Decentralized P2P websites using Bitcoin crypto
and the BitTorrent network
ZeroNet uses Bitcoin cryptography and BitTorrent technology to build a decentralized censorship-resistant network. Users can publish static or dynamic websites into ZeroNet and visitors can choose to also serve the website. Websites will remain on-line even if it is being served by only 1 peer. When a site is updated by its owner, all nodes serving that site (previous visitors) will receive only the incremental updates done to the site content. ZeroNet counts with a build-in SQL database. This makes content-heavy site development easy. The DB is also synced with hosting nodes with incremental updates.
- We believe in open, free, and uncensored network and communication.
- No single point of failure: Site remains online so long as at least 1 peer serving it.
- No hosting costs: Sites are served by visitors.
- Impossible to shut down: It’s nowhere because it’s everywhere.
- Fast and works offline: You can access the site even if your internet is unavailable.
- Real-time updated sites
- Namecoin .bit domains support
- Easy to setup: unpack & run
- Clone websites in one click
- Password-less BIP32 based authorization: Your account is protected by same cryptography as your Bitcoin wallet
- Built-in SQL server with P2P data synchronization: Allows easier site development and faster page load times
- Tor network support
- TLS encrypted connections
- Automatic, uPnP port opening
- Plugin for multiuser (openproxy) support
- Works with any browser/OS
How does it work?
After starting zeronet.py you will be able to visit zeronet sites using
When you visit a new zeronet site, it tries to find peers using the BitTorrent network so it can download the site files (html, css, js…) from them.
- Each visited site becomes also served by you.
- Every site contains a site.json which holds all other files in a sha512 hash and a signature generated using site’s private key.
- If the site owner (who has the private key for the site address) modifies the site, then he/she signs the new content.json and publishes it to the peers. After the peers have verified thecontent.json integrity (using the signature), they download the modified files and publish the new content to other peers.
How to join?
It downloads the latest version of ZeroNet then starts it automatically.
Alternative method for Windows by installing Python
- 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
- Start with python zeronet.py
- Open http://127.0.0.1:43110/ in your browser and enjoy! 🙂
Other Linux or without root access
- Check your python version using python –version if the returned version is not Python 2.7.Xthen try python2 or python2.7 command and use it from now
- wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py –user gevent msgpack-python
- Start with python zeronet.py
- Install Homebrew
- brew install python
- pip install gevent msgpack-python
- Download , Unpack, run python zeronet.py
- vagrant up
- Access VM with vagrant ssh
- cd /vagrant
- Run python zeronet.py –ui_ip 0.0.0.0
- Open http://127.0.0.1:43110/ in your browser
- docker run -p 15441:15441 -p 43110:43110 nofish/zeronet
- Open http://127.0.0.1:43110/ in your browser.
- No torrent-like, file splitting for big file support
- No more anonymous than Bittorrent
- File transactions are not compressed or encrypted yet
- No private sites
- You must have an open port to publish new changes
- Timeout problems on slow connections
How can I create a ZeroNet site?
Shut down zeronet if you are running it already
$ zeronet.py siteCreate
- Site private key: 23DKQpzxhbVBrAtvLEc2uvk7DZweh4qL3fn3jpM3LgHDczMK2TtYUq
- Site address: 13DNDkMUExRf9Xa9ogwPKqp7zyHFEqbhC2
- Site created!
Congratulations, you’re finished! Now anyone can access your site using
How can I modify a ZeroNet site?
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 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.
Source && Download