Woof. It involved some AppleScripting, shell scripting, and some ugliness due to RayCast not wanting to inherit my login shell environment (circumventing rbenv to run imgup), but I finally got it:

  • Pick an image in photos
  • Fire off the action in RayCast
  • Select a snippet format of `org` or `markdown`
  • Provide an alt tag
  • Get a copy/pasteable snippet back from imgup I can drop into the blog

I have a matching one for a selected file in the Finder.

Now I just need to go take pictures.