Closed C0DK closed 3 years ago
Hacktoberfest profiles are private by design, to avoid leaking any private information etc. If we want to link to contributions, the best thing to do would be to link to a GitHub search for a user's PRs. (Note, we'd need a different solution if we move to multi-provider)
As for badge design, I have been talking with the folks over at shields.io at this -- I don't think we should roll our own custom badge service, we should let them handle that as they're the experts. However, there is a limitation on their end currently with custom images on badges and our logo is too large in bytes for them to support at present.
After experimenting with shields.io, I was able to include the Hacktoberfest logo into the badge by using an optimized SVG (prepared with SVGOMG) as the data, rather than PNG. I ungrouped the SVG elements before optimization to cut down on space further. The size of the encoded base64 data is 5684 bytes, well under the size limitation of 8192 bytes for total header size. The badge can be further tweaked if needed using additional URL parameters.
You should be able to use the icon on the dedicated Hacktoberfest badge that shields has: https://img.shields.io/github/hacktoberfest/2020/digitalocean/hacktoberfest
My point would simply be to actually highlight exactly what my contributions were, be it opt-in, but i guess a github query is decent for doing exactly that. I'm, however, not able to figure out how i search for only pullrequests on all of github by a specific user. Any ideas (or examples) would be appreciated.
Other than that, i like the example shown by @staceybellerose - and i might use that if i find a satisfactory link to supply.
I'm, however, not able to figure out how i search for only pull requests on all of github by a specific user. Any ideas (or examples) would be appreciated.
Hey @C0DK, you can follow the steps to get all of your pull requests on Github
is:pr author:<your username> archived:false is:public
I hope it helps 👍
Oh. My. God. I think i love you.
As this is out of scope for the Hacktoberfest app itself, I will close the issue. But, it sounds like some great external solutions have been provided above.
Feature description
I'd love to flash my hacktoberfest successes on various social media (maybe my github personal page) via a badge i.e
(just possibliy better styled), with a link to my contributions. Currently i can only flash my proud success physically, but only a few non-virtual connections of mine, know what Hacktoberfest is, so that is a bit moot.