From b7adee14c95e69b19191238e988d1ba1931c366c Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 22 Feb 2022 22:12:25 -0500 Subject: [PATCH] start onion PR campaign project --- main.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index abf1253..6072d0d 100644 --- a/main.go +++ b/main.go @@ -82,8 +82,16 @@ var ( clearnet = flag.Bool("clearnet", false, "Use clearnet (no Tor or I2P)") profile = flag.String("profile", "", "use a custom profile path, normally blank") help = flag.Bool("help", false, "Print help") - //mirror = flag.String("mirror", "http://dist.torproject.i2p/torbrowser/", "Mirror to use") + /* TODO: Hash sometimes doesn't match when downloading from this mirror. Probably due to latency + between updates. Know for sure why before enabling it.*/ + //mirror = flag.String("mirror", "http://dist.torproject.i2p/torbrowser/", "Mirror to use(I2P)") + /* TODO: This is a clearnet mirror which was originally used by default. Since this is intended as + an I2P browser configurer, and we guarantee the availability of the HTTP proxy by starting our own + if one is unavailable, we download over I2P instead. This is pretty fast these days really, but for + 77 or so MB it's noticably delayed still. In "clearnet" modes, it might make sense to default to + this mirror instead of the I2P one, or maybe offer a convenience option for just the download.*/ mirror = flag.String("mirror", "http://dist.torproject.org/torbrowser/", "Mirror to use") + /*onion = flag.Bool("onion", false, "Serve an onion site which shows some I2P propaganda, magnet links, your I2P mirror URL if configured")*/ torrent = flag.Bool("torrent", tbget.TorrentReady(), "Create a torrent of the downloaded files and seed it over I2P using an Open Tracker") /*ptop = flag.Bool("p2p", false, "Use bittorrent over I2P to download the initial copy of Tor Browser")*/