tor2web / Tor2web

Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
https://www.tor2web.org
GNU Affero General Public License v3.0
700 stars 177 forks source link

Improve usability and performance of translation mode: statically configured files #118

Open fpietrosanti opened 11 years ago

fpietrosanti commented 11 years ago

Translation mode of Tor2web is for use by website that are statically configured with a public hostname over the internet and a tor hidden service over the darknet.

The content and structure of those websites is known to the Tor2web admin.

This ticket goal is to provide the admin a specific way to strongly improve the performance and usability of the Tor2web proxy by having Tor2web serve from an offline statically configured a set of files.

The tor2web admin must be able to configure a set of URL/PATH that are statically mapped to local files, overriding the remote URL/PATH.

With this approach, applications such as GlobaLeaks, may have an immediate bootstrap process with stronger performance.

For example the "index.html", "css and js file" could be downloaded offline (with an external process like a cronjob) in a directory and served from tor2web rather than from a globaleaks node.

This ticket is to implement this feature and to provide a default example configuration template to bootstrap globaleaks from local filesystem.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14806633-improve-usability-and-performance-of-translation-mode-statically-configured-files?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F318575&utm_medium=issues&utm_source=github).
fpietrosanti commented 11 years ago

This could also specifically support globaleaks integration, by periodically downloading a local cache of all the files required by GLClient to properly load up.