Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That is really cool! ;)

I didn't realize that this was a use-case anyone was interested in, but it sort of makes sense. I've added a parameter you can pass to RH.org to deal with the gravatar pull on my side, so you don't have to.

This adds a bit of serverload, since I need to make a bunch of requests, but it's not THAT bad.

http://robohash.org/colin@sq7.org?gravatar=yes

If you pass gravatar=yes, it will make a pull to the gravatar URL for that address. If something exists there that isn't the default, it will issue a 301 over to the site.

Otherwise, it will return the robohash you requested. It also passes the size param over to Gravatar, just to be nice ;)



Gravatar uses hashes for privacy so the email addresses themselves do not have to be transmitted.

To maintain email privacy, you could use a straight pass-through when using Gravatar. In this case, your URL could look like:

http://robohash.org/620050a4db5104bae758cd75171d64ca?gravata...





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: