Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 554 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 554 Bytes

WorkerDownloadRecorder

A simple cloudflare worker, that records download numbers

Install:

  • Clone repo
  • Install dependencies
  • Run wrangler deploy
  • Attach a KV to this worker (see below) Alt text

Usage:

  • Change your download links to https://Your.Worker.workers.dev/reder?url=GH_Username/Repo?file=RELEASE-NUM/FILENAME.zip
    E.G: download.niceygy.worker.dev/reder?url=niceygylive/niceygylive.xyz?file=1.2.1/setup.exe
  • It will record the download, then redirect the user to github.com/GH_Username/Repo/releases