HB 页头 Git 组织模块

此模块于页头显示关于 Git 组织的相关信息,比如头像、关注人数、仓库数量和星星总数。

Modulegithub.com/hbstack/header/modules/git-org
Repository⭐ Please consider giving a star if your like it.
Stars
Version
Used by
Requirements
License
UsageSee how to use modules.

Example
HB Framework Git Organization

参数

params.toml

1[hb]
2  [hb.header]
3    [hb.header.git_org]
4      name = 'hbstack'
5      service = 'github'

params.yaml

1hb:
2  header:
3    git_org:
4      name: hbstack
5      service: github

params.json

 1{
 2   "hb": {
 3      "header": {
 4         "git_org": {
 5            "name": "hbstack",
 6            "service": "github"
 7         }
 8      }
 9   }
10}

service

Git 服务商,支持 github

name

组织名称。

API 身份验证和速率限制

GitHub

你可能需要设置 GITHUB_TOKEN 环境变量以避免遇到 API 速率限制问题。