Inspiration

We were inspired to build this because we saw that platforms other than GitHub sponsors offered something similar, but GitHub sponsors did not. We also realized that this could be expanded to other platforms such as cryptocurrency or patreon, and become much more extensible than similar projects.

What it does

Sponsor credits provides an easy way to give credit to your GitHub sponsors in a README file or web page, with just an image link.

How we built it

We built this project using Node JS with the express.js framework. We used a library called sharp for cropping & resizing images. We also used GitHub's GraphQL database to get all the GitHub sponsors data.

Challenges we ran into

Embedding SVGs into README files proved slightly more difficult than we expected, because we were using features that are only available in HTML, not svg. This took quite a while to resolve, but in the end it created a more functional product than before.

Accomplishments that we're proud of

We're proud of creating something in under 36 hours that is a viable project and has a large potential to be useful to many developers. This being our first hackathon, we were able to create a refined projected within the given time slot.

What we learned

We learned about Node JS and working with modern Javascript. We also learned about SVGs, image manipulation, and base64 encoding / decoding.

What's next for Sponsor Credit

We plan on adding support for more platforms, making it much more customizable, and making it more stable and efficient.

Share this project:

Updates