Skip to content

Web app to easily share files across multiple devices connected to the same Wi-Fi network.

License

Notifications You must be signed in to change notification settings

luckygoswami-risky/Wi-File

Repository files navigation

Wi-File: Files sharing WebApp

Introduction

This web app allows you to easily share files across multiple devices connected to the same Wi-Fi network. Whether you're at home, in an office, or any place with a common Wi-Fi connection, this tool makes file sharing simple and efficient.

Features

  • Device Identification: Each connected device is identified by a user-provided name.
  • File Upload: Upload files to share with other devices on the network.
  • File List: View and download files shared by others, with information about which device shared each file.
  • Auto Cleanup: The upload directory is automatically cleared when all devices disconnect.

Installation

To install Wi-File, follow these steps:

  1. Download the app files
    Download Wi-File app files in compressed format or clone this repository.

  2. Extract the file
    Extract the downloaded file using any extractor e.g. winrar.

  3. Run the Installer
    Double-click the downloaded installer file to begin the installation process.

  4. Automatic Installation
    The installation process is automated and will proceed in the command prompt. No additional steps are required from your end.

  5. Shortcut Creation
    Upon successful installation, a Wi-File shortcut will be automatically created on your desktop and in the Start Menu for easy access.

  6. Completion
    Once the installation is complete, you can immediately start using Wi-File by clicking the shortcut.

Steps to Use

1. Connect Devices to the Same Wi-Fi Network

Ensure all devices you want to share files with are connected to the same Wi-Fi network. The app works locally, so all devices must be on the same network.

2. Access the Web App

  • Open a web browser on any device connected to the Wi-Fi network.
  • Enter the IP address and port of the server hosting the web app. For example: http://192.168.1.10:3000.

3. Enter Your Device Name

  • Upon loading the web app, you will be prompted to enter a name for your device. This name will be visible to other users when you share files.
  • Enter a name that easily identifies your device (e.g., "John's Laptop" or "Office Phone").

4. View Connected Devices

  • After entering your device name, you will see a list of all devices currently connected to the app.
  • The list will update in real-time as new devices connect or disconnect.

5. Upload a File

  • To share a file, use the file upload form:
    1. Click the "Choose File" button and select the file you want to share.
    2. Click "Upload" to upload the file to the server.
  • Once the file is uploaded, it will be listed in the "Available Files" section, along with the name of your device as the file's sharer.

6. Download Files

  • All shared files are listed under the "Available Files" section.
  • Each file entry includes:
    • File Name: The name of the file.
    • Shared By: The device name of the user who uploaded the file.
  • Click on the file name to download the file to your device.

7. Disconnecting

  • When you close the web app or disconnect from the Wi-Fi network, your device will be removed from the list of connected devices.
  • If all devices disconnect, the server will automatically clear the uploaded files directory.

Additional Information

  • Security: The app is designed for use on local networks. Ensure you're connected to a secure and trusted Wi-Fi network when using the app.
  • Privacy: Device names and file names are visible to all connected users. Avoid using sensitive information in device names or file names.

Troubleshooting

  • Cannot Access the Web App: Ensure your device is connected to the correct Wi-Fi network and that you’re using the correct IP address and port.
  • Firewall setup Make sure that you're connected to the private network or your firewall is not blocking the requests to the port.
  • Files Not Uploading: Check the file size and format. Some browsers may have restrictions on certain file types or sizes.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/new-feature).
  3. Commit your changes (git commit -m "Add some feature").
  4. Push to the branch (git push origin feature/new-feature).
  5. Create a new Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

If you have any questions or suggestions, feel free to open an issue on GitHub or contact me directly via GitHub Issues.


Made with 🧠 by LuckyGoswami