Skip to content

"Open in Engram" right-click (Windows shell context menu) #22

Description

@krishpinto

Goal

Right-click any folder/repo in Explorer → "Open in Engram" → the app opens focused on that project's memories/graph. A native, premium touch that makes Engram feel like a real desktop product.

Approach

  • New CLI/app entry point: engram open <path> — resolves the path to a project slug and launches (or focuses) the desktop app on that project's view.
  • Windows shell integration via the registry (no admin needed — HKCU):
    • HKCU\Software\Classes\Directory\shell\OpenInEngram\command"<dest>\engram.exe" open "%V"
    • HKCU\Software\Classes\Directory\Background\shell\OpenInEngram\command → same, for right-clicking inside a folder
    • Add an icon value for polish.
  • install.ps1 writes these keys on install; add an uninstall/cleanup path that removes them.
  • Single-instance handling: if the app is already open, focus it and switch project rather than launching a second window.

Acceptance

  • Right-clicking a repo folder shows "Open in Engram" and opens that project.
  • Uninstalling removes the menu entry.

Later

  • macOS Finder "Services" / Quick Action and a Linux .desktop MimeType equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions