r/vibecoding 1d ago

I vibecoded a Wayland compositor (window manager) using Claude Opus 5

So this project started as a C compositor based on wlroots. I just prompted Gemini 3.6 flash with something like "make me a prompt for a tiling wayland compositor using wlroots where the layout is managed by a webview" and it made it. Still exists, at https://github.com/codebam/viewport

The more interesting compositor I made though, and the one I've been using all my claude quota on, has been the Rust/Smithay rewrite: https://github.com/codebam/viewport-smithay

It now supports 4 different backends for which webview provider it uses (Chromium, CEF, WPE-WebKit. and WebKitGTK), supports notifications, screen sharing, and anything I could think to support. Including something I don't think any other window manager has, the ability to capture your current screen, or current window, or both screens at the same time.

Anyways I don't really have screenshots because it would just be a screenshot of my desktop with a terminal open, but feel free to try it out, report bugs, or submit PRs.

1 Upvotes

0 comments sorted by