bypass-webproxy

command module
v0.0.0-...-5b23f9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2019 License: GPL-3.0 Imports: 16 Imported by: 0

README

bypass-webproxy Build Status Go Report Card

A simple webproxy written in Go that uses Goquery to parse and modify proxied HTML pages so that links, images, and other resources are fed back through the proxy. Bypass also serves static files.

Dependencies

Building

Install Go and set the $GOPATH environment variable.

Run the following commands (assumes that you're using BASH):

  1. $ go get github.com/pietroglyph/bypass-webproxy
  2. $ cd $GOPATH/src/github.com/pietroglyph/bypass-webproxy
  3. $ go get -d ./...
  4. $ go install

Usage

With the defualt arguments, your working directory when running Bypass needs to contain a directory called pub, if you want to have a working web interface. You probably want the pub folder in Bypass' source directory.

The following should get Bypass running if you've already built it:

  1. $ cd $GOPATH/src/github.com/pietroglyph/bypass-webproxy
  2. $ $GOPATH/bin/bypass-webproxy
  3. Open http://localhost:8000 in your favorite browser

To see all the possible arguments type $ $GOPATH/bin/bypass-webproxy -h.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL