Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barthr/commandpilot
Commandpilot is an assistant which uses ChatGPT to aid in constructing commands for bash
https://github.com/barthr/commandpilot
Last synced: about 2 months ago
JSON representation
Commandpilot is an assistant which uses ChatGPT to aid in constructing commands for bash
- Host: GitHub
- URL: https://github.com/barthr/commandpilot
- Owner: barthr
- Created: 2023-03-12T10:44:51.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-03-12T11:04:59.000Z (over 1 year ago)
- Last Synced: 2024-01-27T10:33:50.239Z (5 months ago)
- Language: Shell
- Size: 50.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Lists
- cli-apps - Commandpilot - An assistant which uses ChatGPT to aid in constructing commands for bash. (<a name="copilot"></a>Co-pilot)
- awesome-cli-apps - Commandpilot - An assistant which uses ChatGPT to aid in constructing commands for bash. (<a name="copilot"></a>Co-pilot)
README
## Commandpilot
**NOTE: This is a experimental script and can contain bugs or issues, no command is executed without the users consent**
> Assistant to help with those pesky commands on how to do things. For example, how do you rsync files with progress from one computer to another
### Requirements:
- `OPENAI_API_KEY` environment variable
- Installation of jq (https://stedolan.github.io/jq/)
- Installation of gum (https://github.com/charmbracelet/gum)### Installation
```bash
COMMAND_PILOT_PATH=~/.local/bin/commandpilot # or any path in your $PATH you would like, I like to use ~/.local/bin for my own "scripts" and "binaries"# Download the script
wget https://raw.githubusercontent.com/barthr/commandpilot/master/command-pilot.sh -O $COMMAND_PILOT_PATH# Set the correct permissions
chmod +x $COMMAND_PILOT_PATH
```Run it!
```bash
➜ commandpilot
> What command would you like help with?
```