P2P Transfer is a cross-platform peer-to-peer file transfer system that allows users to share files seamlessly across devices. It uses QR code-based authentication and network discovery to enable secure file sharing over the same WiFi network. This project focuses on developing a cross-platform file transfer application that allows users to share files such as documents, photos,videos and any file formats seamlessly across mobile devices, desktops, and web platforms (Across OS - Windows, Linux, MacOS, Android) . Built using Android Native, the application ensures a consistent and responsive user experience across all platforms. Features like QR code scanning for device pairing and authetication, and collaborative tools will enhance usability, making file sharing and teamwork more efficient.
1. Basic Installation and working:
USAGE.GUIDE.mp4
2. Multiple Scnearios and OS (Windows/Linux/Android) Output
output.mp4
-
Cross-Platform Support:
- π₯οΈ Windows (.exe)
- π± Android (Native App)
- π§ Linux (Web)
- π MacOS (Web)
-
π QR Code-Based Authentication:
- β Generates a QR code containing network credentials.
- π Ensures secure authentication before transferring files.
-
π Local Network File Sharing:
- π Discovers devices on the same network and ensures Secure connectivity
- π Transfers files without external internet dependency.
-
π§ Multi-Platform Compatibility:
- π Uses Python Flask as the backend.
- π± Native implementations for Android.
- π Web-based access for Linux and MacOS.
-
π Security Features:
- π‘ Payload contains SSH and WiFi credentials for seamless connectivity.
- π Encrypted authentication mechanism.
Make sure your send and receive devices are connected to same WiFi network. (Future Update: The SSID password payload will be auto detected by QR)
- Download the latest
.exefrom the WINDOWS EXE directory. - Run the executable.
- Ctrl + Click the IP address (either localhost or configured IP).
- Upload and delete files using the
.exeapplication.
- Enter the host machine's IP address manually in the browser.
- (Future Update: Username and passkey authentication.)
- Install the APK from Android APK/P2P file transfer.apk.
- Open the app and grant necessary permissions.
- Tap the 3 dot button to Scan the QR code from a Windows/Linux/Android Host machine.
- Perform file transfer operations.
-
Clone the repository:
git clone https://github.com/akranjithkumar/P2P-File-transfer
cd P2P-File-transfer -
Install dependencies :
pip install -r requirements.txt
-
Run the Flask server:
python app.py
-
Scan the generated QR code to access the web interface.
- Run the executable or start the Flask server.
- Use a mobile or desktop application to scan and connect to the file-sharing network.
- Use the web interface or Android app to upload/download files securely.
pyinstaller --onefile --windowed app.pypython3 app.pyUse Android Studio or Kotlin/Java Native Development
This project is licensed under the Apache 2.0 License.
π‘ Feel free to submit issues or contribute by forking the repository and making a pull request. If any queries contact [dpijai@gmail.com]
π Happy File Sharing! π