GitHub - conxlgtm/WaylandClientKit: Swift-native Wayland client substrate for Linux: windows, input, data transfer, text input, protocol facts, and preview graphics APIs.

GitHub

1 min read Original article ↗

Typed Swift APIs for Wayland clients on Linux.

  • WaylandClient: windows, software drawing, input, and desktop integration.
  • WaylandGraphicsPreview: graphics submission with software fallback reporting.

The APIs may change during early development. See the compatibility policy and support matrix.

Build And Run

Swift 6.4.0 or newer is required; the package uses Swift 6 language mode.

nix develop
swift build --disable-index-store
swift run wayland-client-kit-smoke
swift run wck ci check

The smoke executable needs a Wayland session. For setup without Nix, see Linux Dependencies.

Documentation

Contributing · Support · Code of Conduct · Security

Licensed under the Apache License 2.0. Vendored protocol XML and generated artifacts keep their upstream license and provenance notices.