A simple express server used with Apple shortcut to send text over localhost to Windows / Linux and copy it to the clipboard
A simple express server used with Apple shortcut to send text over localhost to Windows / Linux text content and copy it to clipboard !
- 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
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"
- Create a share entry :
- Set share options to URL:
- Set share access from share sheet :
- Store the url in a variable :
- Create a GET URL request :
- For the url, type :
http://{your_computer_local_address}:8080/?text={the_variable_containing_the url_in_the_step_4}
- 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 !