rllola / ZeronetBrowser

An attempt to create a dedicated browser for ZeroNet using PyQt5
17 stars 15 forks source link

Added use_internal_zeronet and zeronet_base_url config parameters #112

Closed krzotr closed 5 years ago

krzotr commented 5 years ago

Hi,

You can run Zeronet and ZeronetBrowser separately. I added option use_internal_zeronet. Default value is True. If the value is False the ZeroNet process is not started. I added this option because in most of cases I use port forwarding via SSH, so I do not need to run ZeroNet client on my computer. The next reason listed below

The Second option is zeronet_base_url. When you set to http://0net.io/ in config file you can browse ZeroNet using http://0net.io ZeroNet Proxy Server.

Config example:

[global]
use_internal_zeronet=False
zeronet_base_url=http://0net.io

BTY. This Pull requests includes #111

rllola commented 5 years ago

It looks great. Could you resolve the conflicts ? I have merged the other one first and only saw this after.

krzotr commented 5 years ago

Conflicts resolved