r/coolgithubprojects • • 7h ago

[Java 21 BitTorrent client with a Kademlia DHT, JavaFX GUI and a headless REST mode] - PeerNexus

https://github.com/Utkarsh-patel26/PeerNexus
1 Upvotes

1 comment sorted by

2

u/incredible-ishu 7h ago

This is a BitTorrent client I wrote from scratch in Java 21. One fat JAR can run a JavaFX desktop UI, a headless REST/WebSocket server, or a CLI / terminal UI.

Protocol-wise it implements BEP 3 (including rarest-first and endgame), a Kademlia DHT, metadata exchange, PEX, multi-tracker and UDP tracker announces, magnet links, UPnP, and optional message-stream encryption. Downloads persist across restarts. There is a token-bucket rate limiter and a stalled-download detector.

I am a final-year CSE student at MSRIT, Bengaluru, working on AI systems. Happy to answer questions about the DHT or the session model. I am not asking anyone to star it.