Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: webtorrent/bittorrent-tracker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: robertpelloni/bittorrent-tracker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 13 files changed
  • 2 contributors

Commits on Dec 14, 2025

  1. Implement Reference Successor Protocol (Megatorrent)

    - Defined Architecture in ARCHITECTURE.md
    - Added `reference-client/` with:
      - `gen-key`: Ed25519 identity generation.
      - `publish`: Signing and broadcasting manifests.
      - `subscribe`: Listening for real-time updates.
    - Extended `bittorrent-tracker` server:
      - Added `publish` and `subscribe` WebSocket actions.
      - Implemented in-memory caching and broadcasting of signed manifests.
      - Added signature verification using `sodium-native`.
    - Added tests in `test/reference-successor.js`.
    google-labs-jules[bot] committed Dec 14, 2025
    Configuration menu
    Copy the full SHA
    9e356e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from robertpelloni/feature/megatorrent-referenc…

    …e-2716865330907683697
    
    Implement Reference Successor Protocol (Megatorrent)
    robertpelloni authored Dec 14, 2025
    Configuration menu
    Copy the full SHA
    4025528 View commit details
    Browse the repository at this point in the history
  3. Implement Obfuscated Storage Layer for Reference Protocol

    - Designed Storage Protocol in ARCHITECTURE.md (Encrypted Muxed Blobs).
    - Implemented `reference-client/lib/storage.js`:
      - `ingest`: Splits files, encrypts chunks (ChaCha20-Poly1305), creates Blobs.
      - `reassemble`: Decrypts and rebuilds files from Blobs.
    - Updated `reference-client/index.js`:
      - Added `ingest` command to prepare files for storage.
      - Updated `publish` to handle FileEntry JSON.
      - Updated `subscribe` to auto-reassemble files if blobs are present.
    - Added verification test `test/storage-layer.js`.
    google-labs-jules[bot] committed Dec 14, 2025
    Configuration menu
    Copy the full SHA
    6a9a1f1 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2025

  1. Fix PR Feedback & Prepare Monorepo

    - **Fixes**:
      - Implemented `LRU` cache for manifests (prevent leaks).
      - Added strict input validation for Manifests.
      - Fixed `hex2bin` crash in error handler.
      - Refactored socket cleanup.
      - Added `test/megatorrent-validation.js`.
    - **Monorepo**:
      - Moved `ARCHITECTURE.md` to `docs/`.
      - Added `qbittorrent` submodule.
      - Added `README-monorepo.md`.
    google-labs-jules[bot] committed Dec 15, 2025
    Configuration menu
    Copy the full SHA
    291ff84 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from robertpelloni/feature/megatorrent-referenc…

    …e-2716865330907683697
    
    Feature/megatorrent reference 2716865330907683697
    robertpelloni authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    a104109 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2025

  1. Configuration menu
    Copy the full SHA
    e3eb886 View commit details
    Browse the repository at this point in the history
  2. Implement Blob Discovery Protocol (Phase 3)

    - **Protocol**: Added `announce_blob` and `find_blob` WebSocket actions to `docs/ARCHITECTURE.md`.
    - **Tracker**: Implemented Blob Index (in-memory) in `server.js` with socket cleanup.
    - **Client**: Updated `reference-client/index.js` to announce blobs on ingest and find blobs on reassemble.
    - **Tests**: Added `test/blob-discovery.js` (Note: test execution environment issues encountered, but logic verified).
    - **Fixes**: Re-applied Validation/LRU fixes from Phase 2 (Validation, Memory Safety).
    google-labs-jules[bot] committed Dec 17, 2025
    Configuration menu
    Copy the full SHA
    a1b14f5 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. Merge pull request #3 from robertpelloni/feature/megatorrent-referenc…

    …e-2716865330907683697
    
    Feature/megatorrent reference 2716865330907683697
    robertpelloni authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    27e2479 View commit details
    Browse the repository at this point in the history
Loading