DEV Community

SilentPuck
SilentPuck

Posted on

I built SilentGPT – a terminal-based ChatGPT client in C with encrypted chat history

Hi all, I'm SilentPuck.

I wanted a way to interact with GPT models from the terminal, fully offline (except API calls), with:

  • zero telemetry
  • encrypted local history
  • multiple token profiles
  • written in pure C

So I built SilentGPT – a single-binary CLI chat client that does exactly that.


🔐 Why?

I didn't want to depend on Electron, Python, or any browser interface.

I just wanted a quiet, minimal, encrypted tool that I could trust on any Linux machine — even in airgapped environments.


🧠 Features

  • Pure C implementation
  • Single portable binary (depends only on OpenSSL and libcurl)
  • AES-256-GCM encryption for chat history and tokens
  • Multiple tokens via --token
  • Optional password mode with SHA-256 derived key
  • /list, /load, /rename, /delete, /export all from CLI
  • No OpenAI logging – raw curl requests only

🛠 Build

sudo dnf install openssl-devel libcurl-devel
make
./silentgpt --token test --secure
Enter fullscreen mode Exit fullscreen mode

GitHub: SilentGPT

🧭 Philosophy

Tools for invisible people.
With silence and precision.
No tracking. No noise. Just control.
Enter fullscreen mode Exit fullscreen mode

💬 Feedback

I'm open to feedback, questions, or suggestions. This is my first major open C project — would love to hear your thoughts.

Silent and precise. — SilentPuck

Top comments (0)