In order to use this module, you must compile Godot from source with gdwlroots. Refer to the upstream instructions for additional information. To add gdwlroots, check out the git repository into the appropriate place:
git clone https://git.sr.ht/~sircmpwn/gdwlroots modules/gdwlroots/
This will make the gdwlroots nodes available in the Godot editor.
gdwlroots attempts to provide bindings between gdscript and wlroots that export the wlroots API as faithfully as possible. Most wlroots types are provided via the Godot ClassDB with wl_signals rigged up as Godot signals, getters/setters for memebers of wlroots structs, and methods which correspond to wlroots functions. Some knowledge of wlroots is recommended for using this module.
An example godot project which implements a simple Wayland compositor with gdwlroots is available in the godotston directory.