Skip to content

cnsuhao/gopee

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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
git push heroku master
rhc app create myproxy https://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-go-cart --from-code <forked-github-repo-url>
Your application 'myproxy' is now available.
  URL:        http://myproxy-gopee.rhcloud.com/
  SSH to:     <hash>@myproxy-gopee.rhcloud.com
  Git remote: ssh://<hash>@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 for pushing me to learn Go and introducing me to Heroku and OpenShift

About

☁️ Full-Fledged, Self-Hosted Web Proxy in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.4%
  • HTML 15.6%