Skip to content

Commit 1cfbd45

Browse files
committed
small docs update
1 parent 82cf8ad commit 1cfbd45

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docs/providers.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ gitfetch supports multiple Git hosting platforms with different authentication m
1818
2. Run `gh auth login` to authenticate
1919
3. gitfetch will detect and use your GitHub credentials
2020

21+
**Token Configuration**:
22+
23+
You can also set a token via:
24+
- Config file: set `token` in `[github]` section of `~/.config/gitfetch/gitfetch.conf`
25+
- Environment variable: `GH_TOKEN`
26+
27+
**Rate Limits**:
28+
29+
- **No token**: 60 requests/hour (limited, may hit limits)
30+
- **With token**: 5,000 requests/hour (recommended)
31+
2132
## GitLab
2233

2334
**Authentication**: Uses GitLab CLI (glab)
@@ -28,6 +39,12 @@ gitfetch supports multiple Git hosting platforms with different authentication m
2839
2. Run `glab auth login` to authenticate
2940
3. gitfetch will detect and use your GitLab credentials
3041

42+
**Token Configuration**:
43+
44+
You can also set a token via:
45+
- Config file: set `token` in `[gitlab]` section of `~/.config/gitfetch/gitfetch.conf`
46+
- Environment variable: `GITLAB_TOKEN`
47+
3148
## Gitea/Forgejo/Codeberg
3249

3350
**Authentication**: Personal access tokens

0 commit comments

Comments
 (0)