Hotshots automatically uploads photos from remote cameras to a server, allowing news organization editors or event photographers to quickly curate and share content in real-time through social media.
You will need to install libgphoto2. On macOS with Homebrew, this can be done with brew install libgphoto2
.
go get github.com/kochman/hotshots
go get -u github.com/kardianos/govendor
cd $GOPATH/src/github.com/kochman/hotshots
govendor sync
go build -i
./hotshots -h
Hotshots has a Docker image for easy deployment of the server. It expects a volume to be mounted into the container at /var/hotshots
so that it can persist its data.
An example command that will run the Docker image and have it listen on the host's port 80:
docker run -p 80:8000 -v hotshots:/var/hotshots --name hotshots -d sidney/hotshots