Curated list of apps and tools that not only use the new ChatGPT API, but also allow users to configure their own API keys, enabling free and on-demand usage of their own quota.
The key can be configured by an interactive procedure when running for the first time, or configure the config.yaml file manually. A template is provided in the repository.
Markdown support is similar to many, but I provide a list of the most frequently used commands to make the experience much like the original web client. Conversations can be saved and loaded with commands. Additionally, Exiting with an unsaved conversation with be prompted to save or ignore. Supported commands are as follows:
!help: shows the help message
!show: displays the current conversation messages
!save: saves the current conversation to a JSON file
!load: loads a conversation from a JSON file
!new or !reset: starts a new conversation
!regen: regenerates the last response
!resend: resends your last prompt to generate response
!edit: selects messages for editing
!drop: selects messages for deletion
!exit or !quit: exits the program
要求:
使用了 OpenAI 官方 ChatGPT API
可以在首次运行的时候根据交互式提示设置 API key,或者用户可以手动编辑 config.yaml 文件进行设置。仓库中提供了模板。
Requirements:
config.yaml
file manually. A template is provided in the repository.Markdown support is similar to many, but I provide a list of the most frequently used commands to make the experience much like the original web client. Conversations can be saved and loaded with commands. Additionally, Exiting with an unsaved conversation with be prompted to save or ignore. Supported commands are as follows:
!help
: shows the help message!show
: displays the current conversation messages!save
: saves the current conversation to aJSON
file!load
: loads a conversation from aJSON
file!new
or!reset
: starts a new conversation!regen
: regenerates the last response!resend
: resends your last prompt to generate response!edit
: selects messages for editing!drop
: selects messages for deletion!exit
or!quit
: exits the program要求:
config.yaml
文件进行设置。仓库中提供了模板。支持 Markdown 这一特性和很多的是相同的,但本人提供了一些非常常用的命令,让控制台的交互和官方网页端相似。除此以外,对话可以通过命令保存到本地,也可以从本地加载。退出时如果当前会话未保存会提示,由用户选择保存或者跳过。支持的命令包括:
!help
呈现帮助信息,目前只有英文显示!show
用来呈现当前会话的所有消息(以 Markdown 渲染的格式)!save
保存当前会话到JSON
文件!load
从文件加载会话,如果遇到当前会话未保存的情况,会提醒你是否选择保存当前会话。!regen
重新生成最后一次 ChatGPT 的回复!new
或者!reset
重置会话,如果未保存的话会提示是否保存!drop
目前用于删除掉某一段消息,可以是 ChatGPT 的也可以是你发的!resend
通常用于在发送失败的情况下,如遇到网络错误,重新发送上一次的消息!edit
用于编辑会话,双方的话都可以编辑!exit
或者!quit
退出,未保存的情况下也会提示是否保存