From deeb606409211143314d0f60dc6bf25079e705a2 Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Sun, 5 Mar 2023 18:08:53 -0800 Subject: [PATCH] Update license. Also update README. --- README.org | 8 ++++---- gptel.el | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 4fd7d0a..7532364 100644 --- a/README.org +++ b/README.org @@ -37,9 +37,9 @@ Installing the =markdown-mode= package is optional. Procure an [[https://platform.openai.com/account/api-keys][OpenAI API key]]. -(Optional: Set =gptel-api-key= to the key or to a function that returns the key.) +Optional: Set =gptel-api-key= to the key or to a function that returns the key (more secure). -Run =M-x gptel= to start or switch to the ChatGPT buffer. (It will ask you for the key if you skipped the previous step.) +Run =M-x gptel= to start or switch to the ChatGPT buffer. It will ask you for the key if you skipped the previous step. Run it with a prefix-arg (=C-u M-x gptel=) to start a new session. @@ -49,7 +49,7 @@ That's it. You can go back and edit previous prompts and responses if you want. ** Why another ChatGPT client? -Existing Emacs clients don't /reliably/ let me use it the simple way I can in the browser. (They will get better, but I wanted something for now.) +Existing Emacs clients don't /reliably/ let me use it the simple way I can in the browser. They will get better, but I wanted something for now. Also, AI-assisted work is a new way to use Emacs. It's not yet clear what the best Emacs interface to tools like it is. @@ -60,7 +60,7 @@ Also, AI-assisted work is a new way to use Emacs. It's not yet clear what the b - A refactoring tool in code buffers? - An =org-babel= interface? -Maybe all of these, I don't know yet. As a start, I wanted to replicate the web browser usage pattern so I can build from there -- and don't need to switch to the browser every time. As a minimal functional interface, the code is very small right now at ~170 lines. +Maybe all of these, I don't know yet. As a start, I wanted to replicate the web browser usage pattern so I can build from there -- and don't need to switch to the browser every time. The code is very minimal right now at ~150 lines. ** Will you add feature X? diff --git a/gptel.el b/gptel.el index c2b18ee..ec2a1a0 100644 --- a/gptel.el +++ b/gptel.el @@ -8,6 +8,8 @@ ;; Keywords: convenience ;; URL: https://github.com/karthink/gptel +;; SPDX-License-Identifier: GPL-3.0-or-later + ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or @@ -21,6 +23,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . +;; This file is NOT part of GNU Emacs. + ;;; Commentary: ;; A ChatGPT client for Emacs.