Skip to content

Python File Sharing is a simple, effective tool for sharing files between devices using Python. Perfect for quick, local file transfers without external services.

Notifications You must be signed in to change notification settings

ShiiiivanshSingh/Python-File-Sharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LOCAL FILE SHARING USING PYTHON

This project sets up a basic HTTP server using Python and generates a QR code for accessing the server locally. The server serves files from a specified directory (in this case your default Downloads folder), and the QR code provides an easy way to access the server URL.

Here is the link to the website: Click Here

OR, You Can Scan This QR Code To Access The Website:

Alt Text

How It Works

  1. HTTP Server: The script sets up an HTTP server on port 8010.
  2. QR Code Generation: Generates a QR code containing the server's local IP address and port.
  3. Displaying Information: The server information and QR code are displayed in the terminal.

Usage

To use this project, follow these steps:

  1. Clone the Repository:

    git clone https://github.com/ShiiiivanshSingh/Python-File-Sharing
  2. Navigate to the Project Directory:

    cd Python-File-Sharing
  3. Run the Script:

    python RUN.py
  4. Access the Server:

    • Open the generated QR code image myqr.svg with a QR code reader or
    • Visit the displayed URL in your browser.
  5. File Placement:

    • Place the files to be shared in your default Downloads folder.
    • The files present in the directory will be displayed in the interface.

Requirements

  • Python 3.2
  • pyqrcode
  • python3-png (for PNG support)
pip install pypng
pip install pyqrcode

License

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

By Shivansh Pratap Singh

(You can always check out my socials at : https://linktr.ee/ShivanshPratapSingh)

Made On 10.09.24 <3

About

Python File Sharing is a simple, effective tool for sharing files between devices using Python. Perfect for quick, local file transfers without external services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages