add a page for the NSIS JPackage+Profile+I2P installer

This commit is contained in:
idk
2021-09-15 15:02:54 -04:00
parent f99040713d
commit 0839c69b73
3 changed files with 29 additions and 12 deletions

View File

@ -89,6 +89,15 @@ def downloads_debian():
def downloads_windows(): def downloads_windows():
return render_template('downloads/windows.html') return render_template('downloads/windows.html')
# AIO-Windows-specific page
def downloads_nsis():
# TODO: read mirror list or list of available files
if request.headers.get('X-I2P-Desthash') and not request.headers.get('X-Forwarded-Server'):
def_mirror = DEFAULT_I2P_MIRROR
else:
def_mirror = DEFAULT_MIRROR
return render_template('downloads/nsis.html', def_mirror=def_mirror)
# Docker-specific page # Docker-specific page
def downloads_docker(): def downloads_docker():
return render_template('downloads/docker.html') return render_template('downloads/docker.html')

View File

@ -3,7 +3,17 @@
{% block title %}Firefox Profile{% endblock %} {% block title %}Firefox Profile{% endblock %}
{% block content %} {% block content %}
<h1>{{ _('I2P Firefox Browser Profile') }}</h1> <h1>{{ _('I2P Easy Install Bundle(Beta)') }}</h1>
<p>{% trans -%}
The I2P Firefox Browser Profile has been expanded into the new I2P Easy Install
Bundle, which is in Beta. If you already have an I2P Router installed, it is
still safe to use this installer to configure your I2P Browser. If you do not
have an I2P router installed, then you do not need to install I2P. This package
will install I2P at the same time it installs the browser profile. This page
has been kept to document the motivations and design of the included Firefox
profile.
{%- endtrans %}</p>
<h2>{{ _('I2P Firefox Browser Profile') }}</h2>
<p>{% trans -%} <p>{% trans -%}
Now that you have joined the I2P network, you will want to see I2P Sites and and Now that you have joined the I2P network, you will want to see I2P Sites and and
other content that is hosted on the network. The Firefox browser profile is other content that is hosted on the network. The Firefox browser profile is
@ -21,12 +31,9 @@ some browser features, this also reduces the attack surface available to outside
This keeps you safer while browsing the Invisible Web. This keeps you safer while browsing the Invisible Web.
{%- endtrans %}</p> {%- endtrans %}</p>
<h2>{{ _('How do I use it?') }}</h2> <h2>{{ _('How do I use it?') }}</h2>
<p>{% trans guideurl=get_url('downloads_windows'), postfilename=pver('I2P-Profile-Installer-%s.exe') -%} <p>{% trans firefox="https://www.mozilla.org/", postfilename=pver('I2P-Profile-Installer-%s.exe') -%}
First, download and install <a href="{{ guideurl }}">I2P for Windows</a>. Then, First, download and install <a href="{{ firefox }}">Firefox</a>, then,
download the Firefox browser profile using the green button just below, and run just download and install <a href="{{ postfilename }}">this installer</a>.
the <code>{{ postfilename }}</code> by double-clicking it. Finally, start Firefox
with the preconfigured Firefox profile using the shortcut on the desktop or in
the start menu.
{%- endtrans %}</p> {%- endtrans %}</p>
{%- set name = 'Windows' -%} {%- set name = 'Windows' -%}
@ -84,11 +91,11 @@ option when filing the issue.
<h2>{{ _('How is it different from Tor Browser?') }}</h2> <h2>{{ _('How is it different from Tor Browser?') }}</h2>
<p>{% trans -%} <p>{% trans -%}
This is not a fork of Firefox. Instead, it is a browser profile with pre-configured This is not a fork of Firefox. Instead, it is a browser profile with pre-configured
settings. That means that it requires Firefox(Or Tor Browser) to be installed settings, combined with an I2P router and some launcher scripts. That means that
before you can use it. This is for security reasons, it is important that you are it requires Firefox(Or Tor Browser) to be installed before you can use it. This
able to recieve reliable updates from a trustworthy vendor. As much as we would is for security reasons, it is important that you are able to recieve reliable
like to, we can't maintain a whole Firefox fork and provide timely updates for updates from a trustworthy vendor. As much as we would like to, we can't
it right now. maintain a whole Firefox fork and provide timely updates for it right now.
{%- endtrans %}</p> {%- endtrans %}</p>
<p>{% trans -%} <p>{% trans -%}
I2P routers are designed to have long uptimes, and so unlike Tor Browser, the I2P routers are designed to have long uptimes, and so unlike Tor Browser, the

View File

@ -92,6 +92,7 @@ url('/<lang:lang>/download', 'downloads.downloads_list')
url('/<lang:lang>/download/debian', 'downloads.downloads_debian') url('/<lang:lang>/download/debian', 'downloads.downloads_debian')
url('/<lang:lang>/download/docker', 'downloads.downloads_docker') url('/<lang:lang>/download/docker', 'downloads.downloads_docker')
url('/<lang:lang>/download/windows', 'downloads.downloads_windows') url('/<lang:lang>/download/windows', 'downloads.downloads_windows')
url('/<lang:lang>/download/nsis', 'downloads.downloads_nsis')
url('/<lang:lang>/download/firefox', 'downloads.downloads_firefox') url('/<lang:lang>/download/firefox', 'downloads.downloads_firefox')
url('/<lang:lang>/download/config', 'downloads.downloads_config') url('/<lang:lang>/download/config', 'downloads.downloads_config')
url('/<lang:lang>/download/lab', 'downloads.downloads_lab') url('/<lang:lang>/download/lab', 'downloads.downloads_lab')