Caching proxy which transparently downloads photos from popular photo services into local storage
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
cachepix
cachers
common
config
fetchers
.gitignore
Backbone
Dockerfile
LICENSE
README.md
docker-compose.yml
docker-run.sh
glide.lock
glide.yaml
main.go

README.md

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 .