* Extract repository hosts into a provider registry GitHub and GitLab keep their behavior, but now sit behind a RepositoryProvider interface with a shared RepositoryRef. parseRepository understands provider hosts and leaves an unknown host for detection. This is groundwork for Gitea/Forgejo, self-hosted GitLab and GitHub Enterprise, Bitbucket and release feeds. * Support Gitea, Forgejo, Bitbucket and release feeds Adds host-aware adapters and detection, per-host tokens kept in the keychain, and a narrow Rust proxy for hosts that don't send CORS headers. The add-app flow can detect a host or take the player's choice, and source links and READMEs follow the host. Apps from hosts the account doesn't know stay on this computer. * Cover self-hosted GitLab and GitHub Enterprise hosts Adds provider tests for host-aware API bases, READMEs and releases, and documents the supported hosts, tokens, checksum limits and release-feed format. * Keep self-hosted apps device-only and tidy provider wording The account stores apps from github.com and gitlab.com; a self-hosted GitHub or GitLab has a host the account doesn't store yet, so it stays on this computer. Also updates the provider comments and the API package README. * Tidy the provider refactor before review Moves the API error import to the top, keeps catalog repository matching host-aware, and updates the remaining provider wording. * Fix the release host named for a custom app The Releases tab takes the host from the player's custom app rather than assuming GitHub, and the remaining provider comments name the host instead of GitHub. * Handle a bodiless provider answer The Fetch Response constructor refuses a body on 204 and 205, which a repository API can answer. * Remove unused provider imports * Remove unused provider types * Connect the provider proxy only to the addresses it checked The proxy looked a host up to refuse private addresses, then let the request look it up again, so a host could answer the check with a public address and the request with a private one. The request now connects to the addresses that were checked. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HpW15bCSsabfgUpsRDVfe * Expect the GitLab token in the per-host keychain entry The settings test, added on main after the provider work branched, looked for the token under the old gitlabToken entry. Tokens are now kept together, by host, under repositoryTokens. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015HpW15bCSsabfgUpsRDVfe --------- Co-authored-by: DieMitchell <mitchell030504@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
4.8 KiB
Release hosts
Quiver installs and updates apps from a release host: a forge's releases page, or a JSON feed. The launcher asks the host's API directly when it allows cross-origin requests, and through a small Rust proxy when it doesn't.
Supported hosts
| Host | Provider id | Releases | README | Tokens |
|---|---|---|---|---|
| GitHub (github.com) | github |
yes | yes | PAT, Authorization: Bearer |
| GitHub Enterprise | github |
yes | yes | PAT |
| GitLab (gitlab.com) | gitlab |
yes | yes | PAT, PRIVATE-TOKEN |
| Self-hosted GitLab | gitlab |
yes | yes | PAT |
| Gitea / Forgejo / Codeberg | gitea |
yes | yes | token, Authorization: token |
| Bitbucket Cloud | bitbucket |
downloads only | yes | app password (Basic) |
| JSON release feed | feed |
yes | no | none |
Codeberg (codeberg.org), Gitea's own instance (gitea.com), Ryubing (git.ryujinx.app) and Eden
(git.eden-emu.dev) are known by name. Any other Gitea/Forgejo host is detected by asking
https://<host>/api/v1/version.
Gogs and other forges that copied GitHub's API can use Gitea / Forgejo: their releases are read from
/api/v1/repos/<owner>/<repo>/releases. A host that doesn't answer /api/v1/version isn't detected, so pick
Gitea / Forgejo yourself.
Adding a repository
- Add an app and choose From a git repository.
- Paste a repository address (
https://codeberg.org/owner/repo,git.example.com/owner/repo, orowner/repofor GitHub) or a feed URL. - Leave Detect it selected, or pick the host kind yourself when detection can't reach it.
- Pick the app's name and, when a release has several files for this computer, the file that belongs to the app.
The library key keeps the host only when it isn't the provider's default:
github:owner/repogitlab:group/projectgitea:codeberg.org/owner/repogitlab:git.example.com/group/project
Tokens
Tokens are per host, kept in the OS keychain, and sent only to that host. Settings → Advanced has GitHub, GitLab and Other repository tokens. A token is only needed for private repositories or higher rate limits.
- GitHub: a classic token with no scopes, or a fine-grained token with read access.
- GitLab:
read_api. - Gitea/Forgejo:
repository: Read(anduser: Readon some versions). - Bitbucket: an app password with
Repositories: Read, entered asusername:app-password.
Checksums and updates
- GitHub publishes a SHA-256 digest for release assets. Quiver uses it when it's there.
- GitLab, Gitea/Forgejo and Bitbucket don't publish per-file checksums. Those apps show Quiver hasn't checked this app, as GitLab apps already did.
- Catalog apps are verified by quiverlauncher.com; that verification is separate from the host's own checksums.
- Bitbucket has no per-tag releases. Quiver groups its Downloads by the version in each file's name, so update detection is best effort.
Self-hosted hosts and the local network
The Rust proxy refuses http:// and private, loopback, link-local and documentation addresses. A forge on a LAN
(https://192.168.1.10, https://git.local) won't work yet. A host needs a public HTTPS address with a certificate
the system trusts.
Account sync
The account stores apps from github.com and gitlab.com. Apps from a self-hosted GitHub or GitLab, and from every other host, stay on the computer that added them; the add-app dialog says so.
Release feed format
A project with no release API can publish a JSON file:
{
"releases": [
{
"version": "1.2.3",
"releasedAt": "2026-01-01T00:00:00Z",
"prerelease": false,
"notes": "What changed",
"assets": [
{
"name": "app-linux-x64.zip",
"url": "https://example.com/app-linux-x64.zip",
"size": 123456,
"sha256": "…64 hex characters…"
}
]
}
]
}
releasedAt may be an ISO 8601 string or a Unix timestamp. os, architecture and format are inferred from name
when they're absent. sha256 is optional; without it the app is unchecked.
Adding a provider
Providers live in packages/api/src/providers/. A provider implements RepositoryProvider (types.ts): releases,
optional readme/rateLimit, webUrl, and optional token help. Register it in registry.ts and add its known hosts.
The launcher's UI picks it up from PROVIDERS; no page needs to know its name.