I started building a command line peer-to-peer data transfer tool based on libp2p.
You can find it here: GitHub - dennis-tra/pcp: Command line peer-to-peer data distribution tool. Peer CoPy
The tool is in a very early stage and I’m aware of security, performance and usability issues. For now it works in the limited scope of transfering files in your local network. Don’t use it for anything serious. There is already a very good Go implementation named
My motivation to build a new tool is to levarage the peer-to-peer networking stack that is provided by libp2p. In the future
pcp should also enable two peers in different networks to exchange files via a relay. I’m not sure how croc chooses relay servers but I guess there is just a limited set which puts the power to a limited number of service providers and is therefore a centralization concern (if my assumption is correct). By using libp2ps experimental autorelay feature I think
pcp takes another step into a more decentralized world.
Let me know what you think