Jump to content

# ZeroNet

2 languages

- 日本語
- 中文（简体）

From ArchWiki

ZeroNet gives access to "open, free and uncensorable websites, using Bitcoin cryptography and the BitTorrent network".

Warning: Please exercise caution when utilizing this project. The original repository appears to be abandoned, and its vulnerabilities remain unresolved. For more information, please refer to the Discussions section. Use any forks at your own risk.

## Installation

Install the zeronetAUR package.

The latest development version is also available in the zeronet-gitAUR package

## Configuration

### Starting

To start ZeroNet start/enable `zeronet.service`.

### Tor

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

    # usermod -a -G tor zeronet

Append or edit the following options in `/etc/tor/torrc`:

    /etc/tor/torrc

    ControlPort 9051
    DataDirectoryGroupReadable 1
    CacheDirectoryGroupReadable 1
    CookieAuthentication 1
    CookieAuthFileGroupReadable 1
    CookieAuthFile /var/lib/tor/control_auth_cookie

You may also want to start/enable `tor.service`.

Check the Tor file permissions:

    # stat -c %a /var/lib/tor

This should print `750`. if not, run

    # chmod 0750 /var/lib/tor

To force all ZeroNet connections through Tor, append to your `/etc/zeronet.conf` file

    /etc/zeronet.conf

    tor = always

## Creating ZeroNet sites

All operations, including editing ZeroNet site files, should be done as user `zeronet`. Use `--config_file` to specify the configuration file. `/etc/zeronet.conf` use `/var/lib/zeronet` as data directory by default. For example:

    [zeronet]$ python zeronet.py --config_file /etc/zeronet.conf

All sites you create will have their initial data folder setup in `/var/lib/zeronet/address`. For more information on how to create a Zite, please follow the guidelines on the ZeroNet FAQ.

## See also

- Official ZeroNet website
- ZeroNet - Read the Docs

Category:

- Internet applications