Skip to content

smttl/goproxy

Repository files navigation

gopee

HTTP Web Proxy - Simple proxy service to access blocked websites

Demo

https://gopee.herokuapp.com/ (Terminated by Heroku)

or

http:https://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:https://myproxy-gopee.rhcloud.com/
  SSH to:     <hash>@myproxy-gopee.rhcloud.com
  Git remote: ssh:https://<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

Errata

  • Doesn't support anything which requires sessions / cookies / logging in, yet

  • Most AJAX requests don't work since the URLs are not rewritten

Why ?

To learn Golang

Credits

@Omie for pushing me to learn Go and introducing me to Heroku and OpenShift

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages