[Feature]: Introduce Workspace / Extension Mode for Independent Client Desktops

Open
#462 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@holyarsenic is already working on this.

Since Nov 8, 2026.

  • #463 by @holyarsenic — open

Assessment

This issue has not been assessed yet.

Description

enhancement
Problem Statement

Rein currently operates primarily as a screen-mirroring and remote-input solution, where connected clients interact with the host's existing desktop session.

However, this limits Rein to a shared-desktop experience. When multiple clients connect, they essentially interact with the same desktop environment rather than having independent workspaces.

A major use case for Rein could be extending a desktop into multiple independent work environments, similar to using multiple monitors or providing each connected device with its own dedicated workspace.

For example:

  • A user connects a tablet and wants to use it as an extended desktop rather than simply mirroring their primary screen.
  • Multiple clients connect to the same host, with each client operating in an independent workspace.
  • A client should be able to open applications, switch windows, and interact with its workspace without interfering with another client's session.

Currently, Rein does not provide this kind of workspace-level isolation and independent desktop experience.

The goal is to introduce an alternative operating mode that moves beyond screen mirroring and allows connected clients to interact with independent workspaces managed by the host operating system.

Proposed Solution

Introduce a Workspace / Extension Mode as an alternative to the existing Screen Mirroring Mode.

1. Operating Mode Selection

Add a mode selector under Server Settings, allowing users to choose between:

  • Screen Mirroring (Default): Preserve the current behavior, where clients view and interact with the host's existing desktop.
  • Workspace / Extension Mode: Allow clients to connect to an independent workspace managed by the host operating system.

The existing screen-mirroring functionality should remain unaffected.

2. Workspace Management

When Workspace / Extension Mode is enabled, Rein should be able to:

  • Detect and reuse an existing suitable workspace or desktop session where possible.
  • Create a new workspace when one is required.
  • Use native operating-system facilities to manage workspace creation, switching, and lifecycle.
  • Establish a connection between the client and its assigned workspace.
  • Ensure that input events and visual output are directed to the appropriate workspace rather than the host's primary desktop.

The implementation should investigate platform-native mechanisms, including the relevant OS APIs, built-in workspace management facilities, and drivers where necessary.

3. Independent Client Experience

The intended outcome is for connected clients to operate in separate work environments.

For instance, a tablet connected to Rein could function like an additional monitor or an independent desktop, allowing the user to work in that environment without disrupting the host's primary desktop.

The architecture should be designed with multiple simultaneous clients in mind, even if initial implementation supports only a single independent workspace.

4. Per-Client Workspace Allocation (Optional)

As a subsequent enhancement, extend workspace management to support individual workspace allocation for each connected client.

This could include:

  • Automatically creating or allocating a separate workspace for every connected client.
  • Maintaining a client-to-workspace mapping in settings.
  • Providing server-side settings to change or reassign workspace mappings.
  • Allowing users to choose which client gets access to which workspace.
  • Managing workspace cleanup when clients disconnect, without accidentally terminating reusable user sessions.

This would allow multiple connected devices to function as completely independent work environments on the same host.

Alternatives Considered (Optional)

No response

Additional Context (Optional)

No response

Checklist
  • I have searched for existing feature requests to avoid duplicates
Dominant language
TypeScript
Stars
55
Forks
120
Avg merge
4d 5h
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/Rein

All issues in AOSSIE-Org/Rein

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.