r/Scriptable • u/sweetselkie47 • 10d ago
Request Advice needed - porting to Scriptable
TL/dr
advice needed re: porting API pre and post-processors to Scriptable iOS app
---
I'm a newbie coder using Apple Shortcuts as a runner for some API calls and post-processing.
On my Mac, I'm using the shell function, but that's not supported on iOS so I'm using Scriptable as a workaround.
Trouble is that copypastaing my existing Javascript directly into Scriptable doesn't work and I'm not sure what to "wrap" it in.
Does anyone have advice for how to approach this?
Many thanks in advance!
2
Upvotes
3
u/jsloat 10d ago
This might help - https://sloat.life/#/scriptable-utils/introduction
I use rollup to minify