screenpipe icon indicating copy to clipboard operation
screenpipe copied to clipboard

Bug: Local File Links Are Not Rendering As Clickable Links

Open hugoaap-code opened this issue 6 months ago • 2 comments

app version: 2.4.274 Windows version: Windows 11 Pro - 10.0.26200 Build 26200

Description

Local file links are not rendering correctly in Screenpipe Chat. Instead of being displayed as clickable links, the raw markdown/formatting code appears in the message.

This makes it difficult to open referenced local files directly from chat responses, especially when Screenpipe identifies files, notes, screenshots, recordings, or other local resources that should be actionable.

Current Behavior

When a response includes a local file reference, the UI shows the formatting syntax as plain text instead of applying it as a clickable link.

Example:

[filename.ext](file:///path/to/filename.ext)

The markdown/link formatting appears visibly in the chat instead of becoming an interactive link.

Expected Behavior

Local file references should render as clickable links in the chat UI.

Users should be able to click a rendered file link and open the referenced local file or folder, subject to the app’s security model and permissions.

Why This Matters

Screenpipe often surfaces local context from the user’s machine. If local file references are not clickable, users have to manually copy paths or search for files themselves, which breaks the workflow and reduces the usefulness of chat results.

Suggested Fix

Ensure that chat message rendering supports local file links and safely handles supported local URI/path formats, such as:

  • file:///...
  • Absolute local paths
  • App-supported local resource links

If direct file:// links are restricted for security reasons, Screenpipe could render them through a safe internal file-opening handler.

hugoaap-code avatar May 26 '26 22:05 hugoaap-code

@hugoaap-code Can Close this one, already fixed by: https://github.com/screenpipe/screenpipe/pull/3667

Anshgrover23 avatar May 29 '26 20:05 Anshgrover23

y fixed by: https://github.com/screenpipe/screenpipe/pull/3667

hugoaap-code avatar May 29 '26 21:05 hugoaap-code