Github專案徽標

2023-12-11 18:00:15

shields.io上提供了各種漂亮的徽標,支援文字、顏色、圖示以及各種動靜態資料

效果展示

使用詳解

1. 各種格式的基本模板

  • URL
https://img.shields.io/badge/:badgeContent
  • Markdown
![Static Badge](https://img.shields.io/badge/:badgeContent)
  • rSt
.. image:: https://img.shields.io/badge/:badgeContent
   :alt: Static Badge
  • AsciiDoc
image:https://img.shields.io/badge/:badgeContent[Static Badge]
  • HTML
<img>

https://img.shields.io/badge/Hello%20Weizwz-409eff?style=plastic

2. 帶logo徽標

logo線上查詢 https://simpleicons.org/

https://img.shields.io/badge/Language-javascript-blue?logo=javascript&logoColor=f7cb4f

3. 自定義圖示徽標

推薦 https://www.iconfont.cn/ 下載png格式圖示(下載之前可以設定顏色),然後轉換base64編碼 https://c.runoob.com/front-end/59/

https://img.shields.io/badge/image-circle-4bb2ff?style=for-the-badge&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAC8VJREFUeF7tnYuR3TYMRclKEldibyWxK/GmEm8qybqSbCpRBrL0IunpQ1IUCRFHM/b6Q4nkBc4AIPXxjuMyBbqu+905J78+TzqRv8ux9VP+72PSfvzz8t/+Hdp9eO+n/3fZfCxe2FucdM45DxDIJb84534bfo5/z9nV3rVGQN6HRj8FHu/9+PdS42iuHwCJNOkAxB/Daa+Rp9doLvAIKALNO9EmzgQAcqDXAMQYHb5OUqM4pfW0fgDjvX/TMyydIwGQFbtMooSAIb9aPkZg/iIlezYzgAyaTKBoIUqkAi2wSFQRWCj8nXOmATEWKWKhEUD+tJ6GmQRkAsYdiuxYx87d3nTNYgqQruu+O+csp1Bn4elTMO/9n2cvdJfzTQACGNnd0QwoTQMygEEalZ2PxwWbB6U5QKgvrqNh58rNgtIUIESMKnBMO20OlCYAGaLGDwObetUJCByAgPKthY3HWwNCOhXorvWavd59xeu2gJBO1fP6yJ5vnXbdDhDSqUj31NNcQHm52y0stwKEqKHH2xNHc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lvwL/e+7fgMxpp2GwNEmKfoU6RqCIpmPzk+F8Bc9HCxCpWqodPinoBxSosPRTOub/udktIqt2PzjMdQbbEMQbLCMVPbU/zHTlvif8HkAOVJ2mY1CxS3N89uoxAuLveH1UCDLNF+llxbwgMQJwwOhHkhHhy6gCMRBb5JVFGjhqRRkCQX+NLD0iZTtpWTgeQDCIe1DIjPL8t9l+mezHjn8ef02cmxj8vf0q3PwUKCurrjPgfvTkUgm6IEW0AAAAASUVORK5CYII=

4. 動態資料徽標

支援的API(包括 GitHub, GitLab, Twitter, YouTube 等)檢視官方檔案 https://shields.io/badges/github-gist-stars

https://img.shields.io/github/stars/weizwz/hexo-butterfly-recommend?style=social

各個語言/框架/包的版本 https://shields.io/badges/mozilla-add-on-version

https://img.shields.io/npm/v/hexo-butterfly-recommend?color=409eff

資料統計 https://shields.io/badges/npm-package-minimized-gzipped-size-select-exports

https://img.shields.io/github/languages/code-size/weizwz/fun-animation?label=fun-animation%20code%20size

各個語言/框架/包的license https://shields.io/badges/aur-license

https://img.shields.io/aur/license/android-studio?logo=android-studio

下載量(包括瀏覽器外掛、Eclipse應用市場、GitHub釋出下載、npm包等) https://shields.io/badges/mozilla-add-on-downloads

https://img.shields.io/chrome-web-store/users/dhdgffkkebhmkfjojejmpbldmpobfkfo?label=%E7%AF%A1%E6%94%B9%E7%8C%B4

其他更多動態API請檢視官方檔案 https://shields.io/

實際應用

1. GitHub個人介紹

GitHub下新建同名(和你GitHub的ID同名,比如我的 https://github.com/weizwz/weizwz )專案,然後編輯 README.md 儲存即可,重新整理到你的主頁就會自動展示README檔案

部分程式碼展示,完整程式碼請檢視 GitHub-weizwz

# >_ Hello, Friend!
[![Portfolio](https://img.shields.io/website?down_color=lightgrey&down_message=offline&logo=%40thehackingsage&up_color=blue&up_message=portfolio&url=https%3A%2F%2Fweizwz.github.io)](https://weizwz.github.io)
[![Github](https://img.shields.io/github/followers/weizwz?style=social)](https://github.com/weizwz/)

2. GitHub專案徽章

在專案的 README.md 里加入下載量/收藏量/依賴庫等徽章

部分程式碼展示,完整程式碼請檢視 GitHub-vue

<p align="center"><a href="https://vuejs.org" target="_blank" rel="noopener noreferrer"><img width="100" src="https://vuejs.org/images/logo.png">

custom_text 欄位里加入以下內容(省去了主題butterfly和騰訊雲,因為自定義圖示太長,直接程式碼不顯示了,請自行新增):

custom_text: <a target="_blank" href="https://hexo.io/" title="部落格框架為Hexo_v7.0.0"><img src="https://s3.ap-northeast-1.wasabisys.com/img.tw511.com/202312/Frame-Hexo-0E83CDj3azzsedhz5"></a><a target="_blank" href="https://github.com/" title="本站專案由Github託管"><img src="https://img.shields.io/badge/Website-Github-d021d6?logo=GitHub"></a><a target="_blank" href="https://www.algolia.com/" title="本站搜尋使用Algolia搜尋服務"><img src="https://img.shields.io/badge/Search-Algolia-003DFF?logo=Algolia"></a><a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" title="本站採用CC BY-NC-SA 4.0國際許可協定進行許可"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?logo=coursera&logoColor=fff"></a>

自定義css如下:

.footer_custom_text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.footer_custom_text > a {
  display: flex;
  align-items: center;
  margin-top: .5rem;
  margin-right: .5rem;
}

2. 部落格園頁尾

基於主題 CodingLife,基本操作可檢視我之前部落格 部落格園主題修改分享 - 基礎篇

部落格後臺 -> 設定 -> 頁面客製化CSS程式碼,將下列程式碼貼入:

/* 頁尾 */
#footer {
    background: none;
    display: flex;
    justify-content: center;
    color: #333;
    flex-wrap: wrap;
}
#poweredby {
    width: 100%;
    margin-top: .5rem;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
#poweredby > a {
    margin-right: .5rem;
}

部落格後臺 -> 設定 -> 頁尾HTML程式碼,將下列程式碼貼入:

<!-- 部落格頁尾 -->
<script>
function setBlogFooter() {
    const $badges = `
        <a target="_blank" href="https://www.cnblogs.com/" title="當前網站為部落格園"><img src="https://img.shields.io/badge/Website-%E5%8D%9A%E5%AE%A2%E5%9B%AD-169fe6?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAvCAYAAAClgknJAAAABGdBTUEAALGPC/xhBQAACklpQ0NQc1JHQiBJRUM2MTk2Ni0yLjEAAEiJnVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4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cuuwoYZdg3tWgMpjzwYkPHuEMjVroWB3j4QG2AvJj4u1D4hG8rV2NEzd6RsgEZwDBSRT9iQi8n6mGsHuxGo7rgBhccT1FdELpT5rhjjLsv9uXgLyh+R8RBR3u+lGdE4eTsDIjKifkdcAHzAZoIxIRN6eI7IrARcViqxYx3PXwMlHX18isgoIrOIfCT666AdCxFVOS5wT98/CMyVSkL5WH9dqbMEi4sYAB4BlymWCkVreLg47mJCwTqo0Z/C6DfCNDqiHFfanN8jf4+kvef3nEJHVmVEFuforJJYpmhFz3TBZmjrJp2RWfUEtkYJ5IqwV+JhlhnbiUVkRl0oPQOLf6FVBL7uvUAMOmFj/i0l06XwM3FxUfEAbhVz7uA9nmBUKZLGV4H5I+IZMKmwCeyqInHW69UQxXevVQS8TsNJRCYWeL2ZgOuoDiRiWHBJcCiBQEnJfVCIgTYkVePYx/zZw1Oo3aOCf3N2L38XNP7BIxgP/wBcSP6QMrJzYAAAAABJRU5ErkJggg==&logoColor=fff"></a>
        <a target="_blank" href="https://dotnet.microsoft.com/en-us/learn/dotnet/what-is-dotnet" title="部落格框架為.NET 8.0"><img src="https://img.shields.io/badge/Frame-.Net%208.0-512BD4?logo=.net&logoColor=fff"></a>
        <a target="_blank" href="https://kubernetes.io/" title="服務容器為Kubernetes"><img src="https://img.shields.io/badge/Server-kubernetes-326CE5?logo=kubernetes&logoColor=fff"></a>
        <a target="_blank" href="https://www.cnblogs.com/SkinUser.aspx?SkinName=CodingLife" title="部落格主題為CodingLife"><img src="https://img.shields.io/badge/Theme-CodingLife-169fe6?logo=tvtime&logoColor=fff"></a>
        <a target="_blank" href="https://weizwz.com/" title="博主為唯之為之"><img src="https://img.shields.io/badge/Blogger-%E5%94%AF%E4%B9%8B%E4%B8%BA%E4%B9%8B-409eff?logo=webtrees&logoColor=fff"></a>
        <a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" title="博文采用CC BY-NC-SA 4.0國際許可協定進行許可"><img src="https://img.shields.io/badge/Copyright-BY--NC--SA%204.0-d42328?logo=coursera&logoColor=fff"></a>
    `;
    const parentDiv = document.querySelector("#poweredby");
    parentDiv.innerHTML = $badges;
}

window.addEventListener('load', setBlogFooter, false);
</script>

然後儲存即可。