Hey,
A while ago, I created a very simple extension, to create ready-to-use DataURIs from small files. It was very obscure, but today my work colleague motivated me to clean it and share with greater public, which I'm doing. It also includes optimization scripts for images.
Instructions and git repository are here: https://github.com/ajgon/alfred2-datauri
Extension itself: https://github.com/ajgon/alfred2-datauri/blob/master/DataURIscheme.alfredworkflow?raw=true
I really hope, that all webdevs out there will enjoy it
Cheers!