Hey is a powerful chatbot for the command line that uses ChatGPT to generate commands based on natural language input.
- 💬 Run ChatGPT via CLI
- ❓ Question to command
- 🎬 Response streaming
- 🔄 Lets you run multiple commands (always asks before and shows you the command)
- 📤 Optionally send output of command back to chatgpt for explanation
- ⚠ Tags it as dangerous if needed
- ⬆️ Lets you go arrow up for command history
- 🔍 Cmd+r to search through command history
- 💬 Chat mode, just acts more like a normal chat gpt session
- 🌈 Syntax highlighting of code
This uses a prompt with your os and shell included. It can send commands for you to run (or skip). It will show when a command is concidered dangerous, the default will be to skip the command.
hey-commands.mp4
hey can you convert all the files in downloads/HEIC with .HEIC files to jpeg and make them square 512x512
hey an you create a password with 20 chars
I have a files video.mp4 in my downloads folder, can you convert it to a mkv format 1080p
Can you convert this mp4 to gif for me: /Users/x/Desktop/video.mp4. Make it as small as po ssible while keep the colors intact. Also the max frame count is 500. Make the resolution at width 1280
The lang mode can help with programming questions in specific language.
hey-lang.mp4
With syntax highlighting!
In chat mode you have a quite normal chatgpt experience in your command line, with the option to save parts to a file.
hey-chat.mp4
To install Hey via pipx (you might need to install pipx first https://pypa.github.io/pipx/), you can use the following command:
pipx install hey-gpt
Once Hey is installed, you can run it from anywhere on your system by typing hey
in your terminal.
- Python
- Pipx
hey
To use Hey, simply type in your question or command and Hey will start a chat session and generate commands. It always asks to confirm before execution.
(More will follow...)
hey (command)
This will immediatly question chat gpt with your question and show a response. The sessions will remain active until you type bye
or exit
.
This project is licensed under the MIT License - see the LICENSE file for details.