drshajul / ios-shortcuts-files-to-pc

Directly transfer your photo, video or any media to any PC wirelessly over the lan via IPhone's built-in Shortcuts application with Http Post request without any necessity of 3rd party drive/web/internet services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iPhone Copy to PC Shortcut Helper

Directly transfer your files, photos, video or any media to any PC or Linux wirelessly over the lan via iPhone's built-in Shortcuts application with Http Post request without any necessity of 3rd party drive/web/internet services. Also, one way Clipboard sync for text!

How To Make It Work

  1. Your IPhone and the PC you want to transfer, both must be in the same network.
  2. Install .NET 8 Runtime if not already installed.
  3. Download and run "ShortcutsListener" from Releases for Windows users OR You can Compile the "ShortcutsListener" C# .net project and run the application(server)
  4. Install Shortcut from RoutineHub. Configure the shortcut with the ip address shown in the console on PC.

All selected files, photos and videos will be transfered to PC. Or you can use it from the share sheet.

  • Note: Transfer stops as soon as iPhone screen goes off. You need to keep the screen on while you are transfering too many photos or huge videos.
  • Note: To make large amount of photo/video transfer 'Allow Sharing Large Amounts of Data' needs to be turned on from 'Settings -> Shortcuts -> Advanced' screen.

Compiling Hints

VS Code with DotNet SDK and C# Dev Kit extension is required. Then from VS Code commands pallete, .NET: Generate Assets for Build and Debug command. Confirm everything is in order with dotnet --version You can then build debug with dotnet build and release with dotnet publish. For different architecture (eg. Raspberry Pi 4 with arm64), you can build with dotnet publish --runtime linux-arm64 --self-contained and copy the publish directory with scp like so

Credits

Fork from bariseksi, merge from legend-is-alive

About

Directly transfer your photo, video or any media to any PC wirelessly over the lan via IPhone's built-in Shortcuts application with Http Post request without any necessity of 3rd party drive/web/internet services.

License:MIT License


Languages

Language:C# 100.0%