A page to display many Github repos, beyond the limit of 6 repos allowed
Overview
Github is a platform for many people to display their work, yet the profile page only allows to pin 6 repos.
If you have more than 6 works which you want to show:
Choose only the 6 ones you want to show the most, and reluctantly hide the others?
Make another website to introduce your repo one by one?
It's better to make a Github-style window display page by yourself, using the Github API directly to fetch and display the information of each repo, so you can display as many as you want, and it also saves the trouble of re-writing additional introductions for each work.
Demo
First take a look at my own: https://garywill.github.io
Web template
There is a pretty Github style web page template Cayman theme , which is simple and practical. Modifies are based on it.
Use it
By calling the Github API using js, css, etc., a repo can encapsulated into a simple line of html like this:
1<div class="repo-box" owner="garywill" reponame="bigSearch"></div>
owner
is the Github username, reponame
is the name of the repo.
Completed code
The complete code is in this repository: GitHub-garywill/garywill.github.io: Github page showing Github repos using API
Thanks to the Cayman theme template
Update:
Now the Github profile already supports displaying a static page on top of 6 pinned repos, which supports text, links, pictures. You just have to create a repo with the same name as your Github username. Write your content in README.me
.
Because it is fully static and does not support js, so put a link to guide xxx.github.io
:)
Buy me a coffee
Your donation will be an impetus for me!