OverviewFilesCommitsIssuesDocsReleasesPeers

favela-gateway / package.json

90 lines · json ref:
{
  "name": "favela-gateway",
  "version": "0.6.6",
  "description": "The favela gateway: the bsky membrane (atproto-bridge) and the fediverse bridge (ap-bridge) in one process, keyless towards atproto. Later roles: the bsky lens and a blind seeder (hyper-social #80).",
  "type": "module",
  "main": "lib/gateway.js",
  "bin": {
    "favela-gateway": "bin/favela-gateway.js"
  },
  "scripts": {
    "test": "brittle-bare test/*.test.js"
  },
  "dependencies": {
    "@ipld/dag-cbor": "^9.2.1",
    "ap-bridge": "file:../ap-bridge",
    "atproto-bridge": "file:../atproto-bridge",
    "atproto-identity": "file:../atproto-identity",
    "b4a": "^1.6.7",
    "bare-fs": "^4.8.1",
    "bare-net": "^2.3.3",
    "bare-os": "^3.9.3",
    "bare-path": "^3.1.2",
    "bare-process": "^4.5.1",
    "bare-ws": "^3.2.0",
    "favela-bridge": "file:../favela-bridge",
    "hyper-svc": "file:../hyper-svc"
  },
  "devDependencies": {
    "bare-http1": "^4.5.7",
    "brittle": "^3.5.0",
    "keet-identity-key": "3.2.0"
  },
  "pgh": {
    "bin": "favela-gateway",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/favela-gateway",
    "entrypoint": "bin/favela-gateway.js",
    "type": "daemon",
    "runtime": "bare",
    "autostart": true,
    "depends": [
      "pgh-sidecar"
    ],
    "defaults": {
      "env": {
        "GATEWAY_ROLES": "membrane,fediverse,lens",
        "LENS_FEEDS": "loser-club=91ce4dbcb6b4fe0cfa489582cb9931923c05e0d14cf0a5c939d8334edefe21ed",
        "LENS_LABELER_SOCK": "${HOME}/.config/hyper-proto-peer/data/dids/a63702bcab2089f6/control.sock",
        "GATEWAY_SOCK": "${HOME}/.config/favela-gateway/svc.sock",
        "PDS_BIND": "0.0.0.0",
        "PDS_PORT": "3399",
        "PDS_STORAGE": "${HOME}/.config/atproto-bridge/data",
        "PDS_CRAWL_RELAY": "https://bsky.network",
        "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": "uds",
      "path": "${HOME}/.config/favela-gateway/svc.sock",
      "timeoutMs": 30000
    },
    "service": {
      "port": 3399,
      "host": "0.0.0.0",
      "requiresNetwork": true
    },
    "stage": {
      "ignore": [
        "test/"
      ]
    }
  },
  "overrides": {
    "bare-assert": "1.2.0",
    "bare-dns": "2.2.0",
    "bare-type": "1.1.1"
  }
}