Skip to content

GitHub and GitLab API Tokens

DavidoTek edited this page Feb 1, 2024 · 1 revision

ProtonUp-Qt uses the GitHub API. If the API is used too much it can happen that it won't load new releases. In that case you have to wait a few hours and it should work again. Alternatively, you can setup a GitHub or GitLab API token.

You can check if the API is working for you by clicking following link, it should show a list of URLs: https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases

Creating and specify a GitHub token

Creating and specify a GitLab token

Config file (only for versions 2.9.0 and newer)

In ProtonUp-Qt version 2.9.0 and newer, it is also possible to configure the tokens in ProtonUp-Qt's configuration file without requiring environment variables. A GUI option will follow.

You can find the configuration file under ~/.var/app/net.davidotek.pupgui2/config/pupgui/config.ini (installed from app store) or ~/.config/pupgui/config.ini (AppImage from GitHub).

Append the following lines to the config file or edit them if they already exist:

github_api_token = your-GitHub.com-token-here
gitlab_api_token = your-GitLab.com-token-here

You may, but don't have to configure both a GitHub and a GitLab token.

NOTE: If the environment variables are set, they will override the tokens configured in the config file!