Skip to content

[Feature Request] Desktop GUI connection to remote PSM server #41

Description

@Dwsy

Summary

From #40 - User requested the ability to use the Desktop GUI app to connect to a remote PSM server instead of running the backend locally.

Current Behavior

  • Desktop GUI uses Tauri IPC to communicate with embedded local backend
  • CLI headless mode can run on remote servers and be accessed via browser
  • Desktop GUI cannot currently connect to a remote server

Desired Behavior

Allow Desktop GUI to switch transport layer from Tauri IPC to WebSocket/HTTP to connect to a remote PSM server.

Technical Context

PSM frontend already supports three transport layers:

  • Tauri IPC (current Desktop default)
  • WebSocket (/ws)
  • HTTP polling

The backend (Rust) already exposes HTTP + WebSocket endpoints. The work needed is:

  1. Add settings UI for configuring remote server connection
  2. Implement transport layer switching logic in frontend
  3. Handle authentication token configuration
  4. Graceful fallback when remote is unreachable

Related

Labels

enhancement, good first issue, help wanted

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions