Closed vadim-hleif closed 6 years ago
Aha, so this is why you want to thumbnail the profile pictures:
@vadim-hleif we should switch to using this URL format for github avatars:
https://github.com/osterman.png?size=150
e.g.
via: https://stackoverflow.com/questions/22932422/get-github-avatar-from-email-or-name
You can generate the contributors output this way:
# write JSON
curl https://api.github.com/repos/cloudposse/bastion/contributors | \
jq '.[] | { github: .login, homepage: .html_url, avatar: ("https://github.com/" + .login + ".png?size=150"), name: "" }' > contributors.json
# convert to YAML
yq read contributors.json
what
README.yaml
why