Skip to content

Iridium-IO/SiriShortcuts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siri Shortcuts

A Collection of useful Shortcuts for iOS 15+ (last tested on iOS 17.5.1)

Computer Interaction

Shortcuts to control and interact with a Windows PC

Prerequisites

  1. A Windows Computer running Windows 10 or 11
  2. Windows SSH Server enabled
  3. PSExec (in PSTools) set up properly on your computer. You can download it manually, or use the Siri Shortcut to install it automatically in the next section.
  4. BurntToast installed (also can be installed automatically in the next section)

AirSSH is required for all other shortcuts to run.

AirSSH Install PSExec
QR AirSSH QR Install PSExec

You'll find that most other shortcuts are really simple once AirSSH is installed. If you need to set up PSExec and BurntToast automatically, you can run the InstallPSExec shortcut AFTER you get AirSSH.

  • Note: Because I'm lazy, you will have to open the InstallPSExec shortcut and fix the Run function at the bottom. Just replace SSH Main with AirSSH (or if it's blank, just select AirSSH) as the target shortcut to run. Simple.

AirDrop to and from Windows PC

QR Code Details
QR AirDrop to PC Sends the selected file or files to your PC with a notification that adapts to the filetype
(e.g. Images will show in the notification, documents will have a file icon, etc). By default, saves the files in your Downloads folder.
Multiple files can be sent at once; these will be zipped and sent together as one.
Links sent in this way can be clicked to open them. Text and links are automatically copied to your clipboard for easy pasting otherwise

Sending Files/Images/Videos/URLs is fast as they do not require PSExec.

Sending plain text to the clipboard DOES need PSExec to work though

QR Code Details
QR Copy From PC Gets text/URLs from the computer's clipboard and copies them to the device.
Usage:
• Copy text on PC (Ctrl + C)
• Run shortcut
• Paste copied content directly or tap on notification to show links.

PC Controls

No longer works. Windows has patched the workaround used to enable this.

QR Code Details
QR Lock Computer Locks the computer. Much simpler than unlocking it.

Limitations

  • Sending files >200MB in size is finicky and depends a lot on how both Apple and Microsoft feel on that particular day (this is mostly Apple's fault).
    • I used to be able to send multiple gigabytes at once with no issues, then I updated to iOS 16 and it all came apart. I did upgrade to Windows 11 too but I'm not sure which one is to blame. I'm inclined to blame iOS for this one since my phone rapidly runs out of RAM and crashes everything including the wallpaper if I try to send large files, even after that has failed. Potential memory overflow exploit to be found here, perhaps?

Troubleshooting

  • Nothing seems to happen when the commands are run
    • Most likely this is due to either the SSH server not being set up properly, or powershell's execution policy not allowing remote scripts from running.
      • For case 1, make sure OpenSSH Server is set up properly using the tutorial posted at the top
      • For case 2, open powershell and type Set-ExecutionPolicy RemoteSigned or use the updated version of PSExec Base (just scan the QR code above again and overwrite the existing one)

Standalone Shortcuts

QR Code Details
QR Colourize Image Takes a black and white image and converts it to colour using the deep
learning API by Algorithmia

Go here to sign up and get your own API key first.

About

Scripts to control Windows PC over SSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published