TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Semantic Macros Text Editor

69 点作者 zora_goron7 个月前

11 条评论

abathur7 个月前
button &quot;pornify&quot; with prompt &quot;rephrase this text as if it were in a 1970s erotic pulp novel&quot; turned:<p>You can define your own &quot;macros&quot; - instructions for an LLM (like &quot;summarize this text&quot;, &quot;fix the grammar&quot;) 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!<p>into:<p>In the tantalizing world of seductive prose and forbidden texts, imagine crafting your own alluring &quot;macros&quot;—personalized whispers to your erotic muse, coaxing it into decadent actions such as &quot;entice this passage with brevity&quot; or &quot;caress the syntax with meticulous finesse.&quot; 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&#x27;s desire to transform mundane words into tantalizing pleasures.
评论 #41907153 未加载
staplung7 个月前
For fun I tried &quot;Formalizing&quot; the original Ecclesiastes verse that Orwell uses in <i>Politics and the English Language</i>, where he translates it into modern English.<p>The original text is: &quot;I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all.&quot;<p>Orwell&#x27;s parody is: &quot;Objective considerations of contemporary phenomena compel the conclusion that success or failure in competitive activities exhibits no tendency to be commensurate with innate capacity, but that a considerable element of the unpredictable must invariably be taken into account.&quot;<p>Formalize turns out: &quot;Upon reflection, it becomes apparent that success—whether in the form of victory in a race, strength in battle, provision for the wise, wealth for men of understanding, or favor for those with skill—is not guaranteed solely based on one&#x27;s abilities. Rather, time and chance play a significant role in these matters for all individuals.&quot;
lukasb7 个月前
Cool! I&#x27;m working on a note-taking app with a similar (but not identical) feature based on Excel-type formulas - except, semantic formulas, not mathematical. Chaining AI formulas together (combined with non-AI stuff like &quot;get the contents of this web page &#x2F; find my notes that mention X&quot;) can be really powerful.
评论 #41929280 未加载
sakesun7 个月前
This is the future of iterative software construction.
bulubulu7 个月前
Nice and neat tool! I wonder which llm model is running in the backend and is there any way to run it locally&#x2F;self-hosted?
bnj7 个月前
Made a button to &quot;Make it an ASCII Map!&quot; showing relationships between concepts, had a lot of fun. Nice one!
smcleod7 个月前
I really like this! Is the source code available somewhere? I&#x27;d love to add&#x2F;contribute to it.
sixtyj7 个月前
This looks really nice application of LLM. I’ve made my button :)<p>What is the business model behind?<p>How long will editor remember my buttons?
评论 #41907302 未加载
评论 #41903702 未加载
handfuloflight7 个月前
How do we trigger the highlighting function? I selected text but didn&#x27;t see anything.
totallymike7 个月前
If you’re wondering what “semantic macros” means, it’s just llm bullshit. Not worth looking at.
评论 #41910486 未加载
breck7 个月前
This is awesome. The best &quot;prompt engineering&quot; tool I&#x27;ve seen yet. So well designed. There&#x27;s a lot of useful things I might try with this.<p>Nicely done.<p>Nits: I&#x27;d add some small indicator of progress; an active state to the button; also I&#x27;d ditch the &quot;one time button thing&quot;. You can already delete buttons so anyone can do one time buttons already.<p>Here&#x27;s my user test: <a href="https:&#x2F;&#x2F;news.pub&#x2F;?try=https:&#x2F;&#x2F;www.youtube.com&#x2F;embed&#x2F;qh2mq0KJMsw?si=K3eoDPngkYKkQg6l" rel="nofollow">https:&#x2F;&#x2F;news.pub&#x2F;?try=https:&#x2F;&#x2F;www.youtube.com&#x2F;embed&#x2F;qh2mq0KJ...</a>
评论 #41907277 未加载