4 ms·
Ell is really cool! I'm building a similar product called Savvy(https://github.com/getsavvyinc/savvy-cli https://github.com/getsavvyinc/savvy-cli) and consider
by joshi4 2y ago
Ell is really cool!
I'm building a similar product called Savvy(https://github.com/getsavvyinc/savvy-cli https://github.com/getsavvyinc/savvy-cli) and considered an approach similar to yours (writing in pure bash) but ultimately decided to use Go for a few reasons:
- charmbracelet makes it super easy to build rich TUI
- Go produces a single binary that's compatible across many platforms and keeps installation simple
- It's simpler to support multiple shells.
- simonmysun 2y agoThanks! Another user[1] also mentioned Savvy but I misunderstood its purpose. Now I understand it does have a similar functionality of analyzing a record of terminal! Your approach allows more chances to let LLM explain what happens, while in my case, asking ell will immediately destroy the original context (the user may have to rerun the falsy command again and cause more damage). However, exiting and reentering recording mode also feels tedious. I must find a better way to interact. https://news.ycombinator.com/item?id=41139040 https://news.ycombinator.com/item?id=41139040
- joshi4 2y agoYou're right, to counteract the friction I also allow users to create runbooks from their shell history. Here's the source code: https://github.com/getsavvyinc/savvy-cli/blob/8c6a834c5a140b83cc77c788e40738f510af7c12/cmd/history.go#L42 https://github.com/getsavvyinc/savvy-cli/blob/8c6a834c5a140b...
- threecheese 2y agoJust checked out Savvy; is the runbook-generating code (‘savvy record’) also in that repository? The one hosted at api.getsavvy. Very interesting idea! Your terminal screenshots are excellent as well, very compelling imagery. Love the font.
- joshi4 2y agoHere's the code for savvy record: https://github.com/getsavvyinc/savvy-cli/blob/8c6a834c5a140b83cc77c788e40738f510af7c12/cmd/record.go#L48 https://github.com/getsavvyinc/savvy-cli/blob/8c6a834c5a140b... Lot of users typically find that they realize they should have recorded something after they've done it. That's why savvy also allows you to select commands from your shell history with savvy record history The API source code is in a different repo. Thanks! All credit to the dracula theme for tmux and Kitty terminal emulator. If you have any questions or feedback feel free to email me at shantanu@getsavvy.so