Blink: [Feature request] x-callback-url api and shortcuts

Created on 24 Sep 2018  Ā·  13Comments  Ā·  Source: blinksh/blink

With the addition of Siri Shortcuts and the Shortcuts app to iOS it would be useful to have an x-callback-url api for running commands, for example to test connection to a server or open a new mosh/ssh connection. The callbacks can be performed by Apple’s own shortcuts app, or from other apps with that functionality like PCalc

Most helpful comment

Iā€˜d love to see a Shortcuts integration. While there already is a native way to run an SSH script, there is no way to authenticate using SSH keys. So having a ā€žRun Script via SSHā€œ using Blink would be a very nice feature!

All 13 comments

Iā€˜d love to see a Shortcuts integration. While there already is a native way to run an SSH script, there is no way to authenticate using SSH keys. So having a ā€žRun Script via SSHā€œ using Blink would be a very nice feature!

yup, and possibly keep an interactive session open after running the script

It’s also useful for emergencies; I can just say ā€œblink fireā€ and it’ll start the appropriate script to deal with it. It’ll also be very useful if Blink could feed location to the script.

Hi, I am a bit confused. It seems this feature was implemented in 12.8. And in version 13.3 the configuration for x-callback-url appears in the config menu. But I can not seem to get it to work. When I make a call on "blinkshell://run?key=SECRET&cmd=ls" nothing happens, except blink opened. No command is executed.
I would really appreciate some clarification as to whether or not this feature is fully implemented.

We disabled it for now. Will restore soon.

We disabled it for now. Will restore soon.

Any precision on ā€œwhenā€?

I'm anxious to see this return as well. We could finally use Blink in conjunction with RoyalTS

x-callback-url has been re-added to the codebase (#1061) it'll be available in the coming future (can't exactly tell when). Will be working on adding Shortcuts integration in the future :)

@javierdemartin @yury could you push it to TestFlight?

We can’t give you an estimate right now because of some other ongoing work. Possibly in the coming weeks, I’ll ping you once it’s up.

Thanks!!

@ventz Current App Store Version 13.5.5 restores this

@javierdemartin Thanks. Tested it as soon as I saw it push to TestFlight (works! :))
It's fantastic for Siri Shortcuts automation and being able to execute commands.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jra picture jra  Ā·  5Comments

s8m2s picture s8m2s  Ā·  5Comments

goerz picture goerz  Ā·  4Comments

balboah picture balboah  Ā·  3Comments

treyharris picture treyharris  Ā·  3Comments