Skip to content

surma-dump/phrank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

phrank is a generic reverse proxy born out of the desire to build pure client-side apps accessing third party APIs. It is designed to be easily cloud-deployable.

Configuration

All configuration is done using command line flags.

Resources

Resources can be:

  • Another HTTP URL (i.e. http(s)://<Domain>/<Path>)
  • Local, static content (i.e. file://<Path>)

To define a map, just specifiy a --map flag for each resource that you use:

$ phrank --map "/api => https://api.twitter.com" \
         --map "/ => file://./static"

Usage & Deployment

My usual use-case is to fork this repository and deploy it to Heroku, dotCloud or any other PaaS that supports Go.

--- Version 2.0.0

About

Cloud-deployable generic reverse proxy

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages