This module shows information about the Git repository on the header, such as latest release, number of stars and number of forks
Become a backer or sponsor to support our work.
Module | github.com/hbstack/header/modules/git-repo |
---|---|
Repository | ⭐ Please consider giving a star if your like it. |
Stars | |
Version | |
Used by | |
Requirements | |
License | |
Usage | See how to use modules. |
params.toml
1[hb]
2 [hb.header]
3 [hb.header.git_repo]
4 name = 'hb'
5 owner = 'hbstack'
6 service = 'github'
params.yaml
1hb:
2 header:
3 git_repo:
4 name: hb
5 owner: hbstack
6 service: github
params.json
1{
2 "hb": {
3 "header": {
4 "git_repo": {
5 "name": "hb",
6 "owner": "hbstack",
7 "service": "github"
8 }
9 }
10 }
11}
service
The Git service, github
is supported.
owner
The repository owner.
name
The repository name.
docker
The Docker settings, which is used to fetch the image’s pull count, you’ll need to configure the namespace
and name
.
You may need to set the GITHUB_TOKEN
environment var to get rid of encountering API rate limit issue.