anyone knows if there is a way to add a logo to a repository?
I'm experiencing a strange "social" sharing: someone on LinkedIn shares one of my repos, and the sharing message linking the repo shows my github profile picture... sounds strange, it would be better to have there a logo related to the project.
Solved! Solved! Go to Solution.
I have sett some free guide on the internet, where show you how you can fix your own logo. Then you can use that
logo as your Github profile picture. Do a google search.
While it is possible to add a logo to a GitHub profile, as far as I know one cannot add a logo to a repository - except by adding an image to the README file. The question was about repositories.
Interestingly, this page tops the search result for `github repo logo` which explains the intensity of this problem! I'm also facing the same issue as you, if I post a link to my github repo, my profilie picture appears as the featured image which is irrelevant and pointless.
This should be trivial to implement. For example, you can take a file like `logo.png` or `favicon.png` from the repo's root directory and make it as the featured image, isn't it? Gitlab does the same to the best of my knowledge.
Hoping this will be resolved soon my Github support!
Hi @prahladyeri ,
You can navigate to your repo > Settings > Options > and add an image under Social media preview. Good luck!
Ah indeed, this is documented in Customizing your repository's social media preview.
I have added a logo to one of my repositories. I'm not much in social networks. When I send an SMS with a link to the repository, no preview of any kind appears on Android. Is this very specific to some social networks? Where can I find documentation on the social media preview specification, if there is one?
Great that you posted a link to the help article! I don't believe there is more specific information availible. I thinks GitHub makes use of http://ogp.me/ , which transfers this kind of info trough HTML meta tags.
It is an open protocol and as far as I know it's supported on most social media and messaging services.
As in your case, I just think your Android SMS application doesn't allow for previews at all. If it were to allow any preview at all, it would show your profile picture as an image until you uploaded a custom image. So if you aren't seeing any image, I don't think your client supports it.