1
0
Fork
You've already forked Local..Gar..Drop
0
A simple program similar to AirDrop or LocalSend for Android devices and Linux distributions and Windows 10 and later devices and Mac devices. File transfer over a local network. A connection is established using an encrypted session to access the local network.
  • Python 68.5%
  • Batchfile 29.4%
  • Shell 2.1%
2026年04月20日 16:32:56 +02:00
.gitignore Initial commit 2026年04月20日 14:05:30 +02:00
gar..drop.desktop A shortcut file has been added for Linux distributions. 2026年04月20日 15:18:55 +02:00
gar..drop.sh add sh file for android device 2026年04月20日 14:59:40 +02:00
LICENSE Initial commit 2026年04月20日 14:05:30 +02:00
localgardrop.py added v2.0 prelease 2026年04月20日 16:15:18 +02:00
README.md Warning added for v2.0 2026年04月20日 16:21:30 +02:00
start..gar..drop.bat fixed file for v2.0 2026年04月20日 16:32:56 +02:00
start..gar..drop.command A command execution file for Mac devices has been added. 2026年04月20日 15:22:00 +02:00

localgardrop

A simple program similar to AirDrop or LocalSend. File transfer over a local network. A connection is established using an encrypted session to access the local network.

SECURE FILE TRANSFER SYSTEM: TRANSFER FILES BETWEEN DEVICES BY RUNNING A LOCAL SERVER OVER A LOCAL NETWORK

  • The device that runs the Python code acts as a TRANSMITTER. The other device acts as a RECEIVER.
  • RUN THIS ON BOTH COMPUTERS FOR FILE TRANSFER. IT ASSIGNS A SEPARATE IP ADDRESS TO EACH.BOTH DEVICES BECOME BOTH RECEIVERS AND TRANSMITTERS.
  • If you enter the IP address displayed on the device into another device, the other device will act as the receiver.
  • To transfer files from your Linux distro.s PC to your other device, run the desktop file on your Linux PC.
  • To transfer files from your Windows PC to your phone, run the batch file (.bat) on your Windows PC.
  • To transfer files from your phone to your other devices, tap the "gar..drop.sh" shortcut in the "TERMUX:WIDGET" app's widget on your Android device.
  • To transfer files from your apple devices to your other devices, run the command file on your apple device.
  • You'll need to enter the username and password you've set.
  • Please set a temporary USERNAME and PASSWORD for secure file transfer in the pop-up window.
  • Next, open the browser on the other device (the RECEIVER device) and connect to the IP web address displayed on the device where you ran the Python code (the TRANSMITTER device).
  • In other words, enter the address 192.168.1.xx:8000—as shown on the screen—into the RECEIVER device’s browser.

Steps for Android device:

  1. Download the files from the Releases section.

  2. Extract the contents of the compressed file to the "Downloads" folder.

  3. Copy the file to the ~/.shortcuts folder:

    First, make sure Termux has permission to access your phone’s storage (the Downloads folder). If you haven’t granted storage permission yet, run the following command first and tap "Allow" in the prompt that appears:

termux-setup-storage
  1. Once you've sorted out the permissions, run the following command to copy your file from the Downloads folder to the .shortcuts folder:
cp ~/storage/downloads/gar..drop.sh ~/.shortcuts/

(Note: If you encounter an error due to the periods in the filename, you can enclose the filename in quotes and type it as follows: cp ~/storage/downloads/"gar..drop.sh" ~/.shortcuts/.)

  1. Adding a File to Termux:Widget The way Termux:Widget works is very simple: it automatically adds all executable files in the ~/.shortcuts/ folder to the widget list. You don’t need to do anything extra; you just need to grant the file execution permissions.

  2. To grant the necessary permissions to the file, run the following command:

chmod +x ~/.shortcuts/gar..drop.sh
  1. After entering the command, return to your phone’s home screen.

If the Termux widget is already added, you’ll see the gar..drop.sh file in the menu that opens when you tap it.

If it doesn’t appear in the list, press and hold the widget on the home screen to delete it, then add a new Termux:Widget to your home screen from the menu. The list will update, and your file will be there.

  1. Tap the gar..drop.sh widget in the Termux:Widget on the home screen. This will run the localgardrop.py file in Termux.

  2. In other words, enter the address 192.168.1.xx:8000—as shown on the screen—into the RECEIVER device’s browser.

  3. Please set a temporary USERNAME and PASSWORD for secure file transfer in the pop-up window.

  4. Select and send or receive your files.

  5. Transfer the files.

Steps for Linux distros device:

  1. Download the files from the Releases section.

  2. Extract the contents of the compressed file to the "Downloads" folder.

  3. For security reasons, Linux does not run newly created shortcuts like this directly; you must grant it permission.

  • Granting Permissions via the Graphical User Interface:

    • Right-click the gar..drop.desktop file you created.

    • Go to the Properties > Permissions tab.

    • Check the "Allow executing file as program" option. (If you're using Ubuntu/GNOME, you may also see the "Allow Launching" option directly in the menu when you right-click the file; click that.)

  • Granting Permissions via the Terminal (Alternative):

    • Run the following command in the terminal:
    chmod +x gar..drop.desktop
    
    • Now, when you double-click this .desktop file, the system will automatically launch your Python script and your program will run. You can copy this file as you like or move it to your Applications menu (the ~/.local/share/applications/ folder).
  1. In other words, enter the address 192.168.1.xx:8000—as shown on the screen—into the RECEIVER device’s browser.

  2. Please set a temporary USERNAME and PASSWORD for secure file transfer in the pop-up window.

  3. Select and send or receive your files. Transfer the files.

Steps for Windows devices:

  1. Download the files from the Releases section.

  2. Extract the contents of the compressed file to the "Downloads" folder.

  3. Double-click the start..gar..drop.bat file. The localgardrop.py file will run in the Command Prompt window.

  4. In other words, enter the address 192.168.1.xx:8000—as shown on the screen—into the RECEIVER device’s browser.

  5. Please set a temporary USERNAME and PASSWORD for secure file transfer in the pop-up window.

  6. Select and send or receive your files.

  7. Transfer the files.

Steps for apple's OSs devices:

  1. Download the files from the Releases section.

  2. Extract the contents of the compressed file to the "Downloads" folder.

  3. Now we need to grant this file execution permissions on a apple devices. Open Terminal and type the following:

chmod +x

(Leave a space after "+x," drag the start..gar..drop.command file into the Terminal window, and then press Enter).

  1. Run the start..gar..drop.command file: Now, when you double-click this .command file, it will automatically open a Terminal window, navigate to the file’s location, and run the localgardrop.py file.

  2. In other words, enter the address 192.168.1.xx:8000—as shown on the screen—into the RECEIVER device’s browser.

  3. Please set a temporary USERNAME and PASSWORD for secure file transfer in the pop-up window.

  4. Select and send or receive your files.

  5. Transfer the files.

Not: In version 2.0 (20), set your server username and password once using the code in the localgardrop.py file.

For the security of your files, we recommend that you change your password.

To do this, modify the following lines:

# --- SETTINGS ---
PORT = 8080
USER_ID = "<Your_User_ID_name>"
PASSWORD = "<Your_password>"

Default USER_ID:

admin2

Default PASSWORD:

1a2b.3c4d-