[FEAT] : Add shareable stats card with Twitter/X and LinkedIn share buttons
Problem Statement
I'm always frustrated when I want to show off my DevTrack stats to my network but there's no easy way to do it. Currently, users have no way to share their coding streak, PR merge rate, or weekly goal progress with others. Developers love showing their consistency publicly — LinkedIn posts, Twitter/X threads, README badges — but DevTrack has no sharing mechanism at all right now.
Proposed Solution
Add a "Share My Stats" button on the dashboard that lets users share their DevTrack profile in one click.
Phase 1 — Copy shareable link:
- A "Share Stats" button that copies the user's public profile URL to clipboard
- Shows "✓ Copied!" confirmation for 2 seconds then resets
Phase 2 — Social sharing buttons:
-
Twitter/X button that opens a pre-filled tweet: "🔥 My DevTrack stats: 📈 X day streak ✅ X% merge rate
🎯 Weekly goal X% complete Track your own coding pulse 👇 [link] #GitHub #DevTrack #GSSoC" -
LinkedIn button that opens LinkedIn share dialog with the profile URL
Phase 3 — Stats card image (stretch goal):
- Generate a downloadable PNG card showing the user's key stats (streak, contributions, merge rate, goal %) that can be attached to social posts directly
Files likely to be modified:
src/components/DashboardHeader.tsx— add share buttonssrc/app/dashboard/page.tsx— pass user stats to sharesrc/components/ShareStatsCard.tsx— new component
Why this matters: Sharing is the single biggest organic growth driver for developer tools. Every time a user shares their DevTrack stats, it introduces DevTrack to their entire network. This directly helps the project grow its contributor and user base.
Feature Area
Dashboard
Alternatives Considered
I considered just adding a "Copy profile URL" button without social sharing, but that feels incomplete and misses the viral growth opportunity. I also considered making the stats card the only feature, but a phased approach (copy link → social buttons → image card) means Phase 1 can ship quickly as a small PR while Phase 2 and 3 follow as improvements.
Acceptance Criteria
Additional Context
No response
Thanks for opening your first issue on DevTrack! 🎉
A maintainer will take a look shortly. In the meantime:
- Check the Contributing guide if you are planning to work on this
- Browse Discussions for Q&A and ideas
- Look for
good first issueif you want somewhere to start
If you find DevTrack useful, a ⭐ star on the repo is always appreciated — it helps the project reach more developers!
Hi @Priyanshu-byte-coder, I'd like to work on this under GSSoC 2025. Can I be assigned? I'm planning to start with Phase 1 (copy link button) and Phase 2 (Twitter/X + LinkedIn share) in the first PR.
Assigned to @111-Vaishali! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!
Hi I am a GSSoC 2026 contributor and would like to work on this.
Reassigning to @ridhi402 — this issue had no PR and no activity for over a month, so it's going to the next person who asked for it (first come, first served).
@ridhi402 it's yours: please open a PR within 7 days or it'll be released again. If you're no longer interested, just say so and I'll pass it on.
Hey @ridhi402 — this issue was assigned 7 days ago with no PR opened. Unassigning so others can pick it up.
Still working on it? Drop a comment and request re-assignment.
I would like to contribute on this issue under gssoc'26
Assigned to @yachikadev! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!
Hey @yachikadev — this issue was assigned 7 days ago with no PR opened. Unassigning so others can pick it up.
Still working on it? Drop a comment and request re-assignment.
Done: every profile has a shareable rank card with X and LinkedIn share buttons.
✅ Closed as completed!
If DevTrack has been useful, a ⭐ star on the repo helps the project grow and reach more developers.