diff --git a/Makefile b/Makefile index 8be649a..cc78f24 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,9 @@ all: linux freebsd openbsd macos windows rpi linux: GOOS=linux GOARCH=amd64 go build -a -o wrp-linux wrp.go +linux-ppc64le: + GOOS=linux GOARCH=ppc64le go build -a -o wrp-linux-ppc64le wrp.go + freebsd: GOOS=freebsd GOARCH=amd64 go build -a -o wrp-freebsd wrp.go diff --git a/README.md b/README.md index 48fa809..045434d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t ## Current Status * This is the new GoLang/ChdomeDP version. -* It's still lacking some features of the [older version](/old) (such as real http proxy mode and image manipulation) but far surpases it in terms of stability and usability. +* It's still lacking some features of the [older version](/old) (such as real http proxy mode and image manipulation) but far surpasses it in terms of stability and usability. * Currently works as browser-in-browser however work on http proxy mode is under way. * It's beta quality but I can actually fix and maintain the code. @@ -14,7 +14,7 @@ A HTTP proxy server that allows to use historical and obsolete web browsers on t 1. [Download a WRP binary](https://github.com/tenox7/wrp/releases) and run on a server/gateway. 2. Point your legacy browser to the IP address:port of WRP server. 3. Type a search string or a http/https URL and click Go. -4. Adjust your screen width/heigh/scale to fit in your old browser. +4. Adjust your screen width/height/scale to fit in your old browser. 5. For very very very old browsers such as Mosaic 2.x and IBM WebExplorer 1.x check the I checkbox to enable ISMAP mode. However this normally should not be needed. 6. Scroll web page by clicking Up/Down. To go to top enter 0 and click Go. diff --git a/wrp.go b/wrp.go index b7b7e76..d7fc95c 100644 --- a/wrp.go +++ b/wrp.go @@ -87,7 +87,7 @@ func pageServer(out http.ResponseWriter, req *http.Request) { if c < 2 || c > 256 { c = 256 } - log.Printf("%s Page Reqest for url=\"%s\" [%s]\n", req.RemoteAddr, u, req.URL.Path) + log.Printf("%s Page Request for url=\"%s\" [%s]\n", req.RemoteAddr, u, req.URL.Path) out.Header().Set("Content-Type", "text/html") fmt.Fprintf(out, "\n", version) fmt.Fprintf(out, "\nWRP %s\n\n", u) @@ -168,7 +168,7 @@ func capture(gourl string, w int64, h int64, s float64, co int, p int64, i bool, is := make([]Ismap, 0) var ion string - log.Printf("%s Processing Caputure Request for %s\n", c, gourl) + log.Printf("%s Processing Capture Request for %s\n", c, gourl) // Run ChromeDP Magic err := chromedp.Run(ctx,