gptel
chatgpt-shell
gptel | chatgpt-shell | |
---|---|---|
13 | 25 | |
919 | 766 | |
- | - | |
9.3 | 9.1 | |
4 days ago | about 1 month ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gptel
-
A CEO's Guide to Emacs
Emacs is able to run prompts, just like any other tool that's able to make an HTTP request. E.g., https://github.com/karthink/gptel provides hooks to both OpenAI and local LLMs, and allows you to use them anywhere—since everything in Emacs is a buffer.
There are some pretty great examples in the README.
- Gptel: A simple LLM client for Emacs
-
Emacs-copilot: Large language model code completion for Emacs
Also worth checking out for more general use of LLMs in emacs: https://github.com/karthink/gptel
-
Emacs Advent Calendar 6: elfeed-tube, popper, consult-dir, gptel and more
gptel: An LLM chat client for Emacs, supports ChatGPT and local LLMs (via Ollama, GPT4All or llama.cpp)
- gptel: A simple LLM client for Emacs
- JetBrains IDE update previews “deeply integrated” AI Assistant
-
Delegating markdown blocks over to org babel
That would be great, though ChatGPT seems to prefer Markdown even when org is requested. Didn't want to fight it too much. Did you manage to get a reliable prompt, or if I'm understanding correctly gptel converts Markdown to Org?
-
Ask HN: What are some of the best ChatGPT Clients out there?
I use https://github.com/karthink/gptel to talk to GPT in Emacs and, by extension, have a record of all my conversations (unless intentionally removed) as simple Org files in my single Org-Roam network.
-
emacs lisp and chatgpt: it helps
It made me a working function on the first try. (sorry, I lost the exact prompt, I just ran gptel from my scratch buffer)
- gptel: A no-frills ChatGPT client for Emacs
chatgpt-shell
-
Devin, the First AI Software Engineer
I think it is a tooling issue. It is in no way obvious how use LLM's effectively, especially for really good writing results. Tweaking and tinkering can be time consuming indeed, but i use lately the chatgpt-shell [1] and it lends well to an iterative approach. One needs to cycle through some styles first, and then decide how to most effectively prompt for better results.
[1]https://github.com/xenodium/chatgpt-shell/blob/bf2d12ed2ed60...
-
Ask HN: What apps have you created for your own use?
- https://xenodium.com/an-ios-journaling-app-powered-by-org-pl... - Lately, I'm having a go at building a privacy-focused plain-text-based iOS journaling app. I starte building it for someone important in my life but now using it myself.
- https://flathabits.com - After reading Atomic Habits, I wanted a habit tracker but most had more friction than I wanted, required accounts, had distractions, lock-in etc. so I built a privacy-focused app, with little friction and no-lockin (saves to plain text).
- https://plainorg.com - There are a gazillion markdown apps on the App Store, but hardly any supporting org markup, so I built one.
- https://xenodium.com/scratch-a-minimal-scratch-area - I wanted a surface where I could just dump text with as few taps as possible.
- https://github.com/xenodium/macosrec - I wanted to take either screenshots or videos of macOS apps from the command line, so I could integrate anywhere.
- https://github.com/xenodium/chatgpt-shell - I'm far down the Emacs rabbit hole, so I prefer Emacs-integrated tools. Built a ChatGPT Emacs shell to see what the hype was all about ;) tl;dr it really does help.
- https://github.com/xenodium/dwim-shell-command - A way to manage and easily apply the gazillion one-liners (and more complex scripts) I've come across. I got close to 100 utils check-in now https://github.com/xenodium/dwim-shell-command#my-toolbox
- https://github.com/xenodium/ob-swiftui - Play around with SwiftUI layouts from the comfort of my preferd editor.
- https://github.com/xenodium/company-org-block - Org block completion.
- https://xenodium.com - I tend to scratch own itches and post my solutions here.
-
More advanced emacs tutorials
Every so often I scratch an itch to improve my workflow and write it up https://xenodium.com.
-
What I Have Changed My Mind About in Software Development
With lsp, the gap between IDEs vs text editors is narrowing. While I still prefer Emacs, I’m pragmatic enough to jump on to whatever tool does a better job for a specific task. At times, that is Xcode.
Was also sceptical about ChatGPT and changed my mind like OP. I was less pragmatic on this one and brought ChatGPT over to Emacs https://github.com/xenodium/chatgpt-shell. Pretty happy with the result so far.
-
Edit-mode for point-by-point text proofreading, like EditGPT?
There are a handful of chatgpt Emacs packages. I happen to have authored chatgpt-shell. For making a synchronous request, can use chatgpt-shell-post-prompt. For async, use chatgpt-shell-send-to-buffer with a handler.
-
Ask HN: Could you show your personal blog here?
https://xenodium.com will hit 10 years in November. It started as a single org file for personal notes (programming, cooking, Emacs, bookmarks, iOS dev, travel). One day, I decided to export it to HTML and make it accessible to me from anywhere. Sorta just became both notes and blog over time…
While the tone of the posts may have evolved a bit, the blog still serves as personal notes/reference of sorts. The tech behind it hasn’t changed a whole lot. It remains a single org file (https://raw.githubusercontent.com/xenodium/xenodium.github.i...) with my own ugly elisp hacks, but hey does the job ;-)
-
Use emacs as a ChatGPT app
u/xenodium's chatgpt-shell deserves a mention. It uses an intuitive Comint-shell based interaction and includes support for executable code blocks (in the comint-shell) and for org-babel. It's very polished -- I believe it also includes support for saving and restoring sessions, which gptel is yet to add.
-
Do you also write small guides for yourself to remind you of your own emacs workflows?
Yep. Turn some of them into posts https://xenodium.com
-
Is orgmode really that much better than an equivalent workflow using vim + other tools?
For certain concepts that I don't understand fully, I'm using chatgpt-shell. It is beyond fantastic and almost impossible to describe in a single post. This is, for example, just one of my use cases: When I'm writing a comment or a message to my colleague (and of course, yes, I edit just about any text in Emacs), I can select a paragraph and ask chatgpt-shell to improve it. It does, but it also shows me the diff of the changes, that is how I set it up.
-
Twenty Years of Blogging
Mine (https://xenodium.com) will hit 10 years in November. It started as a single org file for personal notes. One day I decided to export it to HTML as my accesible notes from anywhere. Sorta just became both notes and blog over time… While the tone of the posts may have evolved over time, they still serve as a notes/reference of sorts. The tech behind it hasn’t changed a whole lot. It remains is a single org file (https://raw.githubusercontent.com/xenodium/xenodium.github.i...).
What are some alternatives?
ChatGPT.el - ChatGPT in Emacs
E2B - Secure cloud runtime for AI apps & AI agents. Fully open-source.
org-ai - Emacs as your personal AI assistant. Use LLMs such as ChatGPT or LLaMA for text generation or DALL-E and Stable Diffusion for image generation. Also supports speech input / output.
emacs-chatgpt-jarvis - press F12 to record, use whisper to transcribe and chatgpt to answer
c3po.el - 🤖 Meet c3po.el, the Emacs droid you’ve been looking for! This package will take your workflow to a galaxy far, far away. 🌟 C3PO.el is an Emacs package for interacting with the ChatGPT API. May the source be with you!
ideas - a hundred ideas for computing - a record of ideas - https://samsquire.github.io/ideas/
gpt-generated-commit-messages - Commit and push with one step and ChatGPT generated commit message
go-cleanarchitecture - An example Go application demonstrating The Clean Architecture.
ata - Ask the Terminal Anything (ATA): ChatGPT in the terminal
splitter - React component for building split views like in VS Code
clevercli - ChatGPT powered CLI utilities. Easily add new prompt types in ~/.clevercli/
didact - A DIY guide to build your own React