酷吧,虽然咱代码不会写,但气势绝对不能输,逼格总是要先装起来的,装着装着,说不定,就会写代码了呢!!!(大误
😄)
接下来就教你们如何装逼
注意,本文许多网站需要科学上网才能使用,请自备科学上网工具
0.准备工作
首先需要新建一个和 Github 用户名相同的仓库
记得勾选Add a README file
这个选项
接下来在自己电脑上创建一个.md
后缀的文件,名称随意,并用支持Markdown
语法的编辑器编辑,当然嫌麻烦可以用https://arya.pages.dev/ 或者其他你喜欢的在线编辑器编辑
1.带有打字特效的文字
打字特效生成网站:Readme Typing SVG -
Demo Site
里面有很多自定义选项,大家可以根据自己喜好进行调整
调整完以后点击Markdown
下的Copy To Clipboard
,然后粘贴进刚才的.md
编辑器里
效果图
2.社交关注者数目小牌子
用 Substats 配合shields.io 制作动态小牌子
创建动态图标方法:点击进入这个网页 shields.io
dynamic-badge
data type
选择json
label
写上数据牌左侧你想展示的文字,比如我想展示的是GitHub
data url
,找到自己想展示的API URL
,比如我的GitHub URL
就是:https://api.spencerwoo.com/substats/?source=github&queryKey=fjqz177
。一般都只需要修改source
后面的目标服务器以及queryKey
后面的请求数据标签,前者一般都是平台名,后者一般都是用户名
query
填:$.data.totalSubs
color
填写一个十六进制的颜色代码,前面不加#
剩下两个分别是数据牌右侧展示数据的前缀和后缀,前缀可以不填,后缀可选填followers
然后点击Make Badge
即可生成
以如下格式填入刚才生成的链接,并把它粘贴进.md
编辑器内
1 ![](https://img.shields.io/badge/dynamic/json?color=272626&label=Github&query=%24.data.totalSubs&suffix=%20followers&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dgithub%26queryKey%3Dfjqz177 )
效果如下
大家可以查阅Substats API
的文档:Home | Substats Docs
(spencerwoo.com) 看看支持哪些平台以及source
后面的目标服务器的关键字,举一反三即可生成你想要的小牌子
给大家附上我自己带图标的小牌子
1 2 3 4 5 6 7 <p align ="center" > <a title ="github" target ="_blank" href ="https://github.com/fjqz177" > <img src ="https://img.shields.io/badge/dynamic/json?label=GitHub&suffix=%20followers&query=%24.data.totalSubs&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dgithub%26queryKey%3Dfjqz177&labelColor=282c34&color=353940&logo=github&longCache=true" > </a > <a title ="weibo" target ="_blank" href ="https://weibo.com/5862441076/profile" > <img src ="https://img.shields.io/badge/dynamic/json?labelColor=e71f19&color=353940&label=Weibo&suffix=%20followers&query=%24.data.totalSubs&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dweibo%26queryKey%3D5862441076&logo=sina-weibo&longCache=true" > </a > <a title ="zhihu" target ="_blank" href ="https://www.zhihu.com/people/fjqz177" > <img src ="https://img.shields.io/badge/dynamic/json?color=353940&labelColor=0084ff&label=Zhihu&suffix=%20followers&query=%24.data.totalSubs&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dzhihu%26queryKey%3Dfjqz177&logo=data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjMzMjY1Mzc4NzU2IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjUxNTMiIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PGRlZnM+PHN0eWxlIHR5cGU9InRleHQvY3NzIj48L3N0eWxlPjwvZGVmcz48cGF0aCBkPSJNNTc2LjggODA3LjUyaDU3LjI4bDIwLjggNzIuNDggMTAwLjgtNzIuNDhoMTQxLjkyVjIyOS4yOEg1NzYuOHogbTY3Ljg0LTUxMy45Mkg4MzJ2NDQ4aC02Ni4yNGwtODUuMTIgNjQuOTYtMTguNTYtNjQuOTZoLTE3LjQ0ek0xMjYuNCA4ODQuNDhhMTQ5LjQ0IDE0OS40NCAwIDAgMCAxMjMuODQtMTAuNGM2MC45Ni0zNiAxMDUuOTItMTk0LjU2IDEwNS45Mi0xOTQuNTZsMTQ0IDE3Ny40NHMxMy4xMi04NC40OC0yLjI0LTEwOC4zMi05OS4wNC0xMTkuODQtOTkuMDQtMTE5Ljg0bC0zNi42NCAzMiAyNi4wOC0xMDQuOTZINTQ0czAtNjEuNzYtMzAuNTYtNjUuMjgtMTI1LjQ0IDAtMTI1LjQ0IDB2LTE5Mkg1MjhzLTEuNi02NC0yOC44LTY0SDI3MC41NmwzNS41Mi0xMDQuNjRzLTU3LjYgMy4zNi03Ny45MiAzOS4zNi04Ni40IDIyMS42LTg2LjQgMjIxLjYgMjEuOTIgMTAuMjQgNTkuMi0xNy4yOGExNDcuNjggMTQ3LjY4IDAgMCAwIDQ5LjI4LTc1LjUybDY3Ljg0LTMuMzZMMzIwIDQ5MS4ycy0xMTYuOTYtMS43Ni0xNDAuNjQgMC0zNy4yOCA2NS4yOC0zNy4yOCA2NS4yOEgzMjBzLTE1LjIgMTA4LjE2LTYwLjk2IDE4Ny4yLTEzMi42NCAxNDAuOC0xMzIuNjQgMTQwLjh6IiBmaWxsPSIjZmZmZmZmIiBwLWlkPSI1MTU0Ij48L3BhdGg+PC9zdmc+&longCache=true" > </a > <a title ="bilibili" target ="_blank" href ="https://space.bilibili.com/436591517" > <img src ="https://img.shields.io/badge/dynamic/json?color=353940&labelColor=f27596&label=Bilibili&suffix=%20followers&query=%24.data.totalSubs&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dbilibili%26queryKey%3D436591517&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADim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Yzwb+No49zNy2evkYv0LywGGAXUvp6eSneycqOic0w20k7CNgKE7jJunSGLACTCxF27ylmQc98T5MQUH49swd+I0HPXslLKnT0N+wnkrTKi9JZL/L9i1SorMmdeQ4TQQ7OFMxIMzGD45w8nUL1im7efENZLJpgPSw0pfz0cdt4U3230Td/Tvx2R6d2FrHhEWLkq5PELOMsRPHCPnAZGv1xJteL7jbJiaW3sB2nDvPC/osSYvjRQz4cJ6n7KO3rYQL7M+L6nVtfDVRAEQRAEQRAEQRAEIZ5/SAXmdfXaoQsAAAAASUVORK5CYII=&longCache=true" > </a > <a title ="coolapk" target ="_blank" href ="https://www.coolapk.com/u/3880429" > <img src ="https://img.shields.io/badge/dynamic/json?color=30343b&labelColor=17a15e&label=Coolapk&suffix=%20followers&query=%24.data.totalSubs&url=https%3A%2F%2Fapi.spencerwoo.com%2Fsubstats%2F%3Fsource%3Dcoolapk%26queryKey%3D3880429&logo=data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxkZWZzPjxzdHlsZS8+PC9kZWZzPjxwYXRoIGQ9Ik0xMjcuODkzIDQyNi42NjdjMjkuOTItNjYuOTg3IDk0LjUwNy0xMTYuNjk0IDE2Ni40LTEzMC4zNDcgNTUuNzg3LTkuNiAxMTIuOTYgNS4wNjcgMTYxLjkyIDMxLjk0N0M0OTcuNzYgMzQ5LjQ0IDUzNC40IDM3OC44OCA1NjcuOTQ3IDQxMS4wNGMtMTYuMTYgMTguNC0zOS4wOTQgMjguODUzLTU3LjQ5NCA0NC43NDctNDYuMTMzLTM4Ljg4LTk2LjY0LTc3LjcwNy0xNTcuOTczLTg3LjA5NC03OC45MzMtMTMuMTczLTE1OC41NiA0OS4yMjctMTcwLjUwNyAxMjcuMTQ3LTguNjkzIDQ1LjkyIDEwLjEzNCA5NC42NjcgNDUuMTc0IDEyNC45MDcgMzkuNjggMzQuOTg2IDk3LjIyNiA0NC41ODYgMTQ3LjYyNiAzMS4yNTMgNTcuNi0xMy45MiAxMDEuOTc0LTU3LjA2NyAxMzYuODU0LTEwMi43NzMgNTQuMDgtNzIuMTA3IDk5LjItMTUwLjQgMTQ3Ljg0LTIyNi4xMzQgMTMuOTItMTkuMTQ2IDQ3LjQxMy0xNy4yMjYgNTguNzIgMy44NCA2My42MjYgMTA5LjAxNCAxMjYuMDggMjE4LjcyIDE4OS42IDMyNy43ODcgNy41NzMgMTUuMDkzIDQuNDI2IDM1Ljc4Ny05LjYgNDYuMTMzLTEzLjA2NyAxMC42MTQtMzMuMzM0IDEwLjI0LTQ2LjEzNC0uNjkzYTk3MDY2LjU1OCA5NzA2Ni41NTggMCAwMS0yMjYuMTg2LTE2Mi43MmMxOC44OC0xNS4wNCAzOC40LTI5LjMzMyA1Ny45NzMtNDMuNDY3IDIzLjczMyAxMi45MDcgNDMuNzg3IDMzLjE3NCA2OS42IDQxLjY1NC0yMC4zNzMtMzkuNTc0LTQzLjYyNy03Ny43MDctNjYuMzQ3LTExNS45NDctNDIuNjY2IDU5LjE0Ny03Ny4wNjYgMTI0LjIxMy0xMjMuMTQ2IDE4MS4wNjdDNTE2IDY2My40NjcgNDQ4LjggNzE2Ljk2IDM2OC42NCA3MjguNDhjLTM4Ljg4IDMuNDEzLTc5LjMwNyA0LjIxMy0xMTYuMzczLTkuOTczLTUzLjQ5NC0xOS4xNDctMTAwLjMyLTU4LjcyLTEyNC41ODctMTEwLjU2LTI4LjIxMy01Ni4xMDctMjYuNzczLTEyNS4wMTQuMjEzLTE4MS4yOHoiIGZpbGw9IiNmZmYiLz48L3N2Zz4=&longCache=true" > </a > </p >
只需将对应title
后面的href
里的链接替换成自己的,然后把src
后面的链接里的fjqz177
或者对应的id
号改成自己的就可以了(queryKey%3D
后面的那一串)
> 图标是使用 base64 将 svg 进行转码的,所以很长~~
3.贪吃蛇吃绿点
在仓库里点击Creat new file
将.github/workflows/generate_snake.yml
粘贴进图示框中
在底下的框中粘贴如下代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 name: Generate Snake on: schedule: - cron: "0 0 * * *" workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2.3.4 - name: Generate Snake uses: aelassas/snk/svg-only@main id: snake-gif with: github_user_name: ${{ github.repository_owner }} outputs: | dist/github-contribution-grid-snake.svg dist/github-snake-dark.svg?palette=github-dark - name: Push to GitHub uses: EndBug/add-and-commit@v7.2.1 with: branch: main message: 'Generate Contribution Snake'
将如下粘贴进刚才的.md
编辑器里
1 ![](https://raw.githubusercontent.com/fjqz177/fjqz177/main/dist/github-contribution-grid-snake.svg)
记得把用户名和仓库名都改成自己的Github账号名
4.GitHub Stats Card &
Most used languages
效果如下
代码放在这里了,只需将其中的fjqz177
替换成你自己的Github
名称即可
1 2 3 4 5 <div align ="center" > <span >     </span > <img height ="170px" src ="https://github-readme-stats.vercel.app/api?username=fjqz177" /> <span >     </span > <img height ="170px" src ="https://github-readme-stats.vercel.app/api/top-langs/?username=fjqz177&layout=compact&langs_count=8" /> <span >     </span > </div >
5.Github-Readme-Activity-Graph(GitHub
活动统计图)
将其中的fjqz177
替换成你自己的Github
名称即可
1 [![Ashutosh's github activity graph](https://github-readme-activity-graph-fjqz177.vercel.app/graph?username=fjqz177&theme=github-light)](https://github.com/ashutosh00710/github-readme-activity-graph)
6.GitHub
Streak(GitHub 连续打卡) & Github Trophy(Github 奖杯)
将其中的fjqz177
替换成你自己的Github
名称即可
1 2 3 4 <div align ="center" > <img src ="https://github-readme-streak-stats.herokuapp.com/?user=fjqz177" /> <img src ="https://github-profile-trophy.vercel.app/?username=fjqz177" /> </div >
7.Logo小牌子
怎么样,这么多牌子挂出来是不是被吓到了呢 在这里需要用到Simpleicons 这个网站 以及如下模板
1 ![Git](https://img.shields.io/badge/Git-F05032?style=flat-square&logo=Git&logoColor=white)
①不会显示在外面,建议写上想要显示的Logo名称,方便管理
②小牌子右边显示的文字,建议写上想要显示的Logo名称
③牌子的底色
④显示的Logo
打开上面的Simpleicons 的网址,找到你想要的Logo
将(1)中的文字复制,替换掉①②④的原有内容
鼠标移到(2)上点一下即可复制,然后替换掉③中原有内容,记得删除#
号
举一反三,想加什么自己加就行
8.最后在编辑器内进行排版,排成你自己想要的效果,复制进github仓库内,即可完成
喜欢的话可以到我的Github个人主页 点一个Follow哦!