Hacker Newsnew | past | comments | ask | show | jobs | submit | hacker-l's commentslogin

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) [source code](https://github.com/x-cmd/x-cmd/blob/main/mod/gemini/lib/main)


Cool! 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


It looks beautiful and has many features, why are there so few star?


I 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.


This reminds me of a saying ... For there is nothing either good or bad, but thinking makes it so.


Wow, this is a very interesting idea For me, setting up the environment and installing dependencies has always been cumbersome and frustrating


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: