Hacker News new | ask | show | jobs
by youssefabdelm 530 days ago
I wish someone would do something like this but without the preamble like "t2x ask 'bla bla'"

All I want to do is talk to my computer, like:

"Sort these files" or whatever. Straight away. No noise.

And it should have a history of what was done already, so it knows what I'm talking about.

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.

4 comments

> "Sort these files"

There's aichat, which you can use in REPL mode to do exactly that: https://github.com/sigoden/aichat

Shameless plug: I mostly use my own work: https://github.com/codespin-ai/codespin

But it requires you to pipe: `ls | codespin go sort`. Maybe I should add what you're suggesting.

If you run `ls -la | t2x "sort these files alphabetically"`, it will do the right thing.

However, subcommand like `t2x ask` are used to route you to a different model with different behavior. The ask subcommand currently makes requests to perplexity, where you can ask questions and get near realtime grounding from the world.

Why do you want this? Not only is it unreliable and inefficient to do such things with LLMs, but we already have easy ways to do them with existing tools.

I work with computers and do data wrangling on a daily basis. What am I missing?

I use a cli tool 100x/day for misc things; can hit openai or a local llm.

https://github.com/TheR1D/shell_gpt

Has nice shell integration.