# mpetazzoni/ttorrent

BitTorrent Java library with tracker and download client

Repository: https://github.com/mpetazzoni/ttorrent
Canonical: https://ross.abutalabs.com/products/ttorrent
Homepage: http://mpetazzoni.github.com/ttorrent/
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2024-10-09T19:21:37+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5546, "days_push": 693, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1416, forks 495 (observed 2026-08-28T04:04:39.968660+00:00)

## What it is
Ttorrent is a pure-Java implementation of the BitTorrent protocol providing a tracker, a download client, and torrent metainfo file creation/parsing. It is designed to be embedded into larger applications, though its components can also run standalone.

## Use cases
- embed BitTorrent-based file distribution in a Java application
- run a BitTorrent tracker in Java
- create and parse .torrent metainfo files
- distribute build artifacts to many machines efficiently
- download torrents programmatically from Java

## When to choose
- you need a simple, embeddable Java BitTorrent library without fancy protocol extensions
- you want both client and tracker functionality in one library
- you need to distribute files to many machines over a datacenter network

## When to avoid
- you need a full-featured end-user torrent client with a GUI
- you require advanced protocol extensions like DHT, magnet links, or encryption
- you are not working on the JVM

## Facets
- artifact type: library
- maturity: active
- function: p2p, networking, file-system, serialization
- domain: networking, files, developer-tools
- platform: jvm, cross-platform
- tags: bittorrent, torrent-tracker, torrent-client, metainfo, p2p-file-sharing

## Member repositories
- mpetazzoni/ttorrent (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:39.968660+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:06.294171+00:00, confidence not recorded.
  - readme: https://github.com/mpetazzoni/ttorrent (fetched 2026-08-28T04:04:39.968660+00:00, sha 58d1591dfcd1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
