Live data from Hacker News

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

gettextile.app

11–20 of 24 posts

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

#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?

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

#12
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.

(4) Textile would continue with the new thing on your clipboard.

Is that kind of what you were thinking?

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

#16
`Textile` is a similar language to Markdown, used to weave text across multiple IDEs, programming languages, and CMSs:

https://textile-lang.com/

Textile is one of the core markups supported by GitHub and Pandoc:

https://github.com/github/markup / https://pandoc.org/

And many CMS, most famously TextPattern and MoveableType, but also things like Jekyll:

https://textile-lang.com/article/textile-markup-language-sup...

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

#17
Here's a few use cases that are in the same territory, which I tried address at various stages with emacs and scripts.

1. Everything I ever paste (which is longer than >N) will be saved into a file. The assumption being is that it's an e-mail or message with high reuse potential

2. I have a single keybind that launches a script-selector and passes the currently selected text to it.

3. Script examples: save selection as markdown in a preset file (for use with LLMs); send selection to a temporary emacs buffer.

4. I have two shortcut that - take the current text area into emacs to edit it; then, send the emacs buffer back to the current selected area (by pasting). Useful for replying to messages

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

#18
post #7

I’m a little confused what this does. Is it like espanso?

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?
Post reply on HN