Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madhurjain/gopee
:cloud: Full-Fledged, Self-Hosted Web Proxy in Go
https://github.com/madhurjain/gopee
go golang heroku openshift proxy web-proxy
Last synced: 1 day ago
JSON representation
:cloud: Full-Fledged, Self-Hosted Web Proxy in Go
- Host: GitHub
- URL: https://github.com/madhurjain/gopee
- Owner: madhurjain
- License: mit
- Created: 2014-12-30T20:14:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-24T07:36:15.000Z (over 9 years ago)
- Last Synced: 2025-01-15T10:54:52.204Z (8 days ago)
- Topics: go, golang, heroku, openshift, proxy, web-proxy
- Language: Go
- Homepage:
- Size: 344 KB
- Stars: 338
- Watchers: 22
- Forks: 124
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
gopee
-----HTTP Web Proxy - full-fledged, self-hosted proxy to access blocked websites
Demo
~~https://gopee.herokuapp.com/~~ (Terminated by Heroku)
or
http://go-gopee.rhcloud.com/
Deploying This Application
==========================- Fork this repo
- Update .godir to match your forked repo url
#### Deploy to [heroku](https://www.heroku.com/)
- Download and Setup Heroku Toolbelt https://toolbelt.heroku.com/
- Clone the forked repo locally and `cd gopee`
- Create a new Heroku app, telling it to use the [Go Heroku Buildpack](https://github.com/kr/heroku-buildpack-go) to build your Go code
```sh
heroku create -b https://github.com/kr/heroku-buildpack-go.git
``````
Creating polar-harbor-5778... done, stack is cedar-14
BUILDPACK_URL=https://github.com/kr/heroku-buildpack-go.git
https://polar-harbor-5778.herokuapp.com/ | https://git.heroku.com/polar-harbor-5778.git
Git remote heroku added
```- Push the code to Heroku
```sh
git push heroku master
```#### Deploy to [OpenShift by Red Hat](https://www.openshift.com/)
- Download and Setup OpenShift Client Tools (*rhc*) https://developers.openshift.com/en/managing-client-tools.html
- Create a new OpenShift application, telling it to use the [OpenShift Go Cartridge](https://github.com/smarterclayton/openshift-go-cart) to build your Go code and your forked github repo for Source
```sh
rhc app create myproxy https://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-go-cart --from-code
``````
Your application 'myproxy' is now available.
URL: http://myproxy-gopee.rhcloud.com/
SSH to: @myproxy-gopee.rhcloud.com
Git remote: ssh://@myproxy-gopee.rhcloud.com/~/git/myproxy.git/
```- Open the above URL in your browser
- Login to your OpenShift console and you should see an application created
## Features
- Most AJAX requests are proxied
- Supports Sessions, Cookies, Logging-In on most websites
## Errata
- GMail and YouTube don't work
## Why ?
- To learn Golang
- To create a simple to deploy yet powerful proxy
## Credits
[@Omie](https://github.com/Omie) for pushing me to learn Go and introducing me to Heroku and OpenShift