Live data from Hacker News

Show HN: Textile – A desktop app for weaving together bits of text

gettextile.app

21–24 of 24 posts

Re: Show HN: Textile – A desktop app for weaving together bits of text

#21

Earlier quoted context omitted.

I'm not too familiar with Espanso, but Textile is not a text expander. Textile allows you to pre-define a sequence of steps that dynamically generate the text you want, by running commands on your computer, reading your clipboard, or using hard-coded text you provide. Here's a quick example, and one that I often use with Textile to generate a preview URL based on my current branch: (1) Start with the output of the co…

Can't this be done with a bash script? Or is this supposed to be a more convenient, ergonomic and declarative way to do it?

I'm certain everything Textile does could be handled by bash scripts, or any other script flavors / languages / tools. So, yes, Textile is supposed to be a more convenient way to do it.

Re: Show HN: Textile – A desktop app for weaving together bits of text

#22
post #11

Can it wait/prompt for something new to be put onto the clipboard while it runs a Textile? For a use-case where I've copied thing 1, then I start my Textile, then I go and copy thing 2 from somewhere, and then Textile continues with the remaining steps with thing 1 and thing 2?

No, but this is a great suggestion. I imagine a flow that looks something like this: (1) When creating the textile, you would add a step to "wait for new clipboard data." (2) When you run the textile, and it gets to that step, a modal would appear, prompting you to copy the new thing to your clipboard. (3) Once you've got the new thing on your clipboard, you would go back and click "Continue" on the modal from step 2…

That’s exactly what I was thinking. And I think you’re saying the same thing, but to be sure: the _wait_ wouldn’t be a timer, it’d be watching the clipboard for changes and proceeding as soon as it changed.

If we’re going to do the discovery out in the open.. it would be nice to be able to specify the prompt as part of the Textile (e.g. “Copy the GitHub URL”). And then also showed the clipboard contents it is going to proceed with, before proceeding. A single key press (Enter?) would be ideal to proceed. That protects me from accidentally passing sensitive data through.

Re: Show HN: Textile – A desktop app for weaving together bits of text

#23
post #22

Earlier quoted context omitted.

No, but this is a great suggestion. I imagine a flow that looks something like this: (1) When creating the textile, you would add a step to "wait for new clipboard data." (2) When you run the textile, and it gets to that step, a modal would appear, prompting you to copy the new thing to your clipboard. (3) Once you've got the new thing on your clipboard, you would go back and click "Continue" on the modal from step 2…

That’s exactly what I was thinking. And I think you’re saying the same thing, but to be sure: the _wait_ wouldn’t be a timer, it’d be watching the clipboard for changes and proceeding as soon as it changed. If we’re going to do the discovery out in the open.. it would be nice to be able to specify the prompt as part of the Textile (e.g. “Copy the GitHub URL”). And then also showed the clipboard contents it is going t…

I like the idea of being able to specify the prompt, as a reminder of what you wanted to copy to the clipboard at that point.

I've created a new issue for this (it's similar to an idea I already had):

https://github.com/rob-johansen/textile/issues/75

Post reply on HN