image_service_cli/README.md
2025-07-13 10:13:51 +02:00

756 B

Image Service CLI

A simple tool to upload images to s3 and provide image service transformation urls.

Written in Clojure via Babashka. Interactive elements are powered by Gum. Uses a gum wrapper lib I write com.travisshears.gum-utils.

Commands

gen - Pick a recently uploaded image and generate a image service url with max dimension

index - Scrape s3 for images and add them to local db

Run dev

To run commands:

$ bb -m image-service-cli.main gen

Or to play around and call individual functions using the REPL:

$ rlwrap bb repl
user=> (require '[image-service-cli.index])
user=> (image-service-cli.index/run)
...