Repository navigation
Package Repositories
TwilightMC publishes signed APT and RPM repositories on GitHub Pages.
They are rebuilt from the newest release of every channel by
pkg-repo.yml
and signed with the project's package key.
- Landing page: https://blackcatofficialytb.github.io/TwilightMC-OSS/
-
APT root:
https://blackcatofficialytb.github.io/TwilightMC-OSS/apt -
RPM root:
https://blackcatofficialytb.github.io/TwilightMC-OSS/rpm -
Public key:
https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg
The package is named twilight-mc and installs the desktop GUI as
/usr/bin/twilight-ui with a desktop entry and icons. The dependency-free
twilight CLI is shipped in the portable archives, not in the system package.
| Channel | APT suite | RPM path |
|---|---|---|
| Stable | stable |
rpm/stable/$basearch |
| Star (beta) | beta |
rpm/beta/$basearch |
| Bolide (alpha) | alpha |
rpm/alpha/$basearch |
| Snapshot | snapshot |
rpm/snapshot/$basearch |
Each channel indexes the newest release of that channel. Older versions remain available as direct downloads on the releases page.
Supported architectures: amd64 / x86_64 and arm64 / aarch64.
# 1. import the repository key
curl -fsSL https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg \
| sudo gpg --dearmor -o /usr/share/keyrings/twilightmc.gpg
# 2. add the stable channel
echo "deb [signed-by=/usr/share/keyrings/twilightmc.gpg] https://blackcatofficialytb.github.io/TwilightMC-OSS/apt stable main" \
| sudo tee /etc/apt/sources.list.d/twilightmc.list
# 3. install
sudo apt update
sudo apt install twilight-mcSwitch stable for beta, alpha or snapshot in the source line to follow
another channel. You can keep several lines; APT picks the highest version
unless you pin a suite.
/etc/apt/preferences.d/twilightmc:
Package: twilight-mc
Pin: release n=stable
Pin-Priority: 900
Package: twilight-mc
Pin: release n=beta
Pin-Priority: 500
gpg --verify /var/lib/apt/lists/*TwilightMC*InRelease 2>/dev/null || true
apt-cache policy twilight-mcThe InRelease file is clearsigned and Release.gpg is a detached signature.
APT verifies them automatically through signed-by=.
Create /etc/yum.repos.d/twilightmc.repo:
[twilightmc-stable]
name=TwilightMC Stable
baseurl=https://blackcatofficialytb.github.io/TwilightMC-OSS/rpm/stable/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpgThen:
sudo dnf install twilight-mcgpgcheck=1 verifies the package signature; repo_gpgcheck=1 verifies
repodata/repomd.xml through repomd.xml.asc. Both are signed by the same key.
For another channel, copy the block and replace stable in the section name
and baseurl with beta, alpha or snapshot.
sudo rpm --import https://blackcatofficialytb.github.io/TwilightMC-OSS/keyring/pubkey.gpg
rpm -qpi /var/cache/dnf/twilightmc-*/packages/*.rpm | head
dnf repolist --verbose twilightmc-stable- A channel workflow (
snapshot,alpha,beta,release) finishes and publishes its.deb/.rpmassets. -
pkg-repo.ymlwaits for that workflow to complete, then downloads the newest release of each channel. -
packaging/repo/build_pkg_repo.shstages packages by channel and architecture, de-duplicates identical name/version/arch builds, generatesPackages/Packages.gz/Releasefor APT andrepodatafor RPM, signsInRelease,Release.gpg,repomd.xml.ascand the RPM packages, and writes the landing page. - The tree is uploaded as a Pages artifact and deployed to
https://blackcatofficialytb.github.io/TwilightMC-OSS/.
Signing uses the PKG_GPG_KEY_ID, PKG_GPG_PRIVATE_KEY and
PKG_GPG_PASSPHRASE repository secrets. Without them the workflow publishes an
unsigned repository and warns in the log.
| Symptom | Fix |
|---|---|
NO_PUBKEY / The following signatures couldn't be verified
|
re-import the key with the curl + gpg --dearmor command; check the signed-by= path |
404 Not Found on apt update
|
the suite must be one of stable, beta, alpha, snapshot
|
404 on DNF |
$basearch must be x86_64 or aarch64; check the channel in baseurl
|
Hash Sum mismatch |
clear the APT lists (sudo apt clean && sudo apt update) — a deploy may have been mid-flight |
package twilight-mc is not available |
that channel has no package yet, or your architecture is not built; try stable
|
twilight: command not found |
the package ships the GUI only; download the portable archive for the CLI |
| DNF rejects the repo metadata | confirm repo_gpgcheck=1 and that gpgkey= points at the current key |
- The repositories are served over HTTPS from GitHub Pages.
- The key is published at a stable URL; the private key exists only in GitHub Actions secrets.
- Packages are unsigned upstream binaries wrapped by Tauri; the repository signature proves the package came from the project's workflow, not that the application binary carries a commercial code-signing certificate. See Installation for archive checksums.
TwilightMC is free software under AGPL-3.0-or-later · Report a bug · Releases · Discord
Start here
Using it
Under the hood
Project