Add contrib card#113
Open
YogeshJain96 wants to merge 1 commit into
Open
Conversation
YogeshJain96
force-pushed
the
contrib-card
branch
from
July 15, 2026 20:08
4a03505 to
f7657ac
Compare
YogeshJain96
force-pushed
the
contrib-card
branch
from
July 16, 2026 04:28
f7657ac to
3907a4f
Compare
YogeshJain96
marked this pull request as ready for review
July 16, 2026 06:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Here is a little idea to generate a shareable contributor card, inspired by https://contribcard.cncf.io/ and using commitfest.postgresql.org as the data source. Would love your thoughts and feedbacks on this.
Local Test
Once we run the dev server, we can generate shareable stats card like:
Files changed
pgcommitfest/urls.pypgcommitfest/commitfest/views.pycontrib_card,contrib_card_lookup,contrib_card_statspgcommitfest/commitfest/templates/contrib_card.htmlpgcommitfest/commitfest/templates/base.htmlmedia/commitfest/logo.svgURLs
/contrib-card/contrib_card/contrib-card/<handle>contrib_card/contrib-card/lookup/?q=<text>contrib_card_lookup/contrib-card/stats/?id=<id>contrib_card_statsHow it works
/contrib-card/(blank) or/contrib-card/<handle>(pre-filled). Same Django page; the handle just lands in the input box.lookup/.stats/?id=.... Server aggregates that person's patches./contrib-card/<handle>URL; "Download PNG" renders the card to an image in the browser.One line: URL/typing → find user → fetch their stats → render card → share or download.
Data flow
Notes
lookup(text → id) thenstats(id → numbers).statsresponse, not user input./contrib-card/<handle>.html-to-imageCDN lib; the server never builds the image.