You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will record the download, then redirect the user to github.com/GH_Username/Repo/releases/Release_Number/File_Name.ext
Usage (Page Views):
Add <link href="https://Your.Worker.workers.dev?page=/path/to/page" rel="prerender" /> to any of your pages. This will send a single request to the worker on page load, which then records it.
E.G: https://Your.Worker.workers.dev?page=/downloads/download-recorder
Usage (Discord webhook):
Add a env variable url with your discord webhook url.
Add a cron trigger to the worker, to send the stats to the webhook.
About
A simple Cloudflare worker, that records download numbers for TheAlienDoctor.com