2026-11-26 15:49 UTC

Linux launcher connects local media search to AI agents

state: significantheat: lowuncertainty: mediumrelevance: mediumlocal-search agent-tools video-searchsakurartro

What is this?

Luma is an open-source Linux desktop launcher from GitHub user sakurartro. The project page describes an installable launcher that searches apps and files, with optional local indexing for semantic photo search, OCR, document contents and video frames or speech. It also exposes image, text, video and similar-image search over that index through an MCP server and CLI. The repository provides installation instructions and says the code is GPL-3.0; no independent adoption or performance evidence is supplied. Its demo reports one agent task taking 11 seconds with Luma versus 1 minute 26 seconds without, but that is a project-reported comparison, not an independent benchmark.

Why it matters

The interesting idea is less a new foundation model than a local data bridge: an agent can search a person’s indexed photos, documents and videos by meaning or contents instead of laboriously opening files one by one. That could make everyday personal archives more useful to AI assistants while keeping queries and indexed data on-device, according to the project. The feature set is opt-in and has practical limits, including Linux-only support, English-oriented search, and required indexing and configuration.

Current assessment

Luma is presented in its project repository as available now: a Linux launcher with optional local indexing for semantic photo search, OCR, document contents, and video frames or recognized speech. Its documented MCP server and CLI let agents search that index. The project says indexing is limited to configured folders and data and queries stay local; privacy and security claims are not independently verified. Video search requires ffmpeg/ffprobe, model-based features require downloads, and documented requirements include glibc 2.39+. The project’s agent speed comparison is self-reported, not an independent benchmark. A separate HN post describes another on-device search tool in the same broad category, but does not validate Luma. Linux-only scope, setup requirements, reliability, and adoption remain open questions; engagement is modest and below its measured peak.

Measured heat

now 0 pts/hpeak 15 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 318h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-13 09:22 (minted)⭐ origin echo-reconstructedThe repository itself is the primary artifact for this project; no upstream tweet, paper, or blog was found in the short chain checked. Its
sakurartro on github (echo) · attributed from hn.story.50480570 · published time unknown
—
11-13 09:20first on hacker news · published · lag ?Luma – Type a phrase, jump to the second it was said in any local video
sakurartro
—
11-13 09:20amplified on hacker newshn.story.50480570
sakurartro
peak 1 · 0 comments · 15% of case engagement
11-13 09:21amplified on hacker news 👑hn.story.50480583
sakurartro
peak 3 · 0 comments · 42% of case engagement
11-19 13:01amplified on hacker newshn.story.50559547
dhruv2295
peak 3 · 0 comments · 42% of case engagement
11-13 09:20our radar first saw it · lag ?discovery anchor: hn.story.50480570—
pace: p50 vs 2096 stories at the 168h mark (now 318h old) — ahead of agent-command-multiplayer-rts (1.2x), behind advocacy-groups-sue-ai-companies-to-halt-model-development (0.9x)

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnLuma – Type a phrase, jump to the second it was said in any local video
Retrieved article excerpt

Open article · Retrieved 2026-11-13T09:21:25.882478+00:00

[Luma logo](https://github.com/sakurartro/luma/blob/main/src/frontend/assets/file_0000000070c0820abb8763205e48e493.png)

# Luma

**Smart launcher for you, and your AI agent**

A Linux launcher that finds apps, files, photos and videos — by what's in them. The same
index is open to AI agents: ask one for "the photo of a bear" and it finds it in seconds.

[CI](https://github.com/sakurartro/luma/actions/workflows/ci.yml)

**For humans**
[Luma demo](https://github.com/sakurartro/luma/blob/main/src/frontend/assets/gameplay.gif)

**For AI agents**
[Luma demo for agents](https://github.com/sakurartro/luma/blob/main/src/frontend/assets/comparison.gif)

Same prompt, one run each (Claude Code, Sonnet 5.5, medium effort): 11 s with Luma, 1 min 26 s without.
Both at 3x speed. [More on agents](https://github.com/sakurartro/luma#for-ai-agents).

## Install

```
curl -fsSL https://raw.githubusercontent.com/sakurartro/luma/main/install.sh | sh
```

The script downloads the binary into `~/.local/bin` (or a path of your choice: `... | sh -s /usr/local/bin`).
To update later: `luma update` (installs the latest release next to the current binary if it is newer).

## Setup

Keybind and floating window for Hyprland, niri, GNOME, KDE

Luma does not grab global keys itself — on Wayland that is forbidden by
protocol design. Bind a key to `luma --toggle`: it shows/hides the window
of the running instance; launching the binary again while an instance is live
acts the same. A cold start without the flag opens the window right away.

### Hyprland

**Keybind** — stock in `~/.config/hypr/hyprland.conf`; Omarchy (which does
not read `hyprland.conf`; the entry point is the Lua file) in
`~/.config/hypr/bindings.lua`:

```
bind = SUPER, Space, exec, luma --toggle
```

```
hl.bind("SUPER + SPACE", hl.dsp.exec_cmd("luma --toggle"))
```

**Floating window** for the app id `luma-rust` (Wayland apps cannot request
floating themselves — the compositor decides) — stock:

```
windowrule = float, class:^(luma-rust)$
```

Omarchy in `~/.config/hypr/hyprland.lua`:

```
o.window("^(luma-rust)$", { float = true, center = true })
```

Reload afterwards: `hyprctl reload`.

### niri

**Keybind** — in `~/.config/niri/config.kdl`:

```
binds {
    Mod+Space { spawn "luma" "--toggle"; }
}
```

**Floating window** — same file:

```
window-rule {
    match app-id="luma-rust"
    open-floating true
}
```

Restart niri to apply. If `Super+Space` is already taken (e.g. input source
switch), pick another combo — e.g. `SUPER, D` / `Mod+D` — and use it everywhere.

### GNOME / KDE (X11)

**GNOME** — Settings → Keyboard → Custom Shortcuts, command `luma --toggle`.
GNOME has no window rules; the window opens wherever the DE places it (force
floating with an extension, e.g. *Try*).

**KDE** — System Settings → Shortcuts → Add Custom Command `luma --toggle`.
Floating via Window Rules with Window class `luma-rust` (verify with `xprop`
that the class matches on X11).

Transparency on X11 requires a compositor — GNOME and KDE ship one by default.

## Features

**Search**

- Fuzzy search of applications and files
- Semantic photo search (CLIP) — opt-in; matching files show a `S(N%)` match-strength badge
- Text-in-image search (OCR) — opt-in; matching files show a `T(N%)` badge
- Full-text search inside documents (txt, md, pdf, docx…) — opt-in; matches show a snippet of the text
- Video search — opt-in; finds a video by what is shown, written or said in it, and the hit shows the time (`at 1:42`)
- Similar images — paste an image with `Ctrl+V` and get look-alike photos; a thumbnail of it shows in the search box
- Calculator (`2 + 2`) and currency conversion (`100 usd to eur`)

**Apps**

- Applications from all XDG dirs — system, `~/.local/share`, Flatpak, Snap; a user `.desktop` override shadows the system entry
- Launch ranking from usage stats (with time decay), pinned apps on top (right-click to pin/unpin)
- Category filter pills

**Files and photos**

- Separate views for apps, files, photos and settings (`Alt+1`…`Alt+4`)
- File type icons and cached photo thumbnails in the files grid
- File index with a background watcher and scan progress

**System**

- Power menu — shutdown, reboot, suspend, lock (power button in the bottom bar)
- Settings menu in the launcher (`Alt+4` / `Ctrl+,`) — edits `settings.json` for you
- Full name on hover when a label is truncated

**For AI agents**

- MCP server (`luma mcp`) and CLI (`luma query`) over the same photo, screenshot and video index — see [below](https://github.com/sakurartro/luma#for-ai-agents)
- One-click connect for Claude Code, Codex and opencode in Settings → Agents

**Local by default** — the index and the models stay on your machine; see [Privacy](https://github.com/sakurartro/luma#privacy).

## For AI agents

An agent that is asked to find a photo usually walks the disk with `find` and opens
files one by one. Luma already holds a CLIP and OCR index of your photos, so the agent
asks it instead: one call, under a second, by what is in the picture or by the words
written on it.

**Connect** — Settings → Agents (`Alt+4`) has a button for Claude Code, Codex and
opencode: it registers `luma mcp` with the agent and switches the agent API on. By hand:

```
claude mcp add luma --scope user -- luma mcp
codex mcp add luma -- luma mcp
```

and set `"agent_api": true` in `~/.config/luma/settings.json` (no restart needed). The API
is off by default.

The server offers four tools: `luma_search_images` (what the picture shows, English
queries), `luma_search_text` (words written on it, English text), `luma_search_videos`
(a video and the second in it: what is shown, written or said) and
`luma_find_similar_images` (photos that look like a given image file). Each returns the best
matches with a 0–100 score; a video hit also has `source` (`frame`, `ocr` or `speech`),
`t_sec` and, for speech, a `snippet`.

**Requirements** — Luma must be running, and `semantic` (for images) and/or `ocr` (for
text) must be on (for videos: `video` plus `semantic`, `ocr` and/or `video_speech`), with indexing done. Only folders in `search_dirs` are searched. With a
search not ready the tool answers with a message saying what to enable.

**Without MCP** — `luma query clip "river in fog"`, `luma query ocr "connection refused"` and
`luma query video "the lease ends"` print one JSON line; `luma query similar /path/to/photo.jpg` finds photos like that one. [`agent/skills/luma/SKILL.md`](https://github.com/sakurartro/luma/blob/main/agent/skills/luma/SKILL.md) is a skill
that teaches an agent to use them.

## Privacy

Nothing leaves your machine except two things you can turn off: the model download
(`semantic` / `ocr` / `video_speech`, once) and exchange rates for `100 usd to eur` (`currency`, cached for
an hour). Photos, thumbnails, the index and agent queries stay local.

## Usage

| Key | Action |
| --- | --- |
| `Enter` | Launch the selected (top) result |
| `↑` `↓` `←` `→` | Move the selection (left/right in the grid views) |
| `Alt+1` | Apps |
| `Alt+2` | Files |
| `Alt+3` | Photos |
| `Alt+4` / `Ctrl+,` | Settings |
| `Ctrl+V` | Clipboard holds an image: search for similar files |
| `Esc` | Hide the window |
| Right click | Pin / unpin an app |

## Configuration

Edit settings in the launcher (`Alt+4` / `Ctrl+,`) or by hand in
`~/.config/luma/settings.json`. Hand edits, `search_dirs`, `exclude_dirs`, `semantic`,
`ocr` and the `video*` options apply after a restart (the menu offers a Restart button); everything else
applies at once. New options are appended with their defaults; a broken file
falls back to defaults and is kept.

| Option | Default |  |
| --- | --- | --- |
| `bg` `surface` `hover` `selected` `border` `accent` `text` `text_dim` | see below | Colors, `#RRGGBB`; an unparsable value renders black |
| `search_dirs` | `~/Documents` `~/Pictures` `~/Desktop` | Folders indexed for file search |
| `hide_patterns` | `["."]` | File name prefixes to hide from results (dotfiles). Hidden files are still indexed; use `exclude_dirs` to keep a folder out of the index |
| `exclude_dirs` | `[]` | Folders inside `search_dirs` that are never scanned, watched or fed to semantic/OCR indexing, e.g. `["~/Pictures/private"]` |
| `semantic` | `false` | Photo search by meaning (CLIP, English queries). Downloads ~154 MB of models, indexes photos in the background |
| `ocr` | `false` | Image search by the text on them (PaddleOCR, English). Downloads ~12 MB of models, runs after semantic indexing |
| `docs` | `false` | Search inside document contents (txt, md, pdf, docx…). Text goes into the local db. Limits `docs_max_file_mb`, `docs_max_text_kb`, `docs_max_pdf_pages` are tunable in settings.json |
| `video` | `false` | Search inside videos (mp4, mkv, webm, avi, mov) by a few frames per video: by meaning with `semantic`, by on-screen text with `ocr`. Needs `ffmpeg` and `ffprobe` in `PATH`. `video_frame_every_sec` (10) and `video_max_frames` (32, at least 4 are taken) set the sampling. A hit shows the time in the video, e.g. `at 1:42` |
| `video_speech` | `false` | Also search what is said in videos (needs `video`): Moonshine base speech recognition, English only. Downloads ~66 MB, the heaviest indexing step, runs after `semantic` and `ocr`. Videos longer than `video_speech_max_min` (60) minutes are skipped. Hits show the time and the words around the match |
| `agent_api` | `false` | Lets agents query Luma (`luma mcp`, `luma query`). Set by Settings → Agents |
| `currency` | `true` | `100 usd to eur` via open.er-api.com, rates cached for an hour. `false` = no network; the calculator still works |

`semantic`, `ocr` and `video_speech` cost nothing while off; turning them off keeps
the models on disk for later. Turning `video` off drops the video index; `video_speech`
off drops the recognized speech.

Where things live (`$XDG_CONFIG_HOME` / `$XDG_CACHE_HOME` respected):
`~/.config/luma/` — settings, `main.sqlite3`, `models/`;
`~/.cache/luma/thumbs` — photo thumbnails.
Apps are read from `applications/` in `$XDG_DATA_HOME` and every
`$XDG_DATA_DIRS` entry, refreshed when those dirs change.

Full example (the defaults):

```
{
  "bg": "#0E120B", "surface": "#151B10", "hover": "#1E2716", "selected": "#28331C",
  "border": "#2C3620", "accent": "#A9B665", "text": "#E4E7D0", "text_dim": "#7E8A6C",
  "search_dirs": ["~/Documents", "~/Pictures", "~/Desktop"],
  "hide_patterns": ["."],
  "exclude_dirs": [],
  "semantic": false,
  "ocr": false,
  "docs": false,
  "video": false,
  "video_frame_every_sec": 10,
  "video_max_frames": 32,
  "video_speech": false,
  "video_speech_max_min": 60,
  "agent_api": false,
  "currency": true
}
```

### Palettes

Cold dark, warm, light

Cold dark:

```
{"bg": "#0D1117", "surface": "#161B22", "hover": "#1C2431", "selected": "#24304A", "border": "#2D3748", "accent": "#58A6FF", "text": "#E6EDF3", "text_dim": "#8B949E"}
```

Warm (gruvbox-like):

```
{"bg": "#282828", "surface": "#32302F", "hover": "#3C3836", "selected": "#504945", "border": "#665C54", "accent": "#D8A657", "text": "#FBF1C7", "text_dim": "#A89984"}
```

Light:

```
{"bg": "#FBF7EF", "surface": "#F1EBDD", "hover": "#E9E1CE", "selected": "#DFE4CB", "border": "#D3CBB2", "accent": "#5B7A3A", "text": "#2E3324", "text_dim": "#8A8B76"}
```

## Requirements

- Linux (glibc 2.39+ — Ubuntu 24.04, Fedora 40+, Arch; the ONNX runtime of the semantic search sets this floor)
- `ffmpeg` and `ffprobe` in `PATH` for video search (`video`); everything else works without them
- The prebuilt binary links at runtime against libfontconfig, libGL (mesa) and libxkbcommon
- Power menu uses systemd: `systemctl poweroff|reboot|suspend`; lock is `loginctl lock-session`, so a locker must listen for it (e.g. hypridle with `lock_cmd`)

## Build from source

```
cargo build --release
```

Dev packages (Debian/Ubuntu naming): `libxkbcommon-dev libfontconfig1-dev libgl1-mesa-dev libxcb1-dev`. Binary: `target/release/luma`.

## Troubleshooting

- Reset — delete `~/.config/luma/` (settings and
sakurartro10
🟧 echo.github ⭐The repository itself is the primary artifact for this project; no upstream tweet, paper, or blog was found in the short chain checked. Its sakurartro——
🟧 hnShow HN: Luma – Type a phrase, jump to the second it was said in any local videosakurartro30
🟧 hnShow HN: Retriever, on-device search for photos, documents and videosdhruv229530

Interpretation history

Decision trace