Used by obsidian-images-to-gist plugin to serve images.
-
The simplest way to run the server locally is using docker
docker run -d -p 5000:5000 ghcr.io/singh-inder/images-to-gist-server:latest -
Or you can clone the repo, install dependencies and run
go run main.go. Server has been tested withgoversion defined in Dockerfile. By default, server runs on PORT5000, but you can override it by creating a.envfile in the project root and add PORT variablePORT=8080
Whichever method you use to run the server locally, make sure to update the image server url inside images-to-gist plugin settings
-
Caddy serves as the reverse proxy in the production environment.
The following environment variables are required for Caddy:
# The domain name that the Caddy server should listen to (e.g., images.com). same as nginx server_name # Defaults to http://localhost DOMAIN=example.com # The email address to be registered with Let's Encrypt for obtaining SSL certificates. CERT_EMAIL=
-
Utilize Docker Compose to manage and run containers on your production server.
docker compose up -d -
Make sure to update the image server url inside images-to-gist plugin settings
If you'd like to help cover the costs of hosting the image server or fuel my late-night coding sessions with more coffee:

