Skip to content
C

Chatgpt

ChatGPT Console client in Golang

by kkdaiFree

#4745in AI
0In stores

Description

chatgpt is a terminal console client for ChatGPT, written in Go. It uses OpenAI's Chat Completions API with streaming output and keeps conve…

Highlights

  • Streaming chat with multi-turn memory
  • Choose the model and an OpenAI-compatible base URL
  • One-shot prompts and piped input
  • Save and load conversations as JSON
  • Token usage and estimated cost

Ratings & Reviews

No ratings yet

Be the first to rate Chatgpt.

People also visit

T

TerminalGPT

Get GPT like chatGPT on your terminal

AI
Launch
T

Tgpt

AI Chatbots in terminal for free

AI
Launch
C

Chat

chat web app for teams, sass with user management and ratelimit, support…

AI
Launch
W

Webchat2api

OpenAI-compatible Web Chat API proxy

AI
Launch
G

GPT Anywhere

Use GPT anywhere with just one shortcut

AI
Launch
C

Chat0

Blazingly-fast open source AI chat app

AI
Launch

Chatgpt FAQ

What is this client?

A terminal console client for ChatGPT, written in Go, that uses OpenAI's Chat Completions API.

What do I need?

An OpenAI API key, set as API_KEY or OPENAI_API_KEY, and the client installed with go get.

Can I use Azure OpenAI or another service?

Yes. The --base-url option, or OPENAI_BASE_URL, points the client at Azure OpenAI or another OpenAI-compatible service.

How do I use it without a chat session?

Pass a prompt with -p or pipe text in. Piped input without -p is sent as a single prompt.

Can I save conversations?

Yes. /save and /load store conversations as JSON files. /save will not overwrite an existing file unless you use --force.

What are the best Chatgpt alternatives?

Popular alternatives to Chatgpt include TerminalGPT, Tgpt and Chat. See all Chatgpt alternatives

Developer Stuff

Badges