https://github.com/jonaylor89/gpt4-cli
a dummy simple cli to run gpt4 llm in the terminal
https://github.com/jonaylor89/gpt4-cli
chatgpt cli rust
Last synced: about 1 year ago
JSON representation
a dummy simple cli to run gpt4 llm in the terminal
- Host: GitHub
- URL: https://github.com/jonaylor89/gpt4-cli
- Owner: jonaylor89
- Created: 2024-01-06T17:18:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-19T07:37:33.000Z (over 2 years ago)
- Last Synced: 2025-02-28T00:15:42.105Z (over 1 year ago)
- Topics: chatgpt, cli, rust
- Language: Rust
- Homepage: https://crates.io/crates/gpt4
- Size: 2.1 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gpt4 cli
I built this because I've found it lowkey useful and didn't want to install [the python version a friend of mine built](https://github.com/dmanjunath/gpt4-cli) (compiled languages >>> )
### usage
```sh
gpt4 "your prompt"
```
### installation
install with cargo
```sh
cargo install gpt4-cli
```
add api key to `$HOME/.config/gpt4-cli/config.toml`
```toml
openai_api_key="your api key"
```
full send!
--------------
# example

