Since 1.6.2, OpenCrate can pick up a newer software catalogue on its own. You add or fix
apps in src/catalog.json / src/catalog-linux.json, sign them, push — and every
OpenCrate 1.6.2 or newer loads them within 12 hours, without a new version.
src/catalog-public-key.pem) and ignores any file whose signature does not
match — even if someone gained access to the GitHub repository.Create the signing key:
npm run catalog:keygen
~/.opencrate/catalog-signing-key.pem
(C:\Users\<you>\.opencrate\ on Windows). It is never inside the project folder.src/catalog-public-key.pem, and src/integrity.json is
updated.Back up the private key (a password manager or an encrypted USB stick). Without it you cannot publish catalogue updates for the versions that contain this public key. Never commit it, and never paste it into an issue or chat.
Commit src/catalog-public-key.pem and src/integrity.json, and release a new OpenCrate version
(for example 1.6.2). Catalogue updates work for every version that contains the public key.
Until a version with a public key is released, OpenCrate says “This build has no catalogue signing key” in Settings and keeps using the catalogue it came with.
src/catalog.json (Windows) and/or src/catalog-linux.json (Linux).Check your changes:
npm run catalog:validate
Sign and publish:
npm run catalog:publish
This writes catalog/catalog-windows.json, catalog/catalog-linux.json and their .sig
files, gives them a new serial (for example 2026120301), stamps the same serial into the
src/catalog*.json files (so the next release does not download what it already has), and
updates src/integrity.json. It prints how many apps were added or removed.
catalog/ folder together with src/catalog*.json and src/integrity.json
to the main branch.OpenCrate downloads from
https://raw.githubusercontent.com/Vasilakious/OpenCrate/main/catalog/catalog-<windows|linux>.json.
People get the update within 12 hours, or straight away with Settings → Catalogue updates →
Check now. New apps appear in Explore with a short message naming them.
To check what is published at any time:
npm run catalog:verify
--key <file>: use a private key stored somewhere else. The OPENCRATE_CATALOG_KEY environment
variable (holding the PEM text) works too.--min-app <version>: only OpenCrate versions from <version> on may use this catalogue. Use it
if a catalogue relies on a field that older versions do not understand.New app descriptions show in English until translated. To ship translations with the catalogue,
create catalog/translations-el.json and/or catalog/translations-es.json as
{ "English text": "translation" } before publishing. Only entries used by the catalogue are
included, and they never replace a translation that ships with the app.
npm run catalog:verify; make sure the catalog/ files are
pushed to main. GitHub’s raw file cache can take a few minutes.npm run catalog:keygen -- --force and release a new
version with the new public key. Older versions will keep their current catalogue until updated..github/workflows/catalog-freshness.yml runs every Monday (and on demand from the Actions tab). It
checks that every WinGet ID still exists in winget-pkgs, every Flathub ID still resolves (and flags
apps that reached end-of-life, with their replacement), and every link still answers. Problems are
listed in the run summary and in one issue titled Catalogue freshness report, which is closed
automatically when everything works again. Fix the entries, then publish — no release needed.
Run it locally with npm run catalog:check (set GITHUB_TOKEN to avoid GitHub’s rate limit).