On https://bitfocus.io, we list out all our connections (companion modules), and this is the worker that generates the JSON file, which then in turn gets stored in memory in redis, ready to be served to the website frontend/api users.
This script runs as a cronjob on the Bitfocus' Kubernetes cluster in Oslo once every 24 hours.
Ask @willosof on the Bitfocus slack.
Release new versions to the production cluster by running yarn release
kubectl -n bitfocus create secret generic bitfocus-companion-worker-modules --from-literal=api-secret=<new secret>
William Viker ([email protected]) / Bitfocus AS