Wow this is really cool. There is a trick with ChatGPT where you can get it to simulate a linux terminal[0]. I'm not sure if that would work with GPT3 but probably?
Seems like you could either use this directly or extend the idea to having your real terminal as well as your simulated terminal (keeping in mind with the ChatGPT version you can ask it to add functionality like docker, nix, Kubernetes, python, go, etc) and then pipe things between them.
Even without taking it wherever that goes this still seems pretty handy.
Edit: Thinking more about this, a cool ui would be either "containers", "VMs", or some other fake abstraction you could spin up and ssh / rsync into. Imagining simulated VMs. Would be pretty useful to be able to shell out to that at will to play around with. Perhaps with the ability to prompt OS and installed programs.
My favorite demo with ChatGPT is not to ask it to emulate a terminal, but tell it is connected to an Ubuntu 20.04 system by SSH and then ask it to do thing like setup a web server with a blog, secure the server, etc.
I think the next step is to make a platform to create domain specific prompts. For example if you need to use aws cli frequently, write a prompt that has the api types embedded and outputs aws cli filtered through jq. I'm on something like this, hopefully it will benefit this space.
Hm, are there similar projects that simply works as a shell filter? Prompt on std in / answer on stdout ?
Would make for a perfect vim companion - select text, hit "!gpt3" - get answer in buffer?
I'm not very keen on running some random shell commands directly - but having them pop into my editor (safe and recommended wrapper for strict shell script - or - sample python cli utility etc).
Ed: As a bonus it would also compose easily - making adding an interface like https://github.com/jayhack/llm.sh on top would be trivial...
I want to test how well it generates config files for well-documented software packages like i3wm. Give it some natural language instructions for hot keys and default window behavior and let it go wild. Maybe generate some theming for polybar/rofi & resources based off what I actually want the output to look like.
I was experimenting with the Warp terminal for the first time last week. It includes a similar feature. I was pretty impressed with how well it worked.
Yes, but GPT3 is a paid for product already with no free access (I think they give you some credits when signing up but that's it). This project does not use ChatGPT. ChatGPT is what has free access at the moment.
I just signed up for ChatGPT Plus at $20/month. They have a new "Turbo" model which seems very similar to the normal one. They also said that a ChatGPT API is coming.
I use the OpenAI text-davinci-003 for the service I am building which is somewhat like ChatGPT.
Or sgpt “grep for all files containing the string XYZ either in all caps or mixed case, followed by two digits”. Endlessly promising - may eventually lead to the deprecation of man pages.
I think everything that came after man pages lead to the deprecation of man pages. info, Usenet, forums, Google, Stack Overflow..anything but man pages.
It seems like we need a constant stream of ChatGPT posts. I guess hopefully all the fans will be right and it will replace all knowledge so none of us will even need or be able to afford a computer to be able to use it. :)
Sorry to disappoint, I too am frustrated about ChatGPT/GPT-3/LLM mainstream gossip deluge, but that doesn’t mean I disagree with augmenting my productivity with the latest tools.
Seems like you could either use this directly or extend the idea to having your real terminal as well as your simulated terminal (keeping in mind with the ChatGPT version you can ask it to add functionality like docker, nix, Kubernetes, python, go, etc) and then pipe things between them.
Even without taking it wherever that goes this still seems pretty handy.
Edit: Thinking more about this, a cool ui would be either "containers", "VMs", or some other fake abstraction you could spin up and ssh / rsync into. Imagining simulated VMs. Would be pretty useful to be able to shell out to that at will to play around with. Perhaps with the ability to prompt OS and installed programs.
[0] https://www.engraved.blog/building-a-virtual-machine-inside/