Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.56 KB

README.org

File metadata and controls

51 lines (35 loc) · 1.56 KB

open-interpreter.el

Emacs interface for Open Interpreter - a natural language interface for your computer.

Installation

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)))

Usage

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 session
  • open-interpreter-switch-to-buffer - Switch to interpreter buffer
  • open-interpreter-chat-helm - Start a helm-based chat session

Customization

You can customize these variables:

  • open-interpreter-program - Path to interpreter executable
  • open-interpreter-arguments - CLI arguments (default: -y)
  • open-interpreter-prompt-suffix - Optional suffix to append to inputs, before sending to interpreter

License

Apache 2.0