Feature/moonlight module #269
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Moonlight/GameStream Module for Coder Workspaces
Overview
This PR implements Moonlight streaming support for GPU-accelerated remote desktop access in Coder workspaces. The module automatically detects compatible hardware and configures either NVIDIA GameStream or Sunshine server based on the available GPU.
Features
Files Added
registry/Majain004/modules/moonlight/main.tf
- Main Terraform module with GPU detectionregistry/Majain004/modules/moonlight/scripts/install-moonlight.ps1
- Windows installation scriptregistry/Majain004/modules/moonlight/scripts/install-moonlight.sh
- Linux installation scriptregistry/Majain004/modules/moonlight/scripts/detect-gpu.ps1
- Windows GPU detectionregistry/Majain004/modules/moonlight/scripts/detect-gpu.sh
- Linux GPU detectionregistry/Majain004/modules/moonlight/README.md
- Comprehensive documentationregistry/Majain004/modules/moonlight/main.test.ts
- Automated tests (8 test cases)Usage
Technical Implementation
GPU Detection
lspci
andnvidia-smi
to detect NVIDIA hardwareStreaming Methods
Quality Settings
Requirements
How it Works
Testing
All 8 tests pass successfully, covering:
Demo Video
[Attach your demo video here showing Moonlight working in a Coder workspace with successful GPU detection, server configuration, and streaming functionality]
Bounty Claim
/claim #206
This implementation provides a comprehensive Moonlight/GameStream solution that:
Notes
References