Want to do a P2P-based LAN file transfer site, ask for guidance!

I, Xiaobai, want to do a P2P file transfer website in the local area network during the winter vacation. The assumption is: after entering this web page, you can choose to send or wait for receiving. After choosing to send, you can send files to other users in the local area network who choose to be waiting to receive.
I wrote the above function in python, and I can send files to other users on the local area network, but only on the command line. I have a VPS, that uses a nginx server. I want to encapsulate the above functions into a website. I want to realize that all people in the same local area network can transfer P2P files in the local area network as long as they visit my website. How to achieve it? Web framework I can only django. What knowledge do I need to add? Ask the great gods for advice

Mar.14,2021

your question, if you want to complete this kind of P2P transmission on the web page, you need to use the webRTC function.


the advantage of P2P file transfer and distribution is that the more people use it, especially if it is downloaded at the same time, it can not only speed up but also save more broadband, especially suitable for the distribution of large files, videos, etc., such as large enterprises or there are many documents, games and videos that need to be updated regularly, such as Internet cafes, movie bars, KTV and so on. If you need, you can choose a mature P2P distribution and transmission technology scheme, point software 3004829028

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3765a-4d72b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3765a-4d72b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?