Comment

Comment by e1ven

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/[email protected]?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 ;)

parent e1ven 15 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton