The open-source Nametag.js as explained at http://tagos.io