Skip to content

getjared/scylla

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scylla

[ simple chatgpt-cli built in c ]

License: Unlicense Made with C

✧ features

  • 🤖 gpt-3.5-turbo model support (gpt-4 coming soon™)
  • 💬 interactive message sending and receiving
  • 📝 terminal markdown rendering
  • 🎨 colorful terminal output
  • 🚀 minimal dependencies (just libcurl & json-c)
  • 📦 conversation export in multiple formats

✧ preview

┌─────────────────────────────────────────┐
│ you: what's the meaning of life?        │
│                                         │
│ assistant: let me think about that...   │
│                                         │
│ [assistant is typing...]                │
└─────────────────────────────────────────┘

✧ requirements

  • 🔧 gcc compiler
  • 📚 libcurl library
  • 📚 json-c library
  • 🌐 working internet connection
  • 🔑 openai api key

✧ installation

git clone https://github.com/getjared/scylla.git
cd scylla
make
sudo make install

# important: replace the api key in the code with your actual openai api key

✧ quick start guide

launch

./scylla

commands

command description
save save conversation in txt format
export json export conversation in json format
export md export conversation in markdown format
quit exit the client

✧ protips

  • 📝 use markdown in your messages for better formatting
  • 💾 export conversations regularly to avoid losing important chats
  • 🔄 conversations are not persistent between sessions
  • 🔒 keep your api key secure and never commit it to git

✧ export formats

txt format

you: hello
assistant: hi! how can i help you today?

json format

{
  "messages": [
    {"role": "user", "content": "hello"},
    {"role": "assistant", "content": "hi! how can i help you today?"}
  ]
}

markdown format

**you**: hello
**assistant**: hi! how can i help you today?
╭─────────────────────────╮
│  made with ♥ by jared   │
╰─────────────────────────╯

About

simple chatgpt-cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published