P2P File Sharing Across NATs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 624
- Forks
- 256
- Avg merge
- 1d 34m
- Merged PRs (30d)
- 47
Description
Problem: Developers struggle to share data between devices behind NAT/firewalls.
Idea: Build a lightweight file-sharing app where peers can discover each other via peerstore and exchange files using NAT traversal (STUN/relay if needed).
Hack Value: Shows off both NAT traversal and the practical use of peerstore for persisting and reconnecting to peers.
Demo Impact: Two laptops behind different Wi-Fi routers sending files directly peer-to-peer without central servers.
Required Outcome: We will add the top 5 implementations at the main py-libp2p repository (new section: product-innovation).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing py-libp2p's existing peerstore and NAT traversal capabilities, including STUN or relay support. Define the peer-discovery and file-exchange scope for two laptops behind different routers, then verify the result with a direct peer-to-peer transfer demo. The required outcome also mentions adding the top five implementations to a new product-innovation section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100