Skip to content

A simple express server used with Apple shortcut to send text over localhost to Windows

License

Notifications You must be signed in to change notification settings

Medaillek/iphone-send-link-to-windows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iphone-send-link-to-windows

A simple express server used with Apple shortcut to send text over localhost to Windows / Linux and copy it to the clipboard

iphone-send-link-to-computer

A simple express server used with Apple shortcut to send text over localhost to Windows / Linux text content and copy it to clipboard !

Pré-requisite

  • Node 16+
  • "Shortcuts" on IOS
  • Allow NodeJs to receive incoming requests in your firewall
  • Set your computer to a static address in your router to avoid changing the shortcut url on every computer reboot

Installation

  • git clone https://github.com/Medaillek/iphone-send-link-to-windows.git
  • cd iphone-send-link-to-windows.git
  • npm install
  • node index.mjs
  • And voilà, server will be running on port 6666, you can change it to match the port you need
  • NEW => Links now opens directly in your prefered browser using the library "open"

Shortcut creation

Final Result

Steps

  1. Create a share entry :
    Share function
  2. Set share options to URL:
    Share entries options
  3. Set share access from share sheet :
    Access from share sheet
  4. Store the url in a variable :
    Variable
  5. Create a GET URL request :
    GET page content function
  6. For the url, type : http://{your_computer_local_address}:8080/?text={the_variable_containing_the url_in_the_step_4}
  7. Save and open Safari, click the share button and your shortcut should appear in the list at end. Update actions > Add the shortcut to your favs and it should be on top ! Use it !

About

A simple express server used with Apple shortcut to send text over localhost to Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published