[Feature]: Introduce Workspace / Extension Mode for Independent Client Desktops
Maintainers usually reply within 2 days
Assessment
This issue has not been assessed yet.
Description
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
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/Rein
-
[Bug]: JSON body null returns 500 on /api/clipboard/copy and /api/clipboard/pastePossibly taken A pull request linked to this issue is open or already merged. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AOSSIE-Org/Rein#522 · 1 comment ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AOSSIE-Org/Rein#509 · 3 comments ·
Maintainers usually reply within 2 days
-
[Bug]: Session tokens expire 10 days after creation regardless of use (touchToken is never called)Possibly taken @Ankitavasudev claimed this 12 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
AOSSIE-Org/Rein#466 · 6 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
[Bug]: Uploaded files are saved with garbled non-ASCII names and overwrite existing files with the same namePossibly taken @Aryan-en claimed this 23 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
AOSSIE-Org/Rein#458 · 5 comments ·
Maintainers usually reply within 2 days
-
[Bug]: Missing WebRTC playoutDelayHint introduces 50-100ms artificial latency and redundant MediaStream recreation triggers video pipeline reloadPossibly taken @MPoojaSiyag claimed this 1 day ago. Openbug enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
AOSSIE-Org/Rein#523 · 1 comment ·
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
review-followup
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
griffinwork40/agent-afk#5387 ·
Maintainers usually reply within 1 day
-
bug needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CodeManufactoryLLC/Code60#358 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
android:plan ios:plan main:plan packages:learn
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day