ZeroNet - ArchWiki

# ZeroNet

From ZeroNet:

  Open, free and uncensorable websites, using Bitcoin cryptography and BitTorrent network

## Installation

ZeroNet is available in the AUR via zeronetAUR.

The latest development version is also available in the AUR via zeronet-gitAUR.

## Configuration

### Starting

To start ZeroNet start/enable `zeronet.service`. For example, use these commands to start ZeroNet and view status and logging.

    # systemctl start zeronet
    # systemctl status zeronet
    # journalctl -u zeronet

### Tor

By default, ZeroNet uses clearnet and Tor if available. To enable Tor support you first neet to install Tor via tor. Then, give ZeroNet access to control Tor using the following instructions.

    # usermod -a -G tor zeronet
    # mkdir -m 750 /var/lib/tor-auth && chown tor:tor /var/lib/tor-auth

Add the following lines to `/etc/tor/torrc`:

    CookieAuthentication 1
    CookieAuthFileGroupReadable 1
    CookieAuthFile /var/lib/tor-auth/control_auth_cookie

## Creating ZeroNet sites

All operations, including editing ZeroNet site files, should be done as user `zeronet` and config must be passed for data directory to be selected to `/var/lib/zeronet`. For example:

    $ sudo -u zeronet python2 zeronet.py --config_file /etc/zeronet.conf

Or

    $ sudo su - zeronet
    $ cd /opt/zeronet
    $ python2 zeronet.py --config_file /etc/zeronet.conf

## See also

- Official ZeroNet website
- ZeroNet - Read the Docs

Category:

- Internet applications