devtrack icon indicating copy to clipboard operation
devtrack copied to clipboard

[FEAT] Add GitHub Sponsors integration — show sponsorship status on public profile

Open Priyanshu-byte-coder opened this issue 6 months ago • 7 comments

Summary

Developers who use GitHub Sponsors want to surface their sponsorship on their DevTrack public profile to encourage supporters.

Expected Behaviour

  • If the user has GitHub Sponsors enabled, show a 'Sponsor me' button on their public profile
  • Show current sponsor count (if public) or just the sponsor link

Implementation Notes

  • GitHub REST: GET /users/{username} includes has_sponsor_listing field
  • GET /users/{username}/sponsors returns sponsor list (if public)
  • Add a sponsor link button: href='https://github.com/sponsors/{username}'
  • Use a heart icon; style with pink/red accent

GSSoC Info

  • Difficulty: Intermediate — 35 pts
  • Area: Public Profile / Integration

Priyanshu-byte-coder avatar May 17 '26 05:05 Priyanshu-byte-coder

Hi @Priyanshu-byte-coder

I’m contributing under GSSoC’26 and I would like to work on this issue.

I understand that the feature involves integrating GitHub Sponsors data into public developer profiles by detecting sponsor availability, displaying sponsor-related profile information, and adding a public sponsor action button with proper UI integration. I’ll ensure the implementation remains clean, responsive, and aligned with the current public profile experience.

I’ll also carefully handle the GitHub API integration, conditional rendering logic, and user privacy considerations while maintaining efficient data fetching and presentation.

Looking forward to contributing to DevTrack.

srinidhi-2006-bit avatar May 17 '26 06:05 srinidhi-2006-bit

Hi @Priyanshu-byte-coder, I'd like to work on this issue. I'll fetch has_sponsor_listing from GET /users/{username}, conditionally render a heart icon 'Sponsor me' button linking to https://github.com/sponsors/{username}, and display the public sponsor count if available, styled with a pink/red accent. I have been actively contributing to this repo here are my open PRs:

PR for #246 (Badge URL encoding fix) PR for #241 (OpenAPI 3.1 Swagger docs) PR for #237 (SSE stream + GitHub webhook) PR for #242 (Supabase RLS)

Can you please assign it to me? I am a GSSoC 2026 contributor.

devendra-w avatar May 18 '26 07:05 devendra-w

Hi @Priyanshu-byte-coder, I’d like to work on this feature.

I understand that this involves integrating GitHub Sponsors data into the public profile by checking the user's sponsor listing status and displaying a “Sponsor me” button along with sponsor count if available.

I plan to fetch the required data using GitHub’s API, conditionally render the sponsor section based on availability, and ensure the UI aligns with the existing profile design.

I have experience working with API integrations and React UI, and I’d be happy to implement this.

Please assign this issue to me. Thanks!

Pooja-M-12 avatar May 18 '26 13:05 Pooja-M-12

Hi, I went through the issue and understood the requirements clearly. I’d like to work on implementing the requested changes and can start on it right away. Please assign this issue to me under GSSoC’26.

Almas1901 avatar May 18 '26 16:05 Almas1901

/assign

vaishnavi003-svg avatar Jul 09 '26 10:07 vaishnavi003-svg

Hey @Almas1901 — this issue was assigned a while back with no recent activity. Unassigning so it's available for Hacktoberfest contributors. Still working on it? Comment and we'll reassign you.

Priyanshu-byte-coder avatar Oct 14 '26 18:10 Priyanshu-byte-coder

Assigned to @Priyanshu-byte-coder! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

github-actions[bot] avatar Oct 14 '26 18:10 github-actions[bot]