Replies: 11 comments 2 replies
-
a-shell does a nice job of this https://holzschu.github.io/a-Shell_iOS/ |
Beta Was this translation helpful? Give feedback.
-
I would love a shortcut that takes a string and executes it as a command in Blink. I need to scp images a lot and that would really improve this workflow. |
Beta Was this translation helpful? Give feedback.
-
While native integration with Shortcuts would be nice, you can achieve similar functionality by calling Blink’s X-Callback-URL from within a Shortcut, e.g. I’m using exactly this method to send a wake-on-lan command to a device selected in an earlier Shortcuts step. Works great! |
Beta Was this translation helpful? Give feedback.
-
@christippett Nice hack!!! Do you know any way to get output or status of the command? |
Beta Was this translation helpful? Give feedback.
-
I am curious if there is a way to integrate a-Shell_iOS/ and blink. I want to use shortcuts to run script in a-shell which would prepare some files and then I want to trigger blink command to upload these files to the server. The reason is:
|
Beta Was this translation helpful? Give feedback.
-
The built-in Open X-Callback URL action caters for that I'm pretty sure. I'm not using the output for anything in my example, but you can see there's an option to to parse a success or failed operation.
|
Beta Was this translation helpful? Give feedback.
-
As it has been mentioned already, although we do not have support for Shortcuts app, we do provide a X-Callback URL that becomes very handy. This plus piping can work on a few very cool scenarios, that I wanted to do a short video about. Here are some notes and additional tricks:
I'm going to move this to Discussions, as there are a lot of tips here. As per the feature request itself, we will see what we can do to put this in the roadmap sooner, and make things easier through better Shortcuts hooks. |
Beta Was this translation helpful? Give feedback.
-
I'm reopening the conversation here as we have been thinking what use cases we could cover with this. Because we now have Snips, it would be a simple way to write a Snip and then execute it from a shortcut. This would cover basic scenarios like "regularly copying files from a remote". I was wondering what other use cases may be interesting for this. Tailscale does a cool job with shortcuts for some of that. https://tailscale.com/kb/1233/mac-ios-shortcuts/ |
Beta Was this translation helpful? Give feedback.
-
Here is one use case. Quite often I receive a pdf which I want to store on my samba NAS. I want to implement a shortcut which would
The second case is adding page numbers to pdf before printing. In order to do it I would need to run some linux tools. The pdf might be pre-processed already for double-sided printing in a booklet order, so achieving this functionality in shortcuts app is not possible. |
Beta Was this translation helpful? Give feedback.
-
The reason I provided the second scenario is to give a use case where improved integration (via shortcuts mechanism) with a-Shell_iOS/ might do the trick. |
Beta Was this translation helpful? Give feedback.
-
Linking here for more examples: #804 |
Beta Was this translation helpful? Give feedback.
-
It would be nice to implement iOS shortcut functionality. This would (I assume) allow starting a connection without retyping or searching through history for the command.
I know because iOS restrictions, you probably cannot implement the running of shell scripts. So, this may be an alternative. Currently, I am using ed to create a file with the command which I can cat and retype or copy and paste if I cannot find the command with reverse-isearch.
Beta Was this translation helpful? Give feedback.
All reactions