Emacs interface for Open Interpreter - a natural language interface for your computer.
First, make sure you have installed the Open Interpreter CLI application:
pip install open-interpreter
This package depends on helm
. Make sure you have it installed:
(use-package helm
:ensure t)
Then, install the Emacs package using use-package
with straight.el
:
(use-package open-interpreter
:straight (:host github :repo "tninja/open-interpreter.el")
:bind (("C-c i" . open-interpreter-action)))
The main interactive function is open-interpreter-action
:
- It automatically starts the interpreter process if not already running
- When called with no active region, it prompts for input using helm
- When called with an active region, it sends the selected text to interpreter
Suggested key binding: C-c i
Other useful functions:
open-interpreter
- Start a new interpreter sessionopen-interpreter-switch-to-buffer
- Switch to interpreter bufferopen-interpreter-chat-helm
- Start a helm-based chat session
You can customize these variables:
open-interpreter-program
- Path to interpreter executableopen-interpreter-arguments
- CLI arguments (default:-y
)open-interpreter-prompt-suffix
- Optional suffix to append to inputs, before sending to interpreter
Apache 2.0