From 95c96210346cd46fe57fa88e5c4516a7c6043d72 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Fri, 5 May 2023 13:10:25 -0500 Subject: [PATCH] gippities --- README.org | 16 ++++++++++++++++ init.el | 8 ++++++++ 2 files changed, 24 insertions(+) diff --git a/README.org b/README.org index 0b6c8521..e3376b9e 100644 --- a/README.org +++ b/README.org @@ -1646,6 +1646,7 @@ Spectacle.js is another beautiful slideshow builder that org can export to using ) #+end_src + *** ox-zola I'm going to start a website for my own ramblings, tutorials and links. To do this I'll likely use Zola since it's built in Rust. #+begin_src emacs-lisp @@ -1656,6 +1657,21 @@ I'm going to start a website for my own ramblings, tutorials and links. To do th org-hugo-section "blog")) #+end_src +*** AI +GPTEL is a package that uses chatGPT to get some text generation in org-mode +#+begin_src emacs-lisp +(use-package gptel + :ensure t + :commands (gptel-send + gptel) + :config + (setq gptel-default-mode 'org-mode + gptel-api-key "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")) +#+end_src + +#+begin_ai +is emacs the best? +#+end_ai ** Emoji In order to render color emojis I'll use =unicode-fonts=. #+begin_src emacs-lisp diff --git a/init.el b/init.el index 2172ef49..205f6879 100644 --- a/init.el +++ b/init.el @@ -1328,6 +1328,14 @@ All my (performant) foldings needs are met between this and `org-show-subtree' (setq org-hugo-base-dir "/home/chris/dev/cochrun.xyz" org-hugo-section "blog")) +(use-package gptel + :ensure t + :commands (gptel-send + gptel) + :config + (setq gptel-default-mode 'org-mode + gptel-api-key "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")) + (use-package unicode-fonts :ensure t :config