Skip to content

Repositories

PanSzelescik edited this page Nov 26, 2026 · 6 revisions

Repositories

The Repositories page lists the repositories you watch for new releases – on GitHub, Gitea/Forgejo (Codeberg, code.forgejo.org, gitea.com, self-hosted) or GitLab (gitlab.com, self-managed) – and versions read from web pages and feeds. A repository that only tags its versions can be watched by its tags.

Adding a repository

Type owner/repo or paste any GitHub URL (https://github.com/dani-garcia/vaultwarden) and click Watch. Optional when adding: Pre-releases and a Token for this repository.

Gitea, Forgejo and GitLab

Paste the HTTPS URL of the repository (or host/owner/repo), e.g. https://codeberg.org/forgejo/forgejo, https://code.forgejo.org/forgejo/runner or https://gitlab.com/gitlab-org/gitlab-runner. GitLab groups may nest (gitlab.com/group/subgroup/project); page paths such as /-/releases are ignored.

  • Which software? github.com, gitlab.com, codeberg.org, gitea.com and code.forgejo.org are known. For another host ReleaseWatcher tries Gitea/Forgejo first, then GitLab – or pick one in the select that appears next to the URL.
  • Tokens: a private repository needs a token of that instance (Gitea/Forgejo: Settings → Applications → Access tokens, repository read; GitLab: Access tokens with read_api) – either on the repository, or once for the whole host (see Host tokens). The global GitHub token is never sent to other hosts.
  • Pre-releases: Gitea/Forgejo mark them like GitHub. GitLab has no such flag, so a release counts as a pre-release when its tag says so (-rc.1, -beta, -alpha …) or it is scheduled for later.
  • Vulnerabilities: only GitHub publishes security advisories per repository – for the others set the OSV.dev package.
  • Only HTTPS instances are supported. The repository is shown as host/owner/repo.

What happens next:

  1. The first check stores the newest existing release as a baseline – no notifications for history.
  2. On RELEASE_CHECK_CRON (default every 15 minutes) and once shortly after a start, recent releases are fetched with conditional requests (If-None-Match / ETag – a 304 does not count against GitHub's rate limit).
  3. Releases newer than the baseline are sent to your notifiers (oldest first, max 5 per check), and the baseline moves forward after each one – a crash never causes duplicates.
  4. Drafts are ignored; pre-releases only if switched on for the repository.

The newest release is the one published last. With tags it is the highest version instead (tags have no reliable dates), and every version above the baseline is new.

After every check – scheduled, at start, Check all now or of a single repository – ReleaseWatcher also checks every enabled machine with an application whose latest version comes from a repository and differs from its newest release, so Update available shows up there right away (Applications and updates).

The list

  • Filters: All, Active, Paused, Updates, Vulnerable, Errors and a search box.
  • List or grid layout (remembered per browser).
  • Per repository: icon, latest release, installed version, badges (Update available, N vulnerabilities affect installed / N advisories, errors), actions Check, Settings (sliders icon), pause / resume, Remove (with an inline confirmation).
  • Check all now in the sidebar checks every active repository.

Repository settings

Pre-releases and pause

Pre-releases includes GitHub pre-releases (betas, RCs). A paused repository is not checked and not notified.

Releases or tags

Watch chooses what is read:

Watch Newest is Use for
Releases (default) the release published last projects that publish releases
Tags the highest version projects that only tag versions, e.g. Checkmk (v2.5.0p21) or TrueNAS (TS-25.10.8)

With tags:

  • Tags that are no version (nightly, latest) are skipped, and tags of the same version (v2.5.0p21, v2.5.0p21+security) count once.
  • A tag is a pre-release when its name says so (-rc.1, -beta, -alpha …), e.g. v2.5.0p21-rc1+security.
  • Patch levels right after the numbers count as one more number: 2.5.0p21 (Checkmk) is newer than 2.5.0p20 and 2.5.0; 9.10.2-U5 (TrueNAS) is newer than 9.10.2-U2. p, u and patch are recognised, with or without a -, _ or . before them.
  • GitHub returns tags without dates; a notification shows the time of the check instead.
  • The latest tag links to its page (GitHub …/releases/tag/<tag>, Gitea/Forgejo …/src/tag/<tag>, GitLab …/-/tags/<tag>).

Changing Watch or the Version pattern makes the next check store a new baseline without notifying – releases and tags (or versions before and after a new pattern) can't be compared.

Version pattern

An optional regular expression (case-insensitive) a tag must match – everything else is skipped:

  • Releases: only filters, e.g. ^v\d ignores releases of other components in a monorepo.
  • Tags: also picks the version that is shown and compared – the named group version ((?<version>…)), else group 1, else the whole match. The link still uses the real tag name.
Project Tags Pattern Newest (no pre-releases)
TrueNAS (truenas/middleware) TrueNAS-9.10.2-U5, TS-27.0.0-RC.1, TS-26.0.0-BETA.3, TS-25.10.8 … ^TS-(.+)$ 25.10.8
Checkmk (Checkmk/checkmk) v2.5.0, v2.5.0p21, v2.5.0p21+security, v2.5.0p20 – v2.5.0p21

Without the pattern, TrueNAS' old TrueNAS-9.10.2-U5 tags would be compared with the new TS-… ones. A pattern may be at most 500 characters long; one that runs longer than 2 seconds (e.g. nested repetition like (a+)+) is stopped and shown as the repository's error.

Installed version

Installed version from has three options:

Option Use for
Nothing (no comparison) only announcing releases
A version URL apps that expose their version over HTTP
Entered by hand desktop apps, firmware, external services, anything without an endpoint

With a URL it is read on every check. Format says how the response is read:

Format Reads Path / selector Version pattern
Auto (default) plain text (1.34.1), a JSON string ("1.34.1"), common keys such as version, else the first version in the text optional JSON field, e.g. data.version –
Text the text of the response (HTML tags removed) – required
JSON a value at a path optional, e.g. data.version, components[0].version (empty = the whole response) optional
HTML / XML the text of an element required CSS selector, e.g. footer .version optional

The first version found is used. The version pattern is a regular expression (case-insensitive); its first group – or a group named version – is the version, e.g. Version:\s*(\d+\.\d+\.\d+). Without a pattern, an element with Version 4.2.1 gives 4.2.1. It's the same extraction as for Web pages and feeds. Test URL shows the detected version and a preview of the response.

Examples:

App URL Format Path / selector · pattern
Vaultwarden https://vault.lan/api/version Auto –
ReleaseWatcher http://127.0.0.1:8080/api/version Auto –
an app returning {"data":{"version":"2.1.0"}} https://app.lan/api/info Auto or JSON data.version
an app with the version in its page footer https://app.lan/about HTML footer .version
a status page saying Server version: 3.4.1 https://app.lan/status Text Server version:\s*([\d.]+)

Request headers (e.g. Authorization: Bearer …, X-Api-Key) are stored encrypted and never returned by the API – only their names. Leave a value empty to keep the saved one.

With a known installed version:

  • the list shows Update available 1.34.1 → 1.34.3,
  • releases you already run (installed ≥ release) are not announced,
  • Discord messages include the installed version,
  • the version is used for Vulnerabilities impact.

Entered by hand: type the version (e.g. 1.34.1); it's kept until you change it. After upgrading, Mark as installed sets it to the latest release in one click.

Icon

By default a repository shows its owner's avatar – for apps published under a personal account that's the developer's photo. Set Icon to:

  • an image URL: https://example.com/logo.svg, or
  • a selfh.st/icons name with the sh: prefix (like in Homepage or Homarr): sh:frigate, sh:frigate-light, sh:frigate-dark; sh:<name>.png picks a format,
  • or click Browse for a searchable grid of all selfh.st icons with light and dark variants.

sh: names resolve to jsDelivr (https://cdn.jsdelivr.net/gh/selfhst/icons/svg/<name>.svg, then PNG and WebP). If the icon can't be loaded, the owner's avatar is shown. The icon is also used:

  • next to applications on the Machines page whose latest version comes from this repository,
  • as the author icon in Discord – as PNG, because Discord shows no SVG (an SVG URL falls back to the avatar there).

The icon list for Browse is loaded by your browser from jsDelivr.

GitHub tokens

A global token (Settings → General → GitHub, or GITHUB_TOKEN) is used for every repository. A repository can have its own token, e.g. for a private repository of another user; it overrides the global one for that repository. Tokens are encrypted at rest and shown only masked; Remove it deletes a repository token.

Token Permissions
Fine-grained Contents: Read-only; Repository security advisories: Read-only for advisories of private repositories
Classic repo (private) or none (public only)

The remaining quota is shown in Settings (GET /api/github/rate-limit).

Host tokens

For a self-hosted Gitea/Forgejo or GitLab with several private repositories, save one token per host in Settings → General → Gitea/Forgejo and GitLab hosts (provider + host, e.g. git.example.com or git.example.com:3000). Every repository on that host (and provider) without a token of its own is read with it – also a repository added from a Docker image label suggestion – and rotating the token is a single change. A token set on the repository takes precedence. A host token is sent only to its own host, never to GitHub or another instance. Tokens are encrypted at rest, shown only masked, and not included in a backup from Settings → Backup (listed as omitted secrets).

Vulnerabilities from OSV.dev

Ecosystem + Package under which the app is published, e.g. npm / n8n or Go / github.com/gitea/gitea. See Vulnerabilities.

Related

Clone this wiki locally