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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

T2x – a CLI tool for AI-first text operations

38 点作者 marckohlbrugge4 个月前

5 条评论

sigoden4 个月前
AIChat (<a href="https:&#x2F;&#x2F;github.com&#x2F;sigoden&#x2F;aichat">https:&#x2F;&#x2F;github.com&#x2F;sigoden&#x2F;aichat</a>) nearly fulfills all your requirements.<p>The only difference is that you provide subcommands, while aichat requires users to create various roles.<p>t2x &#x27;Write a ...&#x27; =&gt; aichat &#x27;Write a ...&#x27;<p>t2x ask file.md &#x27;What is...&#x27; =&gt; aichat -f file.md &#x27;What is...&#x27;<p>t2x summary &#x2F;path&#x2F;to&#x2F;file =&gt; aichat -r summary -f &#x2F;path&#x2F;to&#x2F;file<p>t2x summary &quot;This is a...&quot; =&gt; aichat -r summary &quot;This is a...&quot;<p>t2x orc &#x2F;path&#x2F;to&#x2F;image.png =&gt; aichat -r orc -f &#x2F;path&#x2F;to&#x2F;image.png<p>&gt; Note, In AIChat, `-r&#x2F;--role` specifies the role to use, `-f&#x2F;--file` indicates the file or URL input.
评论 #42559170 未加载
rodcul4 个月前
Any plans to integrate with <a href="https:&#x2F;&#x2F;openrouter.ai" rel="nofollow">https:&#x2F;&#x2F;openrouter.ai</a> ?<p>that would be sweet
评论 #42559204 未加载
jakedahn4 个月前
hi friends!<p>I&#x27;m the author of t2x and shrugginface.com, I&#x27;m surprised to see this landed on HN a month after I first shared it.<p>I originally planned to make it real during the holiday break but got distracted by other projects. This is the inspiration bump I needed, so I&#x27;ll get back to shipping over the coming weeks
评论 #42566004 未加载
youssefabdelm4 个月前
I wish someone would do something like this but without the preamble like &quot;t2x ask &#x27;bla bla&#x27;&quot;<p>All I want to do is talk to my computer, like:<p>&quot;Sort these files&quot; or whatever. Straight away. No noise.<p>And it should have a history of what was done already, so it knows what I&#x27;m talking about.<p>If people are concerned about safety, it could just be a &#x27;mode&#x27; or an app that isn&#x27;t a terminal but looks like a terminal.
评论 #42556893 未加载
评论 #42559228 未加载
评论 #42557639 未加载
评论 #42564084 未加载
pmarreck4 个月前
heh, I wrote my own dotfile commandline tooling to do most of this already, I wonder if others have done the same
评论 #42556671 未加载