I built a terminal-based gpt client for myself. It uses a sqlite db to store conversations and uses bubbletea for terminal drawing. I use it frequently while I'm writing code. It uses another library to render markdown so that code snippets gpt produces look pretty. It's not perfect by any stretch but it feels great to use it because I made it. https://github.com/collinvandyck/gpterm/