Files
HellCon/package.json
T
SchluffeandClaude Opus 5.5 ac4d496a48 Version the protocol for 1.0, fail downloads the page abandoned
PROTOCOL (hellcon/1) goes in front of the PBKDF2 salt and names the data
channel, so different versions never meet via a tracker and the manual
receiver tells a sender on another protocol apart. The footer shows it, the
receiver's hints ask to compare it. Forks are asked to name their own.

public/sw.js and the page exchange a VERSION, a mismatch fails the download
with outdated. The worker fails a download after 20 s without a chunk or
ping from its page, else Firefox saves the truncated file of a closed tab as
complete.

The build uses relative links and works under any path. On https only wss:
trackers and ws: to this device are accepted, one the browser refuses to
open counts as lost. Also: a file read short stops the transfer, an offer
waiting on a lost tracker isn't answered, a share ended while its key was
derived opens no tracker, and tracker and receiver errors lose hidden
characters. The README lists what isn't planned and the phone limitation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:10:09 +01:00

39 lines
930 B
JSON

{
"name": "hellcon",
"private": true,
"version": "1.0.0",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview",
"typecheck": "vue-tsc",
"lint": "biome check",
"format": "biome check --write",
"test": "vitest run && playwright test",
"test:unit": "vitest",
"test:e2e": "playwright test",
"test:install": "playwright install chromium firefox",
"test:large": "LARGE=1 playwright test -g large"
},
"dependencies": {
"vue": "^3.5.44"
},
"devDependencies": {
"@biomejs/biome": "2.6.3",
"@playwright/test": "^1.64.1",
"@types/node": "^26.6.6",
"@vitejs/plugin-vue": "^6.0.10",
"typescript": "~6.0.3",
"vite": "^8.3.5",
"vitest": "^5.0.5",
"vue-tsc": "^3.3.13",
"ws": "8.22.0"
},
"engines": {
"node": ">=26.12.1"
},
"packageManager": "pnpm@12.16.1"
}