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