mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Integrates WebTorrent client-side seeding into the Cloudflare R2 upload path. - Adds `uploadFile` to `r2Service` for generic file uploads. - Updates `UploadModal` to offer an optional "Create torrent & seed" flow. - Generates magnet links and .torrent files in the browser after R2 upload. - Uploads the .torrent file to R2 and populates `xs` tag. - Populates `ws` (Web Seed) with the R2 public URL. - Adds UI progress indicators for hashing and torrent upload. - Enforces a 2GB file size limit for browser seeding to prevent crashes. - Adds a mandatory legal rights confirmation checkbox for R2 uploads.