Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support repository card's Social Preview #3144

Open
SpenserCai opened this issue Aug 25, 2023 · 6 comments · May be fixed by #3438
Open

Support repository card's Social Preview #3144

SpenserCai opened this issue Aug 25, 2023 · 6 comments · May be fixed by #3438
Labels
enhancement New feature or request. hacktoberfest

Comments

@SpenserCai
Copy link

Is your feature request related to a problem? Please describe.

when we share repo we wil see like:
image
the picture is Social Preview image so "github-readme-stats" may be can support this style's repo card. may like this:
image

Describe the solution you'd like

Keep the original style while adding social preview images

Describe alternatives you've considered

No response

Additional context

No response

@SpenserCai SpenserCai added the enhancement New feature or request. label Aug 25, 2023
@rickstaa
Copy link
Collaborator

Hey @SpenserCai,

We genuinely appreciate your feature request! 🚀 Being a community project, we love getting input like yours. We're a small team, and to prioritize, we rely on upvotes 👍🏻 to gauge interest (check out our system here).

Your suggestions and PRs are vital, and if they garner enough support, we're all in to review and merge them into the main branch. Thanks for contributing to the awesomeness of our project! ❤️‍🔥

@rickstaa
Copy link
Collaborator

I see @qwerty541 already assigned the hacktoberfest label, so if you or other people want, they can create an accompanying pull request.

@bikrantjajware
Copy link

Hello @rickstaa ,
I've got a solution for this issue, though its not as good looking as image in the issue. To make it like in the issue, we may have to completely revamp the Card class.
Here's how Card would look,

After

image

Before

image

@rickstaa
Copy link
Collaborator

rickstaa commented Oct 26, 2023

may be can support this style's repo card. may like this:

@bikrantjajware Appreciate your input! Your suggestion seems quite valuable—consider adding it as a feature under the image_header flag 👍🏻. Feel free to initiate a pull request if you're up for it. By the way, have you figured out how to fetch the GitHub header? My hunch is that the Discord images are sourced from the openGraphImageUrl property in the repository object.

@bikrantjajware
Copy link

Thank you, i'll start on it

@bikrantjajware
Copy link

Hello @rickstaa , linked a PR please review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request. hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants