Generate shell command you want with power of LLM, without leaving your terminal.
Project description
ShellGPT
Generate shell command you want with power of LLM, without leaving your terminal!
Install
pip install shgpt
This will install two commands: sg
and shgpt
.
Usage
ShellGPT has three modes to use:
sg {your question}
sg
, Enter TUI modesg -l
, Enter an interactive REPL
See conf.py for configs.
TUI
There are some key bindings to use in TUI:
ctrl+j
, Infer answerctrl+r
, Run commandctrl+y
, Yank command
Requirements
- Ollama, you need to download models before try shellgpt.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shgpt-0.1.1.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file shgpt-0.1.1.tar.gz
.
File metadata
- Download URL: shgpt-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca2d08e5976f595848971d7c0b27a14c89cefa2b8da751cd9d09dc575e94c326 |
|
MD5 | cd783748b8fb136fdd4c9b06c5017367 |
|
BLAKE2b-256 | 4e56006e982b56e01c5eef75fbec84f17102027c082088bf45299489e53ff36a |
File details
Details for the file shgpt-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: shgpt-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cad78d762acd69e675f867d8f33f8d8cf8689abc7830a399c618cc84f28b3000 |
|
MD5 | 31a9ad7cc9d4a779482d241127cb4c80 |
|
BLAKE2b-256 | 3efeb2b3eab94aff9bf93e6efe0a0b236a69f5eeea9dc45beda3abaf1ef0fc5d |