Skip to content

Supported Providers

livrasand edited this page Nov 28, 2026 · 1 revision

Supported Providers

Updainium reads release information directly from the forge that hosts an app. A provider turns a repository URL into the forge's API addresses and converts the response into the release data Updainium uses.

Three provider families are built in: GitHub, GitLab, and Gitea/Forgejo. You can add others with a local plugin.

Built-in providers

Provider Supported hosts Repository URL example Authentication
GitHub github.com https://github.com/owner/repo Optional token, for higher API rate limits
GitLab gitlab.com and self-hosted GitLab https://gitlab.com/group/project Public projects only
Gitea / Forgejo codeberg.org and self-hosted Gitea or Forgejo https://codeberg.org/owner/repo Public instances only

Release requests to these APIs are made from the app's frontend with the standard fetch API. Asset downloads are handled by the native backend. The built-in providers use HTTPS only.

URL forms

GitHub

Use the repository URL. Updainium uses the first two path segments as owner/repo, so extra segments are ignored.

GitLab

  • On gitlab.com, use the project URL, for example https://gitlab.com/group/project.
  • On a self-hosted GitLab, the URL must include the /-/ segment that GitLab uses on project pages, for example https://gitlab.example.com/group/project/-/releases. Without it, the URL is not recognized as GitLab.

Gitea and Forgejo

Use the repository URL, for example https://git.example.org/owner/repo. A /releases segment at the end of the path is dropped. The Gitea provider matches any HTTPS host that the GitHub and GitLab providers do not match, so it is the fallback for self-hosted instances.

For Gitea and Forgejo, Updainium tries the API versions in this order for the latest release: /api/v1, then /api/v3, then a GitLab-style /api/v4 address.

Source rules

Any source you add must:

  • use HTTPS;
  • have no username or password in the URL;
  • include at least an owner and a repository name;
  • not duplicate a source already in your catalog.

The app checks the URL format only. It does not contact the forge to confirm that a repository is public.

Release channels

Each app can follow the stable channel or the pre-release channel. On the stable channel, the GitHub provider uses the "latest release" endpoint. On the pre-release channel, it reads the full release list instead.

Checksums

If a provider returns a SHA-256 checksum for an asset, Updainium uses it to verify the download. Gitea and Forgejo can supply one through a digest field. Checksums are accepted only when they are 64 hexadecimal characters. If no checksum is published, the download is marked as unavailable for verification. See Downloads and Verification.

Known limits

  • Public releases only. Private repositories are not a supported workflow. A GitHub token raises API rate limits and is also used for Gist backups, but it does not grant private-repository access as a documented feature.
  • Rate limits. Beyond the GitHub token option, the project does not document rate limits for each forge.
  • Scraping for some sources. For sources without a standard API, Updainium may collect data by scraping the web page. That can break when the site changes its layout.
  • Not a package manager. Updainium tracks release assets. It does not manage package repositories.

Adding another forge

A plugin can add a provider for another forge, such as Sourcehut, which the developer docs use as an example. A provider implements five functions: match, reference, repoApiUrl, releaseApiUrls, and normalize. Plugin providers are tried before the built-in providers, and a provider with the same id replaces the built-in one.

See Plugin Development for the manifest format and an example.

Plugins are trusted code. They run inside the app's WebView with the app's permissions. Install only plugins you have reviewed. See Security Model.

Troubleshooting

Symptom What to check
The repository is rejected The URL must be HTTPS, must not contain credentials, and must include an owner and a repository.
No release is found Confirm the repository is public and has a published release. For GitLab, confirm the URL includes /-/.
A plugin does not appear Confirm updainium.json has a valid id, that engines.updainium matches the app version, and that the files are in the plugins folder.
A plugin never matches a URL Its match function must return true only for its own host.
A built-in provider stopped working A plugin uses the same provider id. Remove the plugin or change its id.

Related pages

Clone this wiki locally