Using a GitHub Personal Access Token (PAT) is the most reliable way to bypass GitHub’s API rate limits. While the updater supports public proxies, a token provides a private and significantly higher limit (5,000 requests per hour).Documentation Index
Fetch the complete documentation index at: https://docs.fau.fpt.icu/llms.txt
Use this file to discover all available pages before exploring further.
Why use a token?
- Reliability: You are not shared with other users on a public proxy.
- Speed: No extra hops through proxy servers.
- Privacy: Your update checks are performed directly between your machine and GitHub.
Creating a token
- Go to your GitHub Token Settings.
- Click Generate new token (classic).
- Give it a descriptive name like
fp-appimage-updater. - No scopes are required. For public repositories, the token only needs the default “public access” to read release metadata. Do not check any boxes unless you are updating from private repositories.
- Click Generate token and copy it immediately.
Configuration methods
1. Environment Variable (Most Private)
TheGITHUB_TOKEN environment variable is the most secure way because it never touches your disk in plain text if managed correctly (e.g., via a secret manager or encrypted shell profile).
2. Secrets File (Recommended for Dotfiles)
Create asecrets.yml file. This allows you to keep your credentials separate from your config.yml, making it easy to exclude from Git or encrypt using tools like sops, age, or git-crypt.
File: ~/.config/fp-appimage-updater/secrets.yml
3. Global Configuration
You can add it toconfig.yml, but this is discouraged if you share your dotfiles publicly.
Best Practices
Use a dedicated token
Do not reuse your primary development token. Create a “fine-grained” or “classic” token specifically for this tool with minimal permissions.Security isolation
fp-appimage-updater is designed with security in mind:- No Proxy Leaks: The token is never sent to the configured
github_proxy_prefixURLs. It is only sent toapi.github.com. - In-Memory Only: When loaded from
config.ymlorsecrets.yml, the token is stored in memory and is never written back to disk by the application.
Dotfile encryption
If you store your configuration in a public repository, usesecrets.yml and add it to your .gitignore, or use an encryption tool:
- sops: Encrypt
secrets.ymland decrypt it only when needed. - Environment variables: Use a password manager CLI (like
bw,op, orlpass) to inject the token: