Mei is a lightweight GNOME Shell extension that provides a quick-access panel popup for chatting with a local Ollama AI model.
- Local Ollama Integration: Connects directly to a local Ollama instance (default:
http://localhost:11435withllama3). - Dynamic Popup UI: Clean, non-intrusive container matching the system's dark/light theme.
- Markdown Rendering: Processes basic Markdown (headers, bold, italics, strikethrough, lists, blockquotes, and code blocks) using custom Pango markup.
- Copy Button: Quickly copy the latest AI response to your clipboard.
- Input Control: Support for multi-line inputs using
Shift+Enter(pressEnterto send). - Processing Glint: The top-bar button glows while waiting for responses, and turns into a stop icon (
⏹) on hover to cancel the active request.
-
Copy or symlink this directory to the GNOME Shell extensions folder:
mkdir -p ~/.local/share/gnome-shell/extensions/ ln -s "$(pwd)" ~/.local/share/gnome-shell/extensions/mei@andystmc.com
-
Restart GNOME Shell:
- X11: Press
Alt+F2, typer, and hitEnter. - Wayland: Log out and log back in.
- X11: Press
-
Enable the extension:
gnome-extensions enable mei@andystmc.com
- GNOME Shell: 40 or newer
- Ollama: A local instance running on port 11435 (can be configured in
extension.js).