OpenCrate

Catalogue updates without a release

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.

How it stays safe

One-time setup

  1. Create the signing key:

    npm run catalog:keygen
    
    • The private key is saved to ~/.opencrate/catalog-signing-key.pem (C:\Users\<you>\.opencrate\ on Windows). It is never inside the project folder.
    • The public key is written to src/catalog-public-key.pem, and src/integrity.json is updated.
  2. 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.

  3. 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.

Publishing new or corrected apps

  1. Edit src/catalog.json (Windows) and/or src/catalog-linux.json (Linux).
  2. Check your changes:

    npm run catalog:validate
    
  3. 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.

  4. Commit and push the 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

Options

Translations for new apps

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.

If something goes wrong

Weekly freshness check

.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).