blink icon indicating copy to clipboard operation
blink copied to clipboard

how can i invoke blink curl from within my app ?

Open threedguydev opened this issue 6 years ago • 1 comments

Is there a way to run a script from inside a IOS app to execute a blink command -- curl for example ?

threedguydev avatar Aug 09 '19 09:08 threedguydev

At some point in the past, I did code this feature. Opening an url with the "blinkshell://" scheme resulted in blinkshell executing the command after the ://

So opening the url "blinkshell://ls" executed the ls command. I'm not sure it still works, because no one used it. It's not convenient because the command is executed inside blink sandbox. So you can download a file with curl but it will be downloaded inside blink sandbox, not your app.

Using Apple Shortcuts app is a possible solution, but I have no experience here. If it is your app, you can link with the iOS_system framework and execute the commands locally.

holzschu avatar Aug 09 '19 11:08 holzschu