APM Network

APM Network is a decentralized discovery layer for AppImages. It connects developers and users through a WebSub-based hub so that new releases are distributed automatically without central registries.

Overview

APM does not have a central package registry. Instead, developers host their own AppImages and announce new versions to the APM Network hub. App stores and CLI clients subscribe to the hub and receive push notifications when new versions are available.

How it works

  1. A developer publishes a new AppImage version on their website/GitHub.
  2. They send a signed notification to the APM Network hub.
  3. The hub verifies the signature via DNS.
  4. The hub pushes the update to all subscribers (like your APM CLI).

Publishing notifications

To announce a new version, send a signed JSON POST to the hub. APM CLI handles this automatically when you use apm publish.

{
  "domain": "yourdomain.com",
  "name": "myapp",
  "version": "1.2.0",
  "arch": "x86_64",
  "download_url": "https://yourdomain.com/myapp-1.2.0-x86_64.AppImage",
  "zsync_url": "https://yourdomain.com/myapp-1.2.0-x86_64.AppImage.zsync",
  "sha256": "a1b2c3...",
  "signature": "<ed25519-signature>",
  "sandbox": {
    "network": true,
    "filesystems": ["~/.myapp:rw"]
  }
}