Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/gptel-extra
Enhancers for Gptel ChatGPT client
https://github.com/karimaziev/gptel-extra
Last synced: 4 days ago
JSON representation
Enhancers for Gptel ChatGPT client
- Host: GitHub
- URL: https://github.com/karimaziev/gptel-extra
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2023-10-17T09:11:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T13:02:22.000Z (5 days ago)
- Last Synced: 2024-11-09T13:24:19.690Z (5 days ago)
- Language: Emacs Lisp
- Size: 75.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+OPTIONS: ^:nil tags:nil num:nil
* About
=gptel-extra= is an extension for the [[https://github.com/karthink/gptel][gptel]] ChatGPT client designed to enhance interaction experience by providing additional useful features.
* Table of Contents :TOC_2_gh:QUOTE:
#+BEGIN_QUOTE
- [[#about][About]]
- [[#requirements][Requirements]]
- [[#installation][Installation]]
- [[#with-use-package-and-straightel][With use-package and straight.el]]
- [[#manual-installation][Manual installation]]
- [[#usage][Usage]]
#+END_QUOTE* Requirements
| Name | Version |
|---------+---------|
| Emacs | 26.1 |
| ~gptel~ | 0.4.0 |* Installation
** With use-package and straight.el
#+begin_src elisp :eval no
(use-package gptel-extra
:straight (gptel-extra
:repo "KarimAziev/gptel-extra"
:type git
:host github)
:after (gptel)
:demand t
:config (gptel-extra-org-markdown-block-mode 1))
#+end_src** Manual installation
Download the source code and put it wherever you like, e.g. into =~/.emacs.d/gptel-extra/=
#+begin_src shell :eval no
git clone https://github.com/KarimAziev/gptel-extra.git ~/.emacs.d/gptel-extra/
#+end_srcAdd the downloaded directory to the load path:
#+begin_src elisp :eval no
(add-to-list 'load-path "~/.emacs.d/gptel-extra/")
(require 'gptel-extra)
#+end_src* Usage
After installing the package, you should enable =gptel-extra-org-markdown-block-mode= to activate the handling of org-markdown blocks in Gptel streams:
~M-x gptel-extra-org-markdown-block-mode~: Toggle handling of org-markdown blocks in =gptel= streams. When this mode is on, it will advise the gptel stream functions =gptel-curl--stream-cleanup= and =gptel-curl-get-response= to insert the streaming response from ChatGPT as an Org src markdown block.