Configure GitHub API Authentication
masterTo avoid GitHub API rate limiting (60 requests/hour for unauthenticated users), you can provide a personal access token. This increases your limit to 5,000 requests per hour.
Methods to provide a token:
- Environment Variable: Set
GITHUB_TOKENorEGET_GITHUB_TOKEN. If both are set,EGET_GITHUB_TOKENtakes precedence. - Config File: Use the
github_tokenkey in the[global]section of your~/.eget.toml. - File Reference: Use the
@/path/to/filesyntax as the token value.
Example via Environment Variable
export EGET_GITHUB_TOKEN=ghp_1234567890
eget zyedidia/micro