back

by xenodium·3y ago·view on hn ↗
I've had a positive experience building a ChatGPT shell for Emacs [1]. Not having to context switch between the editor and browser is great. With Emacs being a text paradise, there are all sorts of possible integrations, like babel integration to elisp [2] or SwiftUI [3].

In addition to a shell, functions for inserting GPT responses can be pretty neat too. For example, creating org tables [4].

[1]: https://xenodium.com/chatgpt-shell-available-on-melpa

[2]: https://xenodium.com/images/chatgpt-shell-available-on-melpa...

[3]: https://xenodium.com/images/chatgpt-shell-available-on-melpa...

[4]: https://raw.githubusercontent.com/xenodium/chatgpt-shell/mai...

2 comments
I’ve not seen that SwiftUI code block tool before, I’m in absolute love. Mind linking some of your configurations or some of the tool names?

EDIT- my mistake, the first link points it out as https://github.com/xenodium/ob-swiftui. Thanks for sharing!

Check https://xenodium.com/ob-swiftui-updates with latest changes. I haven't gotten around to updating the README in the project page.
this requires api key. By any chance you know something that can be used in emacs without the key?
there's not really a sane way to communicate openai/chatgpt without the use of an api key