社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Git

【装逼】一分钟安排花里花哨的Github首页

鸿洋 • 3 年前 • 371 次点击  
本文作者:CoderPig,原文发布于:抠腚男孩。

应该不是什么新东西了,最近看到star的几个大佬的Github首页都有这个:



花里花哨,有点意思啊!!!

这不得给我的首页也安排上,开整~

1
新建账户同名仓库



新建后的仓库:


此时打开自己的Github首页,可以看到:


2
编辑README.md文件


点击右侧Edit README





① Github统计卡片


那个酷炫的统计卡片,可以到 GitHub Readme Stats 获取,怎么用文档也说得很清楚了~

https://github.com/anuraghazra/github-readme-stats/blob/master/docs/readme_cn.md


[![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=你的用户名)](https://github.com/anuraghazra/github-readme-stats)

直接copy这段代码,然后修改下username为你的用户名即可,点下Preview可以预览效果,也可以Commit了到主页看实际效果:


② 使用语言统计


哈哈,我还把使用语言统计也加上了,同样你只需copy这段代码到READMD.md中。

[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=你的用户名&layout=compact)](https://github.com/anuraghazra/github-readme-stats)


③ 其他


我觉得这两个就够我用了,还有这些花里花哨的,读者感兴趣的可自行尝试:

Github资料奖杯:
https://github.com/ryo-ma/github-profile-trophy/


[![trophy](https://github-profile-trophy.vercel.app/?username=你的用户名&theme=onedark)](https://github.com/ryo-ma/github-profile-trophy)

Github活动统计图:
https://github.com/Ashutosh00710/github-readme-activity-graph/


[![Ashutosh's github activity graph](https://activity-graph.herokuapp.com/graph?username=你的用户名)](https://github.com/ashutosh00710/github-readme-activity-graph)


Github 连续打卡:
https://github.com/DenverCoder1/github-readme-streak-stats


[![GitHub Streak](https://github-readme-streak-stats.herokuapp.com/?user=你的用户名)](https://git.io/streak-stats)


打字特效:
https://github.com/DenverCoder1/readme-typing-svg


[![Typing SVG](https://readme-typing-svg.herokuapp.com/?lines=First+line+of+text;Second+line+of+text)](https://git.io/typing-svg)

当然花里花哨的东西远不止这些,直接到下面的仓库Copy就好:


Awesome GitHub Profile README:
https://github.com/abhisheknaiidu/awesome-github-profile-readme


Awesome GitHub profiles:
https://github.com/EddieHubCommunity/awesome-github-profiles


或者直接到你感兴趣的作者的仓库里,点下raw看原始文件,直接Copy。

参考文献:

Github 首页美化教程:
https://sunguoqi.com/posts/36473.html




最后推荐一下我做的网站,玩Android: wanandroid.com ,包含详尽的知识体系、好用的工具,还有本公众号文章合集,欢迎体验和收藏!


推荐阅读


新技术又又叒叒叒叒来了?
两年经验妹子的面试总结
Android卡顿?深度实践最常用的Android 系统级性能分析工具

点击 关注我的公众号

如果你想要跟大家分享你的文章,欢迎投稿~


┏(^0^)┛明天见!

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/135211