😎 在您的网站上展示GitHub仓库 🤘 !
😎 在您的网站上展示GitHub仓库 🤘 !
JavaScript CSS相关
共82Star
详细介绍
Repo-Card
repositories on your website
Demo
For a live demo, visit https://tarptaeya.github.io/repo-card.
Usage
<!-- head -->
<script src="https://tarptaeya.github.io/repo-card/repo-card.js"></script>
<!-- inside body, where you want to create the card -->
<div class="repo-card" data-repo="username/repository"></div>
Features
- Supports GitHub emojis
- Supports language colors
- Hides stars and forks when their count is 0.
- Shows the source repository in case of fork.
- Creates card similar to GitHub pinned repository's style
Thanks
- ozh/github-colors for providing GitHub colors for all the languages.