https://github.com/alessandrow/emacs-chatgpt
ChatGPT Mode for Emacs
https://github.com/alessandrow/emacs-chatgpt
chatgpt emacs gpt4o
Last synced: 15 days ago
JSON representation
ChatGPT Mode for Emacs
- Host: GitHub
- URL: https://github.com/alessandrow/emacs-chatgpt
- Owner: AlessandroW
- Created: 2024-06-24T09:14:05.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-24T09:43:23.000Z (10 months ago)
- Last Synced: 2025-04-04T12:12:06.799Z (19 days ago)
- Topics: chatgpt, emacs, gpt4o
- Language: Emacs Lisp
- Homepage:
- Size: 398 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+title: Emacs ChatGPT
#+HTML:![]()
#+LAST_MODIFIED: [2024-06-24 Mon 11:42]This package provides a chat interface to OpenAI via its chat completions API.
For a more sophisticated package see [[https://github.com/SFTtech/emacs-elaiza][ELAIZA]].* Installation
** Doom Emacs
Add the following to your =packages.el=
#+begin_src emacs-lisp
(package! chatgpt :recipe (:host github :repo "AlessandroW/emacs-chatgpt" :branch "main"))
#+end_srcStore your API key either in =~/.authinfo.gpg= or ~chatgpt-api-key~.
#+begin_example ~/.authinfo.gpg
machine api.openai.com port https login chatgpt password
#+end_example* Usage
You can prompt the model with =M-x chatgpt= and chat in the =*ChatGPT*= buffer using =C-c RET=.
#+HTML:![]()