scylla is a super minimal chatgpt client written in c. i named after the sea monster from greek mythology, known for its many heads - symbolizing the multiple conversational turns in a chat. .
- gpt-3.5-turbo model (ill try to add 4 later on)
- sends and receives messages
- supports basic markdown rendering in the terminal
- colorful terminal output
- minimal external dependencies - only requires libcurl and json-c
- conversation export in txt, json, and markdown formats
- gcc compiler
- libcurl library
- json-c library
- a working internet connection
- openai api key
- clone this repository or download the
scylla.c
script. - compile the script:
make
- make sure to replace the api key in the code with your actual openai api key.
run the compiled program:
./scylla
save
: save the conversation in txt formatexport json
: export the conversation in json formatexport md
: export the conversation in markdown formatquit
: exit the client
regular text input will be sent as a message to the chatgpt model.
this is a minimal chatgpt client intended for basic usage and learning purposes. it may not support all openai api features or have robust error handling. use at your own discretion, and remember to keep your api key secure.