wireless-display

Crates.iowireless-display
lib.rswireless-display
version1.0.3
created_at2025-09-14 07:09:57.435559+00
updated_at2025-09-15 06:37:00.753646+00
descriptionUse your laptop as a second monitor for your Windows desktop PC over WiFi.
homepagehttps://github.com/teamclouday/wireless-display
repositoryhttps://github.com/teamclouday/wireless-display
max_upload_size
id1838414
size274,073
(teamclouday)

documentation

README

wireless-display

Use your laptop as a second monitor for your Windows desktop PC over WiFi.

Usage

You need a virtual display driver on the host machine to make this work. On Windows, you can use Virtual-Display-Driver. I don't know a solution for other operating systems yet.

Important: Make sure both machines have ffmpeg installed and it's in your PATH. Also set FFMPEG_DIR environment variable to the directory containing ffmpeg include files.

Install the program from cargo:

cargo install wireless-display

On the PC you are currently using, start server with hardware acceleration enabled:

wireless-display server --hwaccel

On the PC you want to use as second monitor, start client with hardware acceleration enabled:

wireless-display client --hwaccel

See wireless-display server --help and wireless-display client --help for more options.

Make sure both machines are on the same network.

Why create this?

My desk can only fit one desktop monitor, but I always need more screen space for development. I have a laptop so I thought why not use it as a second screen. I found some other solutions online, but they are either paid, less configurable, or overly complicated. So I decided to build my own.

WebRTC in combination with ffmpeg seemed to be good solution for this. But it's very complicated to set up. I had to use a little of help from AI to get it working. The result is still not perfect, but it's good enough for my use case.

Useful links

ffmpeg build instructions

Commit count: 46

cargo fmt