AlexanderWillner / deepl-alfred-workflow2

DeepL Alfred Workflow
228 stars 8 forks source link

Replace jq with osascript (JavaScript) #30

Closed vitorgalvao closed 7 months ago

vitorgalvao commented 7 months ago

This removes the dependency on jq to use osascript (which ships with macOS) to parse the JSON via JavaScript.

The last part was briefly tested; use with an API key and the error message were not.

No worries if you prefer to continue doing it with jq.

AlexanderWillner commented 7 months ago

thanks, will look into it - having less dependencies is almost better

AlexanderWillner commented 7 months ago

lgtm, thanks!