AIChat (<a href="https://github.com/sigoden/aichat">https://github.com/sigoden/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 'Write a ...' => aichat 'Write a ...'<p>t2x ask file.md 'What is...' => aichat -f file.md 'What is...'<p>t2x summary /path/to/file => aichat -r summary -f /path/to/file<p>t2x summary "This is a..." => aichat -r summary "This is a..."<p>t2x orc /path/to/image.png => aichat -r orc -f /path/to/image.png<p>> Note, In AIChat, `-r/--role` specifies the role to use, `-f/--file` indicates the file or URL input.
hi friends!<p>I'm the author of t2x and shrugginface.com, I'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'll get back to shipping over the coming weeks
I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'"<p>All I want to do is talk to my computer, like:<p>"Sort these files" or whatever. Straight away. No noise.<p>And it should have a history of what was done already, so it knows what I'm talking about.<p>If people are concerned about safety, it could just be a 'mode' or an app that isn't a terminal but looks like a terminal.