-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
The Supermemory authentication fails in environments where xdg-open is not installed. When attempting to authenticate, the tool tries to open a browser using xdg-open, which fails on systems without this utility (e.g., minimal Linux environments, Docker containers, WSL without desktop packages).
To Reproduce
- Attempt to authenticate with Supermemory using the
supermemorytool - The tool fails to open the browser with error:
/bin/sh: 1: xdg-open: not found
Expected behavior
The tool should either:
- Detect if
xdg-openis available and fall back to a different method (e.g., printing the URL directly for manual copy-paste) - Provide a CLI-based authentication flow
- Use a cross-platform method to open URLs that works without external dependencies
Environment
- Platform: Linux (minimal environment without xdg-utils)
- The issue affects Docker containers, WSL without desktop packages, and other minimal Linux installations
Additional context
The authentication URL shown is: https://console.supermemory.ai/auth/connect?callback=http%3A%2F%2Flocalhost%3A19877%2Fcallback&client=opencode
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels