jsonresume / registry-functions

DEPRECATED - SEE MONO REPO -
https://github.com/jsonresume/jsonresume.org
18 stars 21 forks source link

feature: Add gravatar like endpoint #3

Open pke opened 4 years ago

pke commented 4 years ago

This idea to fetch gists is genius (at least for us techies that have a github repo)!

How about making the registry more accessible by additionally allowing a gravatar like request endpoint. Initially it could also use MD5 for reasons to look similar to gravatar, however I'd favour SHA256 (significant 7 chars maybe only).

Request Response
GET /resume/<email-hash>[.json] resume.json
GET /resume/<email-hash>.html?theme= same as registry today returns
GET /resume/<email-hash>.qr SVG QR-Code for use in img tags
GET /resume/<email-hash>.md Markdown rendition
thomasdavis commented 2 years ago

The old hosting use to support this, let's bring it back, labelled as high priority.

I imagine that qr should just link to the registry hosted url?

pke commented 2 years ago

I imagine that qr should just link to the registry hosted url?

yeah, why not.

thomasdavis commented 2 years ago

Initial work on qr code -> https://registry.jsonresume.org/qr/thomasdavis

Will change it over to .qr first chance I get

pke commented 2 years ago

works as intended! ;) Great.

thomasdavis commented 2 years ago

It feels a bit weird using .qr then returning an image, how about registry.jsonresume.org/username.qr.png?

thomasdavis commented 2 years ago

Updated to .qr.png format and added to https://jsonresume.org/getting-started/