shell_gpt
bass
shell_gpt | bass | |
---|---|---|
38 | 15 | |
8,341 | 2,132 | |
- | - | |
8.0 | 3.8 | |
6 days ago | 5 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shell_gpt
-
Oh My Zsh
https://github.com/TheR1D/shell_gpt?tab=readme-ov-file#shell...
-
Is there a better way to feed my codebase to GPT than using this bash script? How could I bundle the source code more intelligently?
I would like to stay in the terminal, and am using https://github.com/TheR1D/shell_gpt, my format is simply to send GPT a file to discuss:
-
Ask HN: How are you using LLMs in your command-line?
ShellGPT https://github.com/TheR1D/shell_gpt does pretty well for a lot of use cases. I mostly use it in REPL mode, switching topics as needed. I have wrappers around the `sgpt` command to, say, start a REPL with a particular topic, say, Python, which loads my previous history on that topic as part of the prompt.
I also have an alias to save existing chats as text files so I can go back and review history.
Finally, there is an alias to load a question up in an editor if I need to enter multiline text, e.g. to discuss code fragments, etc.
I expect command-line workflows to be pretty individualized and I'm curious what others do. For me (old programmer), using a command line REPL feels much more natural (and blissfully noise-free) than going to a Web page to talk to, say, ChatGPT.
-
ChatGPT web and mobile UIs unavailable
The API still works. I've been using https://github.com/TheR1D/shell_gpt/ in my workflow.
-
Gorilla-CLI: LLMs for CLI including K8s/AWS/GCP/Azure/sed and 1500 APIs
I recommend shell-gpt[1] for anyone with access to the OpenAI API. It works surprisingly well considering how simple it is. Be sure to browse the examples in the README.
[1] https://github.com/TheR1D/shell_gpt
-
englizsh: Zsh plugin to interface command-line GPT programs intuitively through keybindings
Nice idea. You may want to mention in the docs that it requires https://github.com/TheR1D/shell_gpt ;)
-
Sideloaded my app on an old second hand smartwarch, opened a shell and talked to AI on my wrist
I honestly bought the device just to play with the wearable version of my android app: a voice controlled ssh client that let me also pass voice input to shell_gpt. Other pre installed apps won't really work on this device, including google assistant, so I had to switch to google cloud speech to text APIs for speech recognition. I can still sideload compatible apps via bluetooth debugging tho
-
Can I integrate my local LLM to enable it to run system commands and execute local code?
Maybe this can help : https://github.com/TheR1D/shell_gpt
-
CLI to convert natural language to terminal commands
I'm not really following these but they tend to get released every other day, like https://github.com/nlml/YoCLI/ and https://github.com/TheR1D/shell_gpt
- LLM, ttok and strip-tags–CLI tools for working with ChatGPT and other LLMs
bass
-
Starship.rs: minimal, fast prompt for any shell
> I do wish fish could seamlessly convert and run bash scripts on the fly..
It can. With a little help. I use this:
https://github.com/edc/bass
-
Oh My Zsh
I've been using it for years and most things I need nowadays just work (i.e. have Fish support out of the box).
For all the rest, perhaps give https://github.com/edc/bass a try.
-
fish-shell: the user-friendly command-line shell
If you're running a script, you can use edc/bass to run it from a fish shell. Fisher is one of the first things I install after fish, then bass, z and a few other helper plugins.
https://github.com/edc/bass
https://github.com/jorgebucaran/fisher
-
My ultimate shell setup with Fish shell and Tmux
Use bass to drop down to bash from fish :)
https://github.com/edc/bass
-
new convert here, very happy!
As for POSIX, I'll just type bash and do what I need to do, or call a script. You also might want to use the plugin bass, because some programs do not pick up on variables that are set in fish. I think there are other similar plugins, but in my experience bass is the best one. https://github.com/edc/bass
-
Converting some bash script to fish shell
This is an older utility, but still a good one - Bass attempts to make the transition from Bash/Zsh to Fish a little simpler: https://github.com/edc/bass
-
Using nvm with fish shell [Linux]
omf install https://github.com/fabioantunes/fish-nvm omf install https://github.com/edc/bass
-
Help getting set up with Node?
I think https://github.com/edc/bass might help?
-
Hi fishers ! Please help me replicate this simple bash script (I am new)
There are a few ways to work with it, either it simply has "var=val" statements that you could turn into a while read loop that sets variables, or you would need something like bass.
-
Fish Shell
There is no need to change `$SHELL` :-/ you can use Bass (https://github.com/edc/bass) to execute any bash script and it will apply the environment variables to the current fish environment.
What are some alternatives?
gorilla-cli - LLMs for your CLI
fisher - A plugin manager for Fish
ai-shell - A CLI that converts natural language to shell commands.
fish-functions - :wrench: My utility belt of fish functions, writing these has saved me many hours in the long run... I hope...
GPTCache - Semantic cache for LLMs. Fully integrated with LangChain and llama_index.
fish-shell - The user-friendly command line shell.
YoCLI - yo lets you find the the CLI command you are looking for by asking in natural language
PowerShell - PowerShell for every system!
butterfish - A shell with AI superpowers
jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
mods - AI on the command line
PSReadLine - A bash inspired readline implementation for PowerShell