24 pointsby stack_framer5 hours ago7 comments
  • baliex31 minutes ago
    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?

    • stack_framer14 minutes ago
      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?

  • cardamomoan hour ago
    This could be useful for writing report card comments! Source: I'm a teacher. It's report card season. :)
  • cosmotic2 hours ago
    Looks a lot like CyberChef which is web based. https://cyberchef.org/
  • frereubu3 hours ago
    The text on your site is cut off on both left and right on my iPhone 13 mini, and I can't zoom, so it's unreadable.
  • darkteflon2 hours ago
    This looks really cool and right up my alley. Congratulations on showing it to people. Will check it out!
  • tquinn352 hours ago
    I’m a little confused what this does. Is it like espanso?
    • stack_frameran hour ago
      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 command `git branch --show-current` in the `~/code` directory (yielding text like `JIRA-1234/some-feature`).

      (2) Replace all `/` characters with `-` (now the text is `JIRA-1234-some-feature`).

      (3) Prepend `[preview](https://staging-`, which is the start of a markdown link (now the text is `[preview](https://staging-JIRA-1234-some-feature`).

      (4) Append `.example.com)`, which is the end of the markdown link (now the text is `[preview](https://staging-JIRA-1234-some-feature.example.com)`).

      (5) Copy the result to my clipboard.

      With those steps saved in Textile, I can now click a button to run them over and over again (or use a keyboard shortcut if I assigned one). So no matter which branch I'm on, I'll always get a proper preview link without having to construct it manually myself.

  • metalliqazan hour ago
    shares a name with the markup language[1] and even though it's in a different category, it's a little close for comfort

    [1] https://en.wikipedia.org/wiki/Textile_(markup_language)