Add file transfer PoC with manual and tracker signaling

- Core in src/main.ts: manual SDP copy/paste exchange (default, no
  tracker) and optional WebTorrent tracker signaling, STUN opt-out
- Fingerprint security check, sender confirms before sending
- ICE gathering stops after the first STUN result (5 s hard cap)
- Receiver writes to OPFS via an inline dedicated worker instead of RAM
- Playwright e2e suite across Chromium/Firefox and all signaling modes,
  opt-in 2.5 GiB transfer test (pnpm test:large)
- TODO.md with review findings and the service worker plan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
SchluffeandClaude Opus 5.5 committed 2026-10-22 00:35:36 +02:00
1 parent 24307eb96a
commit aea75fff92
8 files changed
+670 -4

No files matched your search

+5 -1
View File
@@ -8,12 +8,16 @@
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"typecheck": "vue-tsc"
"typecheck": "vue-tsc",
"test": "playwright test",
"test:install": "playwright install chromium firefox",
"test:large": "LARGE=1 playwright test -g large"
},
"dependencies": {
"vue": "^3.5.44"
},
"devDependencies": {
"@playwright/test": "^1.64.1",
"@types/node": "^26.6.5",
"@vitejs/plugin-vue": "^6.0.10",
"typescript": "~6.0.3",