Skip to content

Releases: iksnerd/weightless

v0.2 — Open tracker mode, configurable branding, improved tests

30 Mar 20:12

Choose a tag to compare

New features:

  • OPEN_TRACKER=true env var — disables registry-only check, accepts any info_hash

Fixes:

  • Fix flaky TestAnnounceCompletedEvent (background pruner race condition)

Tests:

  • 24 CLI tests (up from 9), organized with shared helpers
  • CLI coverage: 53.7% → 64.6%
  • Total coverage: 73.7% → 74.7%

Docs:

  • Document all env vars (OPEN_TRACKER, WL_TRACKER, WL_SOURCE, WL_CREATED_BY, TRACKER_SECRET) in README

v0.1 — Hybrid BitTorrent v1+v2 Tracker, CLI, and Library

30 Mar 19:37

Choose a tag to compare

Initial public release.

Tracker:

  • BEP 3/7/48/52 announce and scrape with hybrid v1+v2 support
  • Registry API with structured metadata
  • In-memory swarm state with SQLite persistence (WAL mode, zero-CGO)
  • HMAC-SHA256 stateless passkey auth
  • Rate limiting, registry-only tracking, Prometheus metrics

CLI:

  • wl create — hybrid v1+v2 torrent creation + tracker registration
  • Configurable source branding and tracker URL via env vars

Library:

  • Pure Go torrent creation (internal/torrent/)
  • SHA-256 Merkle trees + SHA-1 v1 pieces, zero-CGO