OverviewFilesCommitsIssuesDocsReleasesPeers

atproto-bridge / package.json

115 lines · json ref:
{
  "name": "atproto-bridge",
  "version": "0.9.56",
  "description": "Stateless keyless atproto MEMBRANE \u2014 fronts self-custody hyper-proto-peers to bluesky over HTTP/WS, holds no keys and never signs. Bare-runnable. Deploy root / flat closure over the identity+repo+store+pds packages.",
  "type": "module",
  "main": "index.js",
  "bin": {
    "atproto-bridge": "index.js"
  },
  "scripts": {
    "deps": "for p in pds; do (cd $p && npm install --no-audit --no-fund); done && npm install --no-audit --no-fund",
    "postinstall": "node scripts/bare-deps.mjs pds .",
    "smoke": "node scripts/smoke.mjs",
    "start": "bare index.js"
  },
  "dependencies": {
    "@ipld/car": "^5.4.0",
    "@ipld/dag-cbor": "^9.2.1",
    "@noble/curves": "^1.9.7",
    "@noble/hashes": "^1.5.0",
    "@scure/bip32": "^1.5.0",
    "@scure/bip39": "^1.4.0",
    "atproto-did-peer": "file:../atproto-did-peer",
    "atproto-identity": "file:../atproto-identity",
    "atproto-repo": "file:../atproto-repo",
    "atproto-store": "file:../atproto-store",
    "b4a": "^1.6.0",
    "bare-fetch": "^3.0.1",
    "bare-fs": "^4.7.3",
    "bare-http1": "^4.5.7",
    "bare-https": "^3.0.0",
    "bare-os": "^3.9.3",
    "bare-path": "^3.0.1",
    "bare-process": "^4.5.0",
    "bare-url": "^2.4.5",
    "bare-ws": "^3.0.0",
    "blind-pairing": "^2.3.1",
    "compact-encoding": "^2.16.0",
    "corestore": "^7.4.0",
    "favela-community": "file:../favela-community",
    "hyper-svc": "file:../hyper-svc",
    "hyperbee": "^2.20.0",
    "hypercore-crypto": "^3.0.0",
    "hyperswarm": "^4.17.0",
    "keet-identity-key": "^3.2.0",
    "multiformats": "^13.3.0",
    "protomux": "^3.11.0",
    "protomux-rpc": "^1.10.0",
    "random-access-memory": "^6.2.0",
    "ws": "^8.18.0",
    "favela-identity": "file:../favela-identity",
    "bare-crypto": "^1.5.0"
  },
  "devDependencies": {
    "@hyperswarm/testnet": "^3.0.0"
  },
  "imports": {
    "#node:fs": {
      "bare": "bare-fs",
      "default": "fs"
    },
    "#node:os": {
      "bare": "bare-os",
      "default": "os"
    },
    "#node:path": {
      "bare": "bare-path",
      "default": "path"
    },
    "#node:url": {
      "bare": "bare-url",
      "default": "url"
    },
    "#node:process": {
      "bare": "bare-process",
      "default": "process"
    }
  },
  "pgh": {
    "bin": "atproto-bridge",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/atproto-bridge",
    "entrypoint": "index.js",
    "type": "daemon",
    "runtime": "bare",
    "autostart": true,
    "depends": [
      "pgh-sidecar"
    ],
    "defaults": {
      "env": {
        "PDS_BIND": "0.0.0.0",
        "PDS_PORT": "3399",
        "PDS_STORAGE": "${HOME}/.config/atproto-bridge/data",
        "PDS_SOCK": "${HOME}/.config/atproto-bridge/svc.sock",
        "PDS_CRAWL_RELAY": "https://bsky.network"
      }
    },
    "readiness": {
      "type": "uds",
      "path": "${HOME}/.config/atproto-bridge/svc.sock",
      "timeoutMs": 30000
    },
    "service": {
      "port": 3399,
      "host": "0.0.0.0",
      "requiresNetwork": true
    },
    "systemd": {
      "user": true,
      "enable": true,
      "restart": "on-failure"
    }
  }
}