4 ms·
Hi, they're also trying to do something similar with shell. I'm not sure who's better. [demo](https://x-cmd.com/mod/gemini https://x-cmd.com/mod/gemini) [sourc
by hacker-l 2y ago
Hi, they're also trying to do something similar with shell. I'm not sure who's better.
[demo](https://x-cmd.com/mod/gemini https://x-cmd.com/mod/gemini)
[source code](https://github.com/x-cmd/x-cmd/blob/main/mod/gemini/lib/main https://github.com/x-cmd/x-cmd/blob/main/mod/gemini/lib/main)
- simonmysun 2y agoCool! This is looks a lot fancier. EDIT: I was wrong. Ignore the next paragraph. ~~I haven't looked into details but it looks reading from somewhere like `.bash_history`. That's a good idea to get user input from. But as far as I learned, it cannot use the terminal ouput as context. I might be wrong. I should read more about its implementation.~~ It turns out it cannot make use of terminal output. But I like it that it use awk to process the response. I might also be able to use awk to get rid of the dependencies of jq and perl. Thank you for letting me know this. I will add it in the related projects chapter in README
- curry798 2y agoIt looks beautiful and has many features, why are there so few star?
- simonmysun 2y agoI also wonder. It didn't appear in my search because, I guess, it has too many features and the feature I want to search has a relatively low weight. I also searched x-cmd on HN but there aren't many positive comments... I would expect it's more popular on HN because it's written in POSIX shell and awk.