Back to browse
GitHub Repository

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

0 starsSwift

WaylandClientKit – a Swift Wayland client substrate for Linux

by Nocerg·Jun 17, 2026·3 points·0 comments

AI Analysis

MidNiche GemWizardry

Swift-native Wayland bindings for a tiny audience of Linux GUI builders.

Strengths
  • Covers xdg-shell, text input, clipboard, pointer, keyboard, and output protocols.
  • Keeps unsafe C interop and raw file descriptors behind safe Swift APIs.
  • Documented support matrix tracks protocol coverage and compatibility status.
Weaknesses
  • Pre-foundation status means source-breaking changes remain possible.
  • Swift on Linux desktop is too niche for broad developer adoption.
Target Audience

Swift developers building GUI frameworks or Wayland clients on Linux

Similar To

wlroots · wayland-rs · GTK

Post Description

Hi HN, I wanted to share a project I've been working on recently.

I built WaylandClientKit mostly for fun and curiosity, and to explore a gap I felt existed in the Swift world which is native Wayland/Linux desktop foundations.

Not as flashy as a UI toolkit you'd build on top - more of a lower level substrate for windows, input, text input, data transfer, cursors, and preview graphics APIs. Its still early, but I'd love any feedback.

Similar Projects

AI/ML●●Solid

Toice – Local voice typing for Linux using Whisper

The repo solves a real Wayland pain with a clever two-part design: a lightweight out-of-sandbox trigger script wakes a sandboxed app via DBus so you can have a global hotkey without breaking security. It runs whisper.cpp locally and shows an overlay to paste transcripts system-wide — very useful for offline, privacy-first typing — but the Flatpak/runtime, AVX2 needs, and English-only support limit its reach.

Big BrainNiche Gem
zherotz
204mo ago