I'm in the process of moving my site.
It's still a work in progress. Please excuse the mess and broken links.
Trigger An External Process When A New Tab Is Made In iTerm2
TODO: Pull subtitle into page object
This is what I use for iterm-image-cycler.
It's a bare bones script for iTerm2 two that triggers and external process.