Dear Mitch @Helvetosaur
there are already some similar tools here:
maybe @gankeyu can answer your question.
best - tom