hsmade / gogallery

Photo gallery written in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gogallery

Photo gallery written in Go

Development

  • install KinD
  • create a KinD cluster
kind create cluster --name gogallery --config kind.config # for M1 add: --image rossgeorgiev/kind-node-arm64:v1.20.0
  • setup ingress
kubectl apply --filename https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml

kubectl wait --namespace ingress-nginx \
 --for=condition=ready pod \
 --selector=app.kubernetes.io/component=controller \
 --timeout=90s
  • start skaffold
skaffold dev
  • remove the KinD cluster
kind delete cluster --name gogallery

Todo

  • finalise tests
  • recreate thumbs.bin when dir has changed / is newer
  • stream data/info to user when creating thumb
  • make sure the tree doesn't get squashed
  • differentiate in response to the user between loading and creating a thumbs file
  • make thumbnail creation less heavy on the system load (iowait)

About

Photo gallery written in Go

License:MIT License


Languages

Language:Go 73.5%Language:JavaScript 19.9%Language:HTML 3.4%Language:CSS 3.2%