https://github.com/mame82/duck2spark
By the way, the repo author has done a lot of work to develop a whole USB attack platform based on Raspberry Pi 0, which really deserve some interests:
https://github.com/mame82/P4wnP1