Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paij0se/cligpt
ChatGPT in your terminal
https://github.com/paij0se/cligpt
Last synced: 14 days ago
JSON representation
ChatGPT in your terminal
- Host: GitHub
- URL: https://github.com/paij0se/cligpt
- Owner: paij0se
- Created: 2024-02-09T15:09:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-27T19:48:26.000Z (8 months ago)
- Last Synced: 2024-07-31T20:28:57.807Z (3 months ago)
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cli-apps - cligpt - ChatGPT but in the terminal. (<a name="ai"></a>AI / ChatGPT)
- awesome-ChatGPT-repositories - cligpt - ChatGPT but in the terminal (CLIs)
- awesome-cli-apps-in-a-csv - cligpt - ChatGPT but in the terminal. (<a name="ai"></a>AI / ChatGPT)
README
cligpt
Installation
Go 1.17+
```
$ go install github.com/drpaij0se/cligpt@latest
```test
```
❯ cligpt "Do a poem about Golang in Latin"Nunc est tempus, ut in Golang gradimur
Mox nostris verbis linguam didicimus
Dum in codice nos ponimus,
Cuncta sic apte nos iungimus.Verba nova nos scrutamur
Et in praxi illa provamus
Ut optimus sic codex fiat,
Hic scimus nos invenire quod quaerimus.Golang saepe gloriosa est,
Mentem nostram stimulat et excitat
Nobis efficit ut mira creemus
Et magna in mundo fata sequamur.
```Configuration
Run:```
$ ./cligpt "create the config directory cuh"
```- You are going to see a error message, so, insert the OpenAI token in your config directory that is located in `$HOME/.config/cligpt/cligpt.yml`
```haskell
auth: token
model: text-davinci-003
max_tokens: 256
```Building
- Clone the repository.
`$ git clone https://github.com/drpaij0se/cligpt`
- Build the cli.
`./build.sh`
![image](https://user-images.githubusercontent.com/69026987/209194859-a2456a7d-796f-47e0-8a8e-062848e2cbaf.png)
# cligpt