Better HN
topnewbestaskshowjobs
Log inSign up

matthewkosarek

86 karma · joined Nov 12, 2025 (1y ago) · 28 submissions

Developer of miracle-wm, working on Mir at Canonical
Submissions

comment 1d ago · link · parent

I guess we're all having an early Thanksgiving :)

Jokes aside - this is quite frustrating that it keeps happening, and it increasingly interferes with my work (many reviews to tend to today). I hope they figure this out soon.

comment 1w ago · link · parent

While vibe-coded AF, I run it every day of my life and it feels nice. Feel free to use it yourself, or use it as inspiration to make a much, much better version in Flutter!

3.

A Linux Desktop Environment - in Flutter!(github.com ↗)

1 points · by matthewkosarek · 1w ago · 1 comment

4.

Moonswing – A Desktop Environment for Linux in Flutter(github.com ↗)

1 points · by matthewkosarek · 1mo ago · discuss

comment 1mo ago · link · parent

And yes - it is all AI-coded, so it's just for demonstration purposes :)

6.

A Linux desktop environment in Flutter(github.com ↗)

1 points · by matthewkosarek · 1mo ago · 2 comments

comment 1mo ago · link · parent

Hey all!

Moonswing is a largely AI-coded desktop environment for Linux. It is mostly a fun exploration, rather than a production-ready project, so use it at your own risk.

I work on Mir & Flutter, and I wanted to see how far I could push these technologies to give me a modern-looking desktop environment, entirely in one process and entirely in Flutter.

This was made possible now that Flutter supports multi-window, which I've been working on for about 3 years now.

I made this project hoping that I can inspire someone else to do a legit, less vibe-coded version of this. So feel free to take whatever you see here and make a better version of it on your own time!

Just a warning in case you use it: this is so vibe-coded, that I cannot in good faith tell anyone to use it as a daily driver. I personally use it everyday, but I am okay with a little bit of nonsense, obviously ;)

Enjoy!

8.

Moonswing: A Linux Desktop Environment Built in Flutter(github.com ↗)

2 points · by matthewkosarek · 1mo ago · 1 comment

9.

Flutter desktop apps can draw to multiple windows now(youtube.com ↗)

2 points · by matthewkosarek · 3mo ago · discuss

10.

Layer_shell.dart – Build Wayland layer shell surfaces in Flutter(github.com ↗)

2 points · by matthewkosarek · 4mo ago · discuss

comment 4mo ago · link · parent

I work on both the Mir Wayland compositor library and Flutter, and I've been wanting to fill a gap that I saw in the current Flutter ecosystem for a while now: desktop shell components on Linux. Now that Flutter is gaining multi-window capabilities on the desktop platforms (which I have been contributing to extensively), we can finally build our Wayland shells in Flutter . Come find me at FlutterCon USA in Orlando this year if you want to hear more about the new windowing API in Flutter.

I hope you have a fun time building shells with Flutter!

12.

Layer_shell.dart – Write a Wayland Shell in Flutter(github.com ↗)

2 points · by matthewkosarek · 4mo ago · 1 comment

13.

Shaders in plugins, GTK4 Shell Clients, New Protocols| miracle-wm 0.10.0(youtube.com ↗)

2 points · by matthewkosarek · 5mo ago · discuss

14.

No more JetBrains products for me(matthewkosarek.xyz ↗)

154 points · by matthewkosarek · 6mo ago · 223 comments

15.

Miracle – A Wayland Compositor You Can Script with WebAssembly(github.com ↗)

1 points · by matthewkosarek · 7mo ago · discuss

16.

Miri – a plugin to make miracle-wm scrollable(github.com ↗)

1 points · by matthewkosarek · 7mo ago · discuss

17.

I built a Wayland window manager you can extend with WebAssembly(github.com ↗)

2 points · by matthewkosarek · 7mo ago · discuss

comment 7mo ago · link · parent

A WebAssembly plugin system for my Wayland compositor: https://github.com/miracle-wm-org/miracle-wm

The idea is that you'll be able to program window management, animation, configuration and more from WebAssembly plugins that are built with Rust. I've been wanting something like this for a while now in Wayland, especially something that skirts around the need for a heavy scripting language. I'm hoping to have a stable release of it by mid year.

I'm in the process of recreating the Niri window manager in Miracle: https://github.com/miracle-wm-org/miri-plugin

19.

Show HN: Miracle Release v0.9.0 – A hackable Wayland compositor(github.com ↗)

1 points · by matthewkosarek · 7mo ago · discuss

20.

I wrote a WebAssembly plugin system for my Wayland compositor(youtube.com ↗)

5 points · by matthewkosarek · 7mo ago · 1 comment

comment 7mo ago · link · parent

Yup! A nice language-agnostic API + a lightweight runtime was my goal. Although I concede the point about debuggability and whatnot. I'm hoping to figure that out later down the road, but it is a tricky part.

22.

Miracle – A hackable window manager for Linux(github.com ↗)

10 points · by matthewkosarek · 7mo ago · 2 comments

comment 8mo ago · link · parent

A long, long time ago I implemented virtual outputs in Mir: https://github.com/canonical/mir/pull/3056

I forget if we've added dynamic configuration for them, but I don't see why it wouldn't be a possibility of we had upstream support there :)

comment 8mo ago · link · parent

I've been working on a new Wayland compositor called Miracle for about two years now. I recently built a plugin system for window management based off of WebAssembly. Check out my blog post for more information, but I think it is a solid and novel approach to separating window management from the compositor in Wayland. Let me know what you think!

25.

Creating a WebAssembly Plugin System for Window Management in Miracle(matthewkosarek.xyz ↗)

3 points · by matthewkosarek · 8mo ago · 3 comments

comment 9mo ago · link · parent

There is also cxx.rs, which is quite nice, albeit you have to struggle sending `std` types back and forth a bit