Skip to content

Caching proxy which transparently downloads photos from popular photo services into local storage

License

Notifications You must be signed in to change notification settings

getspine/cachepix

Repository files navigation

Cachepix

Caching proxy designed to retrieve photos from popular photo services and store them locally.

Getting Started

Deploying to Spine

  1. Sign up for a Spine account if you do not yet have one.
  2. Follow the CLI setup instructions provided within the signup e-mail.
  3. Run spine deploy.
  4. Update all your links to point to http://cachepix-<your Spine username>.spi.ne/<URL of photo, without http://>

Developer Instructions

Building/Running with docker-compose

  1. Ensure that docker-compose is installed on your system.
  2. Run docker-compose up to build Cachepix; once completed, it will listen on port 12345.

Building Locally

  1. Create a directory for your $GOPATH and set it, if one does not yet exist.
mkdir ~/go
export GOPATH=~/go
  1. Create a namespaced symlink for the current project in your $GOPATH.
mkdir -p "$GOPATH/src/github.com/ssalevan"
ln -s "$(pwd)" "$GOPATH/src/github.com/ssalevan/cachepix"
  1. Install Glide:
# brew install glide

or for the adventurous:

curl https://glide.sh/get | sh
  1. Install all dependencies:
# glide install
  1. Give it a build:
# go build .

About

Caching proxy which transparently downloads photos from popular photo services into local storage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published