👉 Support my work via GitHub Sponsors
A minimal ChapGPT Emacs shell.
This is very much an experimental proof of concept, possibly incomplete, or maybe with some rough edges. Pull requests with improvements or fixes totally welcome.
Load (require 'chatgpt-shell)
(setq chatgpt-shell-openai-key
(lambda ()
(nth 0 (process-lines "pass" "show" "openai-key"))))
M-x set-variable chatgpt-shell-openai-key
(setq chatgpt-shell-openai-key "my key")
Execute with M-x chatgpt-shell
.