Skip to main content

No project description provided

Project description

FileDrop - Simple File Sharing Server

This simple server allows multiple users on the same local network to upload and download files via a web interface. It works across different platforms, and the server generates a QR code for easy access to the server URL on other devices.

Requirements

  • Python 3.x
  • qrcode library (for offline QR code generation)
  • Internet browser (Safari for iOS)

To Install:

  1. Python: Ensure Python 3 is installed on your machine to run this server.
  2. Optional: If you want the server to generate QR codes, install the qrcode library by running:
    pip install qrcode[pil]
    

To Use on iOS (A-Shell Mini):

  1. Download A-Shell Mini: Install A-Shell Mini or A-Shell from the App Store.

  2. Download the Repository:

    • Download the ZIP version of this repository.
    • Move the downloaded file to the A-Shell folder or use Downloads.
  3. Extract and Move Files:

    • Open A-Shell and navigate to the folder where you placed the ZIP file.
    • Unzip the file: unzip FileDrop.zip
  4. Run the Server:

    • Navigate to the folder with the extracted files.
    • Run the server with:
      python3 path-to-server.py
      
  5. Access the Server: Open Safari and go to http://localhost:8000.

  6. Optional: Create a Shortcut:

    • You can create a shortcut to automatically run the server and open Safari for you. This can be done through the iOS Shortcuts app.

Features:

  • Upload and Download: Upload files to the server through the web interface, and all devices on the same local network can download those files.
  • QR Code: The server generates a QR code that users can scan to easily access the server's web interface.
  • Shared Directory: Files uploaded to the server are saved in a shared directory and can be downloaded from any device on the same network.

How it Works:

  1. Start the Server:

    • Once the server is running, you can access the file-sharing interface by visiting http://localhost:8000 in your browser.
  2. Upload Files:

    • On the main page, use the "Choose Files" button to select files you want to upload. After selecting the files, they will be uploaded to the server.
  3. Download Files:

    • Uploaded files will appear as links on the page. You can click the links to download the files.
  4. Generate QR Code:

    • A QR code will be generated dynamically and displayed on the page. You can scan this QR code from any device on the same network to easily open the server's URL.

Important Notes:

  • Local Network: All devices must be connected to the same local network for the server to work. It is recommended to use a 5G network for faster file transfers.

Troubleshooting:

  • If you can't generate the QR code or install qrcode, you can try using an online QR code generator, but it is recommended to use the offline generation for better privacy.
  • Ensure all devices are connected to the same local network for proper file sharing.

Future Updates:

  • Stay tuned for possible improvements to make it even easier to use and access the server.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

filedrop-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

filedrop-0.1.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file filedrop-0.1.0.tar.gz.

File metadata

  • Download URL: filedrop-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for filedrop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 bc052b3b5cac8a2f83355009f2fd4d85932a4756ebb14850b8ba34246d71b675
MD5 7b756f1feb76e374491ad3016e154e19
BLAKE2b-256 c2b6bd8f23c101d4c7a7936797ec80a80bc127bc260fc13e5354ebdf23909d48

See more details on using hashes here.

File details

Details for the file filedrop-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: filedrop-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for filedrop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbdff4b6e3adb44b97f50c8a22d20d15d07101ce1b2b4d6a0a334ac30ce96f53
MD5 468670c9770fd6ddd6821309e47882fa
BLAKE2b-256 a6bfa3dbf6b493494cbabf1a620e321ff2872cf9fa6ab073d75786e3e333eb34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page