rootker / chatgpt-cli

chatgpt written in c++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

chatgpt written in c++


Languages

Language:C++ 100.0%