flood icon indicating copy to clipboard operation
flood copied to clipboard

chore: upgrade create-torrent

Open euri10 opened this issue 1 month ago • 5 comments

Description

current version of create-torrent doesnt seem to limit the torrent piece size which is problematic as certain trackers will refuse the created .torrent

latest version of create-torrent defaults the max piece size of a torrent to 4MB

a lot of sites prevent having a piece size above 8MB so its good to have that

Related Issue

Screenshots

Types of changes

  • [ ] Breaking change (changes that break backward compatibility of public API or CLI - semver MAJOR)
  • [ ] New feature (non-breaking change which adds functionality - semver MINOR)
  • [ ] Bug fix (non-breaking change which fixes an issue - semver PATCH)

euri10 avatar Nov 13 '25 08:11 euri10

use pnpm please

trim21 avatar Nov 13 '25 08:11 trim21

@claude review, fix and validate the PR. and maybe we should have more options in “Create Torrent” panel.

jesec avatar Nov 13 '25 09:11 jesec

Claude encountered an error —— View job

Failed with exit code 128

I'll analyze this and get back to you.

claude[bot] avatar Nov 13 '25 09:11 claude[bot]

1st time i hear about pnpm, hopefully i get this right, if not claude will ;)

euri10 avatar Nov 13 '25 09:11 euri10

looks like there are some breaking changes

trim21 avatar Nov 13 '25 10:11 trim21

looks like we will need to migrate from jest to vitest so we can use this esm only package in testing.

trim21 avatar Dec 17 '25 09:12 trim21

I'll fix it later, close it for now

trim21 avatar Dec 17 '25 09:12 trim21