BK Loot. =)
https://github.com/bklick/bk-loot
Right now it is only gemstones, but later today or tomorrow I am planning to add a system of generating random magic items (like OG Diablo and Diablo II magic and rare items) as well as metals and a few other loot items.
It is meant to be scaffolding for my crafting system.
Thank you so much!