<html>
<p><img src="http://blog.belzec.net/wp-content/uploads/2016/03/Zero2.png"/></p>
<p><a href="http://bit.ly/27OZwzz">ZeroNet</a>, a serverless P2P network that uses Bitcoin cryptography and BitTorrent technology, may be the first real, usable prototype of a decentralized web.</p>
<p>BitTorrent users can download files directly from other users, without needing a central server. The BitTorrent technology for distributed file storage and peer-to-peer transfers, one of the biggest developments in Internet technology since the Web itself, opens the way to a distributed, fully decentralized Internet. </p>
<h3><strong>Here's an example how to publish a serverless Git repository: </strong></h3>
<p>Note: Only private key owner can push, sign and publish changes. However other users can clone repositories even if internet connection is offline.</p>
<p>Create a new site as described <a href="http://bit.ly/29n3Ih1">here</a></p>
<p>Make a mirror of your existing repository</p>
<pre><code>cd $ZERONET_DIR/data/$SITE_ADDRESS<br>
git clone --mirror $PATH_TO_YOUR_ORIGINAL_REPO</code></pre>
<p>Clone mirrored repository to any other directory</p>
<pre><code>cd $ANYWHERE_YOU_WANT<br>
git clone $ZERONET_DIR/data/$SITE_ADDRESS/$REPO_NAME.git</code></pre>
<p>Set up your post-update hook for "dumb http"</p>
<pre><code>cd $REPO_NAME/hooks<br>
mv post-update.sample post-update</code></pre>
<p>Make any minor change (e.g. add one line to a >>README.md file)</p>
<pre><code>echo "" >>README.md</code></pre>
<p>Commit and push your changes</p>
<pre><code>git commit -a -m "Technical commit"<br>
git push</code></pre>
<p>Sign and publish site changes as described <a href="http://bit.ly/29n3Ih1">here</a>.</p>
<p>Now you can clone your repository from ZeroNet</p>
<pre><code>git clone http://127.0.0.1:43110/$REPO_NAME.git</code></pre>
<h3>Here is a working demo:</h3>
<ul>
<li><a href="http://bit.ly/29n9cr3">Nemcoin Data Processing Library</a></li>
</ul>
</html>