Creating a thumbshot service

I’d like to create my own thumbshots service. Does anyone know of any script that can accomplish this?