📅  最后修改于: 2023-12-03 15:30:58.009000             🧑  作者: Mango
GitHub Readme Stats 是一个方便的工具,它可以帮助程序员快速生成展示自己项目信息的 README 文件,并且可自定义其外观和功能。使用该工具可以极大地提升项目的可视性和吸引力。
在 README 文件顶部加上以下代码片段即可,其中 username
和 repo
分别为你的 GitHub 用户名和项目名称,具体可参考下文中的示例。

如果想要展示更多的信息,可以使用以下代码片段代替上面的代码,包含了额外的卡片选项,如 langs_count
,theme
等。

如果想要展示每个贡献者的贡献量,可以使用以下代码片段,其中 layout
指定了卡片样式,title
指定了卡片标题,card_width
指定了卡片宽度。

以下是一个示例,展示了如何在 README 中使用 GitHub Readme Stats。
# My Project
This is a project about ...
## Project Status
[](https://github.com/myusername/myproject)
## Installation
You can install the project by running ...
## Usage
You can run the project by executing ...
## Contributors
[](https://github.com/myusername/myproject/graphs/contributors)
在 README 文件中插入以上代码即可生成 GitHub Readme Stats 卡片,样式如下所示。