A ChatGPT Clone in C with Raylib (work in progress)
-
Install Raylib: https://github.com/raysan5/raylib/wiki
-
Download
raygui
andcJSON
:
$ git clone --depth=1 https://github.com/raysan5/raygui.git
$ git clone --depth=1 https://github.com/DaveGamble/cJSON.git
- Set API key to environment variable
$ export OPENAI_API_KEY=YOUR_API_KEY
- Compile & run
$ ./build.sh
$ ./main