- Remove
electron
to make greenlight can be served in headless. - Use MSAL instead of XAL to make the login process can be done by another devices.
- Enable WebUI by default.
- Working well in Tesla in-vehicle browser.
- Access secret for WebUI.
- Settings store in json files.
- Refresh tokens if the server is running.
- Enable fullscreen in Tesla in-vehicle browser.
Greenlight is an open-source client for xCloud and Xbox home streaming made in Javascript and Typescript. The client is an application wrapper around xbox-xcloud-player. The application runs on Linux, macOS, Windows and Steam Deck.
DISCLAIMER: Greenlight is not affiliated with Microsoft, Xbox or Moonlight. All rights and trademarks are property of their respective owners.
- Stream video and audio from the Xbox One and Xbox Series
- Support for gamepad controls
- Supports rumble on xCloud
- Keyboard controls
- Build-in online friends list
Latest releases can be found here.
See Local development.
Keys are mapped as following by default:
Dpad: Keypad direction controls
Buttons: A, B, X, Y, Backspace (Mapped as B), Enter (Mapped as A)
Nexus (Xbox button): N
Left Bumper: [
Right Bumper: ]
Left Trigger: -
Right Trigger: =
View: V
Menu: M
During the stream you can show debug statistics that contain extra data about the buffer queues and other information. To bring this up you can press ~
on your keyboard.
At the bottom-left you can see the status (although not always accurate). At the top-right you can find the FPS of the video and audio decoders including the latency. At the bottom-right you can find debug information about the buffer queues and other information that is useful for debugging perposes.
When possible always provide this information with your issue, if it is related.
The application also provides a way to see which of your friends are online. This can be useful when you want to quickly check if anyone is online to play with :)
This application is reported to be working on the Steam Deck with some small bugs and side-effects. You can map one of the Steam Deck back buttons to the 'N' key to simulate the Xbox button.
Argument | Description |
---|---|
--fullscreen | Starts the application in fullscreen |
--connect= | Will start stream once the user is authenticated. |
For console use F000000000000000
format and for xCloud use xcloud_<title>
.
Click on the Xbox logo at the top-left. It will ask you to confirm to close the window.
- Setup the access secret in
Settings
then clickAPPLY
- Append
?secret=SECRET
after the URL, likehttp://127.0.0.1:9003/?secret=SECRET
docker run -itd --name greenlight -p 9003:9003 -v `pwd`/data:/app/data pccr10001/greenlight:latest
- You can navigate to
/tesla
to enable fullscreen on Tesla in-vehicle browser, add?secret=SECRET
if needed.
- NodeJS (https://nodejs.org/)
- Yarn (https://yarnpkg.com/)
Clone the repository:
git clone https://github.com/unknownskl/greenlight.git
cd greenlight
git submodule update --init --recursive
Install dependencies:
yarn
Run development build:
yarn dev
Create production build:
yarn build
See changelog.