wrp/README.md

46 lines
2.9 KiB
Markdown
Raw Normal View History

# WRP - Web Rendering Proxy
2019-06-01 01:28:48 +00:00
2019-07-12 09:04:35 +00:00
A HTTP proxy server that allows to use historical and obsolete web browsers on the modern web. It works by rendering the web page in to a GIF image. It sends mouse clicks via ISMAP and keystrokes from a text box form input.
2019-01-08 01:04:07 +00:00
2019-06-04 09:20:43 +00:00
## Current Status
2019-05-30 09:04:25 +00:00
2019-07-12 21:28:26 +00:00
* This is a new reimplementation in GoLang/[ChromeDP](https://github.com/chromedp/chromedp). Python/Webkit being now deprecated.
2019-07-12 09:20:56 +00:00
* Beta but fully supported an maintained.
2019-07-12 21:28:26 +00:00
* Works as browser-in-browser. A real http proxy mode is being investigated. Check [issue #35](https://github.com/tenox7/wrp/issues/35) for updates.
2019-07-13 07:45:01 +00:00
* As of 4.1 supports clicking on non-link elements (eg. cookie warnings, dropdown menus, etc.) and sending keystrokes. Yes, you can login and use Gmail or play web based games from any old browser.
2019-05-27 23:37:19 +00:00
2019-06-05 08:42:17 +00:00
## Usage
2019-07-12 09:04:35 +00:00
1. [Download a WRP binary](https://github.com/tenox7/wrp/releases/) and run it on a machine that will become your WRP server.
2019-06-20 17:20:41 +00:00
2. Point your legacy browser to `http://address:port` of WRP server. Do not set or use it as a "Proxy Server" (yet).
2019-07-12 21:28:26 +00:00
3. Type a search string or a http/https URL and click GO.
2019-06-06 08:35:23 +00:00
4. Adjust your screen width/height/scale/#colors to fit in your old browser.
2019-07-12 09:04:35 +00:00
5. Scroll web page by clicking on the in-image scroll bar.
2019-07-13 07:45:01 +00:00
6. Send keystrokes by filling in K input box and pressing Go. You also have buttons for backspace, enter and arrow keys.
2019-06-05 08:42:17 +00:00
2019-07-12 09:20:56 +00:00
![Internet Explorer 1.5 doing Gmail](wrp.png)
2019-06-04 09:20:43 +00:00
## Flags
```
-l listen address:port, default :8080
-h headed mode, display browser window
-d chromedp debug logging
```
2019-07-13 08:23:34 +00:00
## History
2019-07-13 08:25:35 +00:00
* In 2014, version 1.0 started as a cgi-bin script, adaptation of `webkit2png.py` and `pcidade.py`, [blog post](https://virtuallyfun.com/2014/03/03/surfing-modern-web-with-ancient-browsers/).
* Later in 2014, version 2.0 became a stand alone http-proxy server, also support for both Linux/MacOS, [another post](https://virtuallyfun.com/wordpress/2014/03/11/web-rendering-proxy-update//).
2019-07-13 08:23:34 +00:00
* In 2016 the whole internet migrated to HTTPS/SSL/TLS and WRP largely stopped working. Python code became unmaintainable and mostly unportable (especially to Windows, even WSL).
* In 2019 WRP 3.0 has been rewritten in Golang/Chromedp as browser-in-browser instead of http proxy.
2019-07-13 08:31:24 +00:00
* Later in 2019, WRP 4.0 has been completely refactored to use mouse clicks instead of making imagemap of web links. Also in 4.1 added sending keystrokes in to web forms. You can now login to Gmail.
2019-06-06 23:46:40 +00:00
## Credits
2019-06-10 22:14:17 +00:00
* Uses [chromedp](https://github.com/chromedp), thanks to [mvdan](https://github.com/mvdan) for dealing with my issues
2019-06-18 21:46:19 +00:00
* Uses [go-quantize](https://github.com/ericpauley/go-quantize), thanks to [ericpauley](https://github.com/ericpauley) for developing the missing go quantizer
2019-06-10 22:14:17 +00:00
* Thanks to Jason Stevens of [Fun With Virtualization](https://virtuallyfun.com/) for graciously hosting my rumblings
2019-06-18 21:48:39 +00:00
## Legal Stuff
2019-06-18 21:49:32 +00:00
License: Apache 2.0
Copyright (c) 2013-2018 Antoni Sawicki
2019-06-18 21:48:39 +00:00
Copyright (c) 2019 Google LLC