TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ChatGPT-arcana.el, ChatGPT in your Emacs

5 点作者 hebejebelus大约 2 年前
This is far from complete, and I am far from an elisp genius, but this is an Emacs package to help you write code or text or whatever in your favourite operating system slash text editor. It&#x27;s got a couple of useful functions like inserting at point with local code context, querying about something and putting the output in a temporary buffer, passing the current major mode to ChatGPT, contextual system prompts, and so on. Some small demos in the readme.<p>Some of you may enjoy the deep magic this might unleash, so I&#x27;m posting it here. And feel free to add pull requests if you are a better elisper than I am (a very low bar).<p>(Yes, I have truly hit the HN goldrush here - emacs and ChatGPT in a single post! If only I had written a rust client for it too)

2 条评论

scottjad大约 2 年前
There&#x27;s also <a href="https:&#x2F;&#x2F;github.com&#x2F;joshcho&#x2F;ChatGPT.el">https:&#x2F;&#x2F;github.com&#x2F;joshcho&#x2F;ChatGPT.el</a> but it hasn&#x27;t been updated yet to use the API that came out yesterday.
hebejebelus大约 2 年前
The pricing of the API is truly world-changing. I&#x27;ve sent hundreds of requests today in the process of building this script, and have yet to spend more than a single cent.