-
Notifications
You must be signed in to change notification settings - Fork 405
Update zh README for simplified chinese #215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 13 commits
1f0156c
6e2cf1b
808abdb
a362464
489e417
82f2e43
fa1e4b3
412aa45
a8751a2
a09e211
f4865ae
f969666
e7be848
75b9808
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,204 @@ | ||||||
| <div align="center"> | ||||||
| <h1>GitHub Profile Summary Cards</h1> | ||||||
|
|
||||||
|
|
||||||
| [English](/README.md) | [简体中文](/docs/README_zh.md) | [繁體中文](/docs/README_zh-tw.md) | ||||||
| <p> | ||||||
| 一个用来生成github个人简介摘要的工具. 受到 <a href=https://github.com/tipsy/profile-summary-for-github>profile-summary-for-github</a>的启发 | ||||||
| </p> | ||||||
| <p> | ||||||
| :star: 欢迎大家随时贡献 :star: | ||||||
| </p> | ||||||
| <p align="center"> | ||||||
| <a href="https://github.com/vn7n24fzkq/github-profile-summary-cards/stargazers"> | ||||||
| <img alt="Stargazers" src="https://img.shields.io/github/stars/vn7n24fzkq/github-profile-summary-cards?style=for-the-badge&logo=github&color=f4dbd6&logoColor=D9E0EE&labelColor=302D41"></a> | ||||||
| <a href="https://github.com/vn7n24fzkq/github-profile-summary-cards/releases/latest"> | ||||||
| <img alt="Releases" src="https://img.shields.io/github/release/vn7n24fzkq/github-profile-summary-cards.svg?style=for-the-badge&logo=semantic-release&color=f5bde6&logoColor=D9E0EE&labelColor=302D41"/></a> | ||||||
| <a href="https://www.conventionalcommits.org/en/v1.0.0/"> | ||||||
| <img alt="conventionalcommits" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?style=for-the-badge&logo=conventionalcommits&color=ee99a0&logoColor=D9E0EE&labelColor=302D41"></a> | ||||||
| <a href="https://github.com/vn7n24fzkq/github-profile-summary-cards/actions/workflows/github-action.yml"> | ||||||
| <img alt="testandlint" src="https://img.shields.io/github/actions/workflow/status/vn7n24fzkq/github-profile-summary-cards/test-and-lint.yml?branch=main&label=Test%20and%20Lint&style=for-the-badge&color=a6da95"></a> | ||||||
| </p> | ||||||
| </div> | ||||||
|
|
||||||
| <div align="center"> | ||||||
| <p> | ||||||
| <a href="https://github-profile-summary-cards.vercel.app/demo.html">生成你的个人卡片</a> | ||||||
| </p> | ||||||
|
|
||||||
|
|
||||||
|  | ||||||
|  | ||||||
|  | ||||||
|  | ||||||
|  | ||||||
|
|
||||||
| </div> | ||||||
|
|
||||||
| ## Themes | 主题 | ||||||
|
|
||||||
| | | | | | | | ||||||
| |:---:|:---:|:---:|:---:|:---:| | ||||||
| |default|2077|dracula|github|github_dark| | ||||||
| ||| ||| | ||||||
| |gruvbox|monokai|nord_bright|nord_dark|radical| | ||||||
| ||| | || | ||||||
| |solarized|solarized_dark|tokyonight|vue|zenburn| | ||||||
| ||| | || | ||||||
| |transparent| | ||||||
| || | ||||||
|
|
||||||
| [更多主题](https://github.com/vn7n24fzkq/github-profile-summary-cards-example/tree/master/profile-summary-card-output) | ||||||
|
|
||||||
| ## 如何使用 (API) | ||||||
| ### 简介摘要卡片 | ||||||
|  | ||||||
|
|
||||||
| `http://github-profile-summary-cards.vercel.app/api/cards/profile-details?username={username}&theme={theme_name}` | ||||||
| - 可接收的链接参数 | ||||||
| - theme | ||||||
| - Theme name | ||||||
| - username | ||||||
| - Username | ||||||
| ### 仓库首选语言卡片 | ||||||
|  | ||||||
|
|
||||||
| `http://github-profile-summary-cards.vercel.app/api/cards/repos-per-language?username={username}&theme={theme_name}&exclude={exclude}` | ||||||
| - 可接收的参数 | ||||||
| - theme | ||||||
| - Theme name | ||||||
| - username | ||||||
| - Username | ||||||
| - exclude: | ||||||
| - 排除以逗号分隔的语言列表, e.g., exclude=java,rust,jupyter%20Notebook | ||||||
| - 当语言中有空格时,使用'%20'来表示. | ||||||
| - [提供支持的语言](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) | ||||||
|
|
||||||
| ### 提交首选语言卡片 | ||||||
|  | ||||||
|
|
||||||
| `http://github-profile-summary-cards.vercel.app/api/cards/most-commit-language?username={username}&theme={theme_name}&exclude={exclude}` | ||||||
| - 可接收的参数 | ||||||
| - theme | ||||||
| - Theme name | ||||||
| - username | ||||||
| - Username | ||||||
| - exclude: | ||||||
| - 排除以逗号分隔的语言列表, e.g., exclude=java,rust,jupyter%20Notebook | ||||||
| - 当语言中有空格时,使用'%20'来表示 | ||||||
| - [提供支持的语言](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml) | ||||||
|
|
||||||
| ### GitHub 状态卡片 | ||||||
|  | ||||||
|
||||||
|  | |
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Secure Token Example:
The example provided for setting the GITHUB_TOKEN in the .env file (line 182) appears to contain an actual token value. For security reasons, please replace this with a placeholder (e.g., YOUR_GITHUB_TOKEN) to prevent any risk of leaking credentials.
🧰 Tools
🪛 LanguageTool
[grammar] ~182-~182: 'personal' é un erro. Considere utilizar "persoal"
Context: ...运行 - 需要 node 16 版本, 低版本可能会造成问题. - 添加 personal access token 到 .env 文件. ex: `GITHUB_T...
(GL_WIKIPEDIA_COMMON_ERRORS)
🪛 Gitleaks (8.21.2)
182-182: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.
(generic-api-key)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Themes Table Formatting Alert:
The Themes table includes a row for “transparent” (lines 48–49) that doesn’t conform to the expected five-column structure. Adjusting this table for consistent column alignment will improve its readability.