|
| 1 | +[](https://www.gnu.org/licenses/gpl-3.0) |
| 2 | +[](https://jcs-emacs.github.io/jcs-elpa/#/chatgpt-sideline) |
| 3 | + |
1 | 4 | # chatgpt-sideline |
2 | | -Sideline support for chatgpt |
| 5 | +> Sideline support for chatgpt |
| 6 | +
|
| 7 | +## 💾 Installation |
| 8 | + |
| 9 | +#### package.el |
| 10 | + |
| 11 | +This package is available from [JCS-ELPA](https://jcs-emacs.github.io/jcs-elpa/). |
| 12 | +Install from these repositories then you should be good to go! |
| 13 | + |
| 14 | +Normally, you don't need to add `(require 'chatgpt-sideline)` to your |
| 15 | +configuration since most `'chatgpt-sideline` commands are autoload and can be |
| 16 | +called without loading the module! |
| 17 | + |
| 18 | +#### use-package |
| 19 | + |
| 20 | +If you are using [use-package](https://www.emacswiki.org/emacs/UsePackage), |
| 21 | +add the following to your `init.el` file: |
| 22 | + |
| 23 | +```elisp |
| 24 | +(use-package chatgpt-sideline :ensure t) |
| 25 | +``` |
| 26 | + |
| 27 | +or with `straight.el`: |
| 28 | + |
| 29 | +```elisp |
| 30 | +(use-package chatgpt-sideline |
| 31 | + :straight (chatgpt-sideline :type git :host github :repo "emacs-openai/chatgpt-sideline")) |
| 32 | +``` |
| 33 | + |
| 34 | +#### Manual installation |
| 35 | + |
| 36 | +Copy all `.el` files in this repository to `~/.emacs.d/lisp` and add the following: |
| 37 | + |
| 38 | +```elisp |
| 39 | +(add-to-list 'load-path "~/.emacs.d/lisp/") |
| 40 | +(require 'chatgpt-sideline) |
| 41 | +``` |
| 42 | + |
| 43 | +## Quickstart |
| 44 | + |
| 45 | +```elisp |
| 46 | +(use-package chatgpt-sideline |
| 47 | + :hook (after-init . sideline-mode) |
| 48 | + :init |
| 49 | + (setq sideline-backends-right '(chatgpt-sideline))) |
| 50 | +``` |
| 51 | + |
| 52 | +## Contribute |
| 53 | + |
| 54 | +[](http://makeapullrequest.com) |
| 55 | +[](https://github.com/bbatsov/emacs-lisp-style-guide) |
| 56 | +[](https://www.paypal.me/jcs090218) |
| 57 | +[](https://www.patreon.com/jcs090218) |
| 58 | + |
| 59 | +If you would like to contribute to this project, you may either |
| 60 | +clone and make pull requests to this repository. Or you can |
| 61 | +clone the project and establish your own branch of this tool. |
| 62 | +Any methods are welcome! |
0 commit comments