Emacs plugin for interacting with GitHub Copilot
Top 83.8% on sourcepulse
This Emacs package provides an interface to interact with GitHub Copilot's chat functionality directly within the Emacs editor. It's designed for Emacs users who want to leverage AI-powered code assistance, explanation, and generation without leaving their development environment. The primary benefit is seamless integration with Emacs workflows, allowing for context-aware AI interactions.
How It Works
The package acts as a frontend for the Copilot Chat API, supporting multiple backend implementations (curl
for token-by-token streaming or request
for full response buffering) and various output formats (org
, markdown
, shell-maker
). It allows users to send code snippets, entire buffers, or selected text as context to Copilot, receiving AI-generated responses directly within Emacs. Features like copilot-chat-add-workspace
and copilot-chat-add-buffers
enable rich context management for more relevant AI outputs.
Quick Start & Requirements
M-x package-install RET copilot-chat RET
copilot-chat-backend
and copilot-chat-frontend
variables.Highlighted Details
gpt-4o
model with Copilot-Vision for image input.magit
for AI-generated commit messages.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The request
backend writes the full response only after completion, which can be slow. Proxy support for HTTPS connections is noted as not thoroughly tested and may be missing features.
2 days ago
1 day