Simple P2P File Transfer is a single file html with peer.js that allows secure and direct file sharing between peers without relying on centralized servers. It leverages modern web technologies to deliver a seamless file transfer experience.
This project is designed to provide an easy-to-use interface for sending and receiving files using peer-to-peer (P2P) connections. Built with Single HTML File, JavaScript, and CSS libraries such as TailwindCSS and DaisyUI, it offers real-time progress updates and a responsive design.
- Peer-to-Peer Connection: Connect directly with peers for file transfers.
- Real-Time Updates: Monitor file transfer progress with a built-in progress bar.
- Multiple File Support: Choose and send multiple files at once.
- Modern UI: Clean and responsive design powered by TailwindCSS and DaisyUI.
-
Clone the Repository:
git clone https://github.com/arnonsang/p2p-file-transfer.git
-
Navigate to the Project Directory:
cd p2p-file-transfer -
Open the Application:
Simply open the
index.htmlfile in your preferred web browser.
- Open the
index.htmlfile in your browser. - Your Peer ID will be generated automatically—copy it.
- Share your Peer ID with a friend to establish a connection.
- Select the files you want to transfer.
- Enjoy secure and direct file sharing!

