ZeroNet is a decentralized web platform. It allows decentralized, open, free and uncensorable websites using Bitcoin cryptography and BitTorrent network.
Developing of static and simple ZeroNet sites is easy. You just need to create content.json
as described in ZeroNet documentation and then create and edit files.
But things can get complicated if the site becomes bigger. It can use NPM dependencies, SASS, TypeScript or other NPM tools. It is then hard to maintain all those things and develop the actual site at the same time.
Because of that, I created a template that simplifies a process of creating and developing ZeroNet sites. It supports NPM dependencies and it uses Gulp and Browserify for bundling scripts. It also supports SASS and automatic deployments with Travis CI.
It's available on GitHub and GitCenter.
Post about it is also available on Reddit and ZeroTalk.
filips123 / ZeroTemplate
Template for creating and developing ZeroNet sites
ZeroNet Template
Template for creating and developing ZeroNet sites.
Description
This project provides a template for creating and developing ZeroNet sites.
It supports NPM dependencies and it uses Gulp and Browserify for bundling scripts. It also supports SASS and automatic deployments with Travis CI.
Usage
Requirements
You must have Git and Node.js installed on your computer. It is recommended that use the latest versions.
It is also recommended to also install Python and ZeroNet for easier developing and deploying. You need to use Python 3 version of ZeroNet.
Start
If you don't already have your own ZeroNet site, you should create it from ZeroNet. Details are available in ZeroNet documentation. You must have a site's address and a private key.
You can then clone or fork this repository and install dependencies. It already contains an example site and code with ZeroFrame API.
$ git clone https://github.com/filips123/ZeroTemplate.git my-new-site
…
Top comments (0)