Simple implementation of the gyazo server in golang that uploads screenshots to a bucket (AWS, DO Spaces, etc..) using minio.
Because why not.
The configuration of the server is done via env variables these are:
BKT_HOST
: Your bucket host provider ex: fra1.digitaloceanspaces.com
BKT_ACCESS_KEY
: Your bucket access key
BKT_SECRET_ACCESS_KEY
: Your bucket access secret
BKT_SPACE_DOMAIN
: The domain where your files will be served from.
BKT_NAME
: The name of the bucket
A docker image and kubernetes deployment sample are provided in Dockerfile
and deployment.yaml
.
Or you can use it directly from github docker registry
docker.pkg.github.com/imhugofonseca/go-gyazo/gyazo:latest
After having the server up and running you must configure your gyazo app to use the server. You can do so by recompiling your own, check gyazo repository.
Just for clot here is an example screenshot