Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 473 Bytes

README.md

File metadata and controls

19 lines (19 loc) · 473 Bytes

chatGPT-cli or OPENAI-API

i made this script just for fun of me learning c++

  • install GUIDE
    • YOU NEED G++
    • YOU NEED lcurl
    • YOU NEED JSON LIBRARY
  • Build Time
    • g++ main.cpp -o binary -lcurl

using binary

export API_KEY="YOUR_API_KEY_HERE"

Download

# add execute permission
chmod +x openai
# this optional
mv openai ~/.local/bin