Skip to content

nolanzhao/chatgpt-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chatgpt-client

命令行版 ChatGPT 应用

设置环境变量

export OPENAI_API_KEY='你的KEY'

可添加到系统的 .bashrc.zshrc 文件中

启动

go mod tidy
go run chat.go

安装到系统

go build .
mv chat-client /usr/local/bin/chatgpt

终端输入chatgpt即可使用.

About

命令行版 ChatGPT 应用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%