Ellama lets you access LLMs locally using ollama's API from Emacs. It offers a set of commands that allow you to inquire, define words, translate text and more through the Emacs interface. Ellama natively supports streaming output, making it effortless to use with your preferred text editor.
Ask Ellama about something by entering a prompt in an interactive buffer.
Ask Ellama about a selected region or the current buffer.
Ask Ellama to translate a selected region or word at the point.
Find the definition of the current word using Ellama.
Summarize a selected region or the current buffer using Ellama.
Review code in a selected region or the current buffer using Ellama.
Change text in a selected region or the current buffer according to a provided change.
Enhance the grammar and spelling in the currently selected region or buffer using Ellama.
Enhance the wording in the currently selected region or buffer using Ellama.
Make the text of the currently selected region or buffer concise and simple using Ellama.
Change selected code or code in the current buffer according to a provided change using Ellama.
Change selected code or code in the current buffer according to a provided change using Ellama.
Complete selected code or code in the current buffer according to a provided change using Ellama.
Add new code according to a description, generating it with a provided context from the selected region or the current buffer using Ellama.
Render the currently selected text or the text in the current buffer as a specified format using Ellama.
Create a markdown list from the active region or the current buffer using Ellama.
Create a markdown table from the active region or the current buffer using Ellama.
Summarize a webpage fetched from a URL using Ellama.
The following variables can be customized for the Ellama client:
ellama-url
: The URL to call Ollama.ellama-curl-executable
: The path to curl executable.ellama-model
: The model to use Ollama with. Default model is mistral.ellama-buffer
: The default Ellama buffer name.ellama-always-show-buffer
: Whether to always show the Ellama buffer.ellama-user-nick
: The user nick in logs.ellama-assistant-nick
: The assistant nick in logs.ellama-buffer-mode
: The major mode for the Ellama logs buffer. Default mode ismarkdown-mode
.ellama-language
: The language for Ollama translation. Default language is english.ellama-template
: The template to use with Ollama instead of the default.
Thanks Jeffrey Morgan for excellent project ollama. This project cannot exist without it.
Thanks zweifisch - I got some ideas from ollama.el what ollama client in Emacs can do.
Thanks Dr. David A. Kunz - I got more ideas from gen.nvim.