[HN Gopher] Show HN: Semantic Macros Text Editor
       ___________________________________________________________________
        
       Show HN: Semantic Macros Text Editor
        
       Author : zora_goron
       Score  : 40 points
       Date   : 2024-10-20 22:11 UTC (1 days ago)
        
 (HTM) web link (samtxt.samrawal.com)
 (TXT) w3m dump (samtxt.samrawal.com)
        
       | breck wrote:
       | This is awesome. The best "prompt engineering" tool I've seen
       | yet. So well designed. There's a lot of useful things I might try
       | with this.
       | 
       | Nicely done.
       | 
       | Nits: I'd add some small indicator of progress; an active state
       | to the button; also I'd ditch the "one time button thing". You
       | can already delete buttons so anyone can do one time buttons
       | already.
       | 
       | Here's my user test:
       | https://news.pub/?try=https://www.youtube.com/embed/qh2mq0KJ...
        
         | zora_goron wrote:
         | Hi there, thanks for trying it out and the kind words! These
         | are great suggestions - thank you!
        
       | bnj wrote:
       | Made a button to "Make it an ASCII Map!" showing relationships
       | between concepts, had a lot of fun. Nice one!
        
       | sixtyj wrote:
       | This looks really nice application of LLM. I've made my button :)
       | 
       | What is the business model behind?
       | 
       | How long will editor remember my buttons?
        
         | lukeandrew___ wrote:
         | It looks like the buttons are just stored in local storage. So
         | in theory, they'll hang about until you clear that.
        
         | zora_goron wrote:
         | Thanks for trying it out! Honestly, no current idea of business
         | model - this was just something I thought would be helpful in
         | my daily workflow so I built it out.
         | 
         | The buttons are stored to localstorage, as is the editor text -
         | everything stays locally (besides what is sent to the LLM). I'm
         | planning on a simple import/export mechanism for transferring
         | buttons across different browsers/computers!
        
       | abathur wrote:
       | button "pornify" with prompt "rephrase this text as if it were in
       | a 1970s erotic pulp novel" turned:
       | 
       | You can define your own "macros" - instructions for an LLM (like
       | "summarize this text", "fix the grammar") and add them as buttons
       | for easy access. You can also make one-time commands. Then,
       | highlight the text you want to send to the LLM, and click the
       | button!
       | 
       | into:
       | 
       | In the tantalizing world of seductive prose and forbidden texts,
       | imagine crafting your own alluring "macros"--personalized
       | whispers to your erotic muse, coaxing it into decadent actions
       | such as "entice this passage with brevity" or "caress the syntax
       | with meticulous finesse." Fashion these sultry commands into
       | luscious buttons, waiting at your beck and call. With a mere
       | flick of the wrist, highlight the prose that begs for attention,
       | then surrender it to the willing buttons, igniting the LLM's
       | desire to transform mundane words into tantalizing pleasures.
        
         | airstrike wrote:
         | I had to try that out and the output was better than I could
         | ever expect. "Select the coy text you desire to ensnare" and
         | "tantalizing beck-and-call instrucitons for a large language
         | model that purrs with delight" had me in tears
         | 
         |  _In the dimly lit confines of your mahogany-laden study,
         | nestled between relics of an age gone by, there exists a silky
         | tome of technological desire known as sam.txt, an alluring
         | plaintext editor with the promise of sating your most audacious
         | cravings with its potent language manipulations. Within your
         | exquisite grasp lies the power to conjure sizzling "macros,"
         | those tantalizing beck-and-call instructions for a large
         | language model that purrs with delight at your every beckoning,
         | whether to "summarize this prose" or "mend this foolish
         | syntax." These instructions become glistening buttons laid bare
         | for your indulgent convenience, ready to be pressed by those
         | yearning fingers._
         | 
         |  _In addition, your whims can be indulged without plan or
         | preamble. Select the coy text you desire to ensnare, offer it
         | to the sultry LLM, and press the button that promises sweet
         | satisfaction._
         | 
         |  _I invite you to embark on this thrilling escapade! Select the
         | tempting passage above and click 'Formalize' to experience
         | ecstasy beyond the written word._
        
       | handfuloflight wrote:
       | How do we trigger the highlighting function? I selected text but
       | didn't see anything.
        
       ___________________________________________________________________
       (page generated 2024-10-21 23:01 UTC)