← Back to context

Comment by TechBro8615

2 years ago

An iOS share widget would be cool too. Since you support putting the input text in the URL, then maybe someone can make a Workflow for it and share it here.

Are iOS share widgets using Apple Shortcuts? I wish to learn more about this technology, so it would be a pleasure to try building it.

  • Yeah, my mistake, the app is called "Shortcuts" now. I get confused because it was an app called Workflow that was acquired by Apple [0].

    You can use the app itself to make some surprisingly powerful shortcuts, and then share them in some kind of text based serialized form (don't remember the details). I'm sure there are also ways to make them programmatically, but I doubt it would be necessary for this use case.

    Seems like you basically want to extract the URL of the HN page, store it in a variable and then append that variable to the URL of your recommendation engine. There are probably more fancy variants of "extract text" that you could use, too - I'm not sure of the details.

    [0] https://en.wikipedia.org/wiki/Shortcuts_(app)