A Node.js Docker application that polls an API at a configurable interval and distributes changes to connected WebSocket clients via events. Version 1.0.5 is the latest stable release, with no further updates expected. Designed specifically for polling JSON endpoints and emitting only changed fields as WebSocket events, it differs from general-purpose WebSocket libraries by including built-in polling, diffing, and event mapping via a config.json file. Requires SSL certificates for secure WSS and runs exclusively in Docker.
npm install api-websocket-bridgeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows complete setup: config file, Docker build/run, and client-side WebSocket connection.
Install Docker and run via container as documented.
Ensure valid fullchain.pem and privkey.pem files are mounted into /app/cert.
Implement separate initial fetch if you need the current state on connection.
Lock to specific version and review changelog before upgrading.
Mount the correct host path: docker run -v /host/path/to/fullchain.pem:/app/cert/fullchain.pem ...
Run container with -p 8080:8080 and ensure host firewall allows inbound on port 8080.
docker run -v /path/to/config:/app/config