This is a simple Cloudflare Worker that enables push notifications on devices running VoIP.ms SMS by forwarding SMS callbacks for a particular DID from VoIP.ms.
To protect the privacy of VoIP.ms SMS users, when receiving a callback for a DID, the function simply sends an empty message to a Firebase Cloud Messaging topic equal to that DID. It does not process or store the text of individual messages.
Consult the Cloudflare Workers documentation for information on how to use Cloudflare Workers. You will have to rebuild VoIP.ms SMS from source in order to use your own Cloudflare Worker.
Cloudflare Worker for VoIP.ms SMS is licensed under the Apache License 2.0.