Greenfield is a Wayland compositor written entirely in JavaScript while utilizing WebAssembly for the performance critical parts. It can run native Wayland applications remotely or it can run Wayland web applications directly in your browser.
No plugins required.
For more information, visit the documentation.
git clone https://github.com/udevbe/greenfield.git
cd greenfield
docker-compose up
- Go to https://preview.greenfield.app. Click the top right raster icon. Click the + icon. Click the cloud icon. Select the remote-gtk3-demo link file.
If you are using Firefox, you might need to go toabout:config
and toggle network.websocket.allowInsecureFromHTTPS
There is also simple-webgl and simple-shm which demo how apps can run directly in the browser and as such do not require the use of docker.
Fosdem presentation + demo (2 Feb 2019):
Early tech preview demo (23 Nov 2017):