{"version":"1.0","provider_name":"Hatena Blog","published":"2019-01-16 12:57:20","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokamuuu.hatenablog.com%2Fentry%2F2019%2F01%2F16%2F125720\" title=\"Node.js \u3067 Gravatar \u306e\u753b\u50cf\u3092\u53d6\u5f97\u3059\u308b - \u3042\u3044\u3064\u306e\u65e5\u8a8c\u03b2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"Gravatar \u306f Email \u30a2\u30c9\u30ec\u30b9\u3068\u81ea\u8eab\u306b\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u753b\u50cf\u3092\u7d50\u3073\u3064\u3051\u308b\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002 const crypto = require('crypto') const md5 = crypto.createHash('md5') const email = \"your.email@gmail.com\" const hash = md5.update(email.toLowerCase().trim(), 'binary').digest('hex') console.log(`https://ja.gravatar.com/avatar/${hash}`) \u3068\u3044\u3046\u30e1\u30e2\u66f8\u304d\u3067\u3059\u3002","author_url":"https://blog.hatena.ne.jp/okamuuu/","url":"https://okamuuu.hatenablog.com/entry/2019/01/16/125720","height":"190","blog_title":"\u3042\u3044\u3064\u306e\u65e5\u8a8c\u03b2","image_url":null,"author_name":"okamuuu","width":"100%","categories":[],"provider_url":"https://hatena.blog","title":"Node.js \u3067 Gravatar \u306e\u753b\u50cf\u3092\u53d6\u5f97\u3059\u308b","blog_url":"https://okamuuu.hatenablog.com/"}