The backend implementation for the Clap Button web component.
It is written as a Worker Environment using Worker Tools as a web framework.
Currently it can only run on Cloudflare Workers, but an experimental Deno build exists that should work once Service Workers and the Web Cryptography API land in Deno.
This software is licensed under the permissive MIT license, but two sub-modules remain closed-source and are excluded from this distribution:
- The Billing Module has been removed to prevent launching of zero-effort competing services.
- The Data Access Module has been removed to hide the dependency on a proprietary database technology, and also prevent launching of zero-effort competing services.
Note that
- the billing module is an optional extension that is not required for running a personal Clap Button API backend.
- the data access interface is included in this distribution and anyone is encouraged to provide their own implementation.