OverviewFilesCommitsIssuesDocsReleasesPeers

ap-bridge / package.json

89 lines · json ref:
{
  "name": "ap-bridge",
  "version": "0.10.22",
  "description": "ActivityPub membrane \u2014 a second projection of the self-custody atproto peer",
  "type": "module",
  "main": "index.js",
  "scripts": {
    "test": "brittle-bare test/*.test.js",
    "spike:rsa": "bare spike/rsa-vector.mjs",
    "start": "bare index.js"
  },
  "dependencies": {
    "atproto-did-peer": "file:../atproto-did-peer",
    "atproto-identity": "file:../atproto-identity",
    "atproto-repo": "file:../atproto-repo",
    "atproto-store": "file:../atproto-store",
    "b4a": "^1.8.1",
    "bare-crypto": "^1.5.0",
    "bare-fs": "^4.7.4",
    "bare-http1": "^4.5.7",
    "bare-https": "^3.0.0",
    "bare-os": "^3.9.3",
    "bare-path": "^3.1.1",
    "bare-process": "^4.5.1",
    "bare-subprocess": "^5.0.0",
    "compact-encoding": "^2.19.0",
    "corestore": "^7.4.0",
    "favela-identity": "file:../favela-identity",
    "favela-markdown": "file:../favela-markdown",
    "favela-peer": "file:../favela-peer",
    "hyper-overlay": "file:../hyper-overlay",
    "hyper-svc": "file:../hyper-svc",
    "hypercore-crypto": "^3.7.0",
    "hyperswarm": "^4.17.0",
    "protomux": "^3.11.0",
    "protomux-rpc": "^1.10.0"
  },
  "devDependencies": {
    "anproto": "file:../anproto",
    "brittle": "^3.0.0",
    "keet-identity-key": "3.2.0",
    "@hyperswarm/secret-stream": "^6.9.1"
  },
  "license": "MIT",
  "pgh": {
    "bin": "ap-bridge",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/ap-bridge",
    "entrypoint": "index.js",
    "type": "daemon",
    "runtime": "bare",
    "autostart": true,
    "depends": [
      "pgh-sidecar"
    ],
    "defaults": {
      "env": {
        "AP_BIND": "0.0.0.0",
        "AP_PORT": "3400",
        "AP_HOST": "ap.7rnx.net",
        "AP_USERNAME": "p2p",
        "AP_DATA_DIR": "${HOME}/.config/ap-bridge",
        "AP_PRIVATE_KEY": "${HOME}/.config/ap-bridge/actor.key",
        "AP_PUBLIC_KEY": "${HOME}/.config/ap-bridge/actor.pub",
        "AP_ALSO_KNOWN_AS": "did:plc:wj62ebbusln6gxo5azo6ogzo",
        "AP_DID": "did:plc:wj62ebbusln6gxo5azo6ogzo",
        "AP_BACKFILL": "20",
        "AP_REGISTRATION": "open",
        "AP_ADMIN_PORT": "3401",
        "AP_ADMIN_BIND": "0.0.0.0"
      }
    },
    "readiness": {
      "type": "http",
      "port": 3400,
      "timeoutMs": 30000
    },
    "service": {
      "port": 3400,
      "host": "0.0.0.0",
      "requiresNetwork": true
    },
    "systemd": {
      "user": true,
      "enable": true,
      "restart": "on-failure"
    }
  }
}