/chatgpt-cli

chatgpt written in c++

Primary LanguageC++

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