<!-- Canonical page: https://reversedwithai.com/p/wsbsd-skylight-window-server-freebsd-claude -->
Canonical page: https://reversedwithai.com/p/wsbsd-skylight-window-server-freebsd-claude

# Built a macOS style window server for FreeBSD that runs unmodified open source Mac apps, with Claude

> A Mac style window server for FreeBSD that runs real Mac apps.

wsbsd is a window server that speaks the message layout of macOS's WindowServer (SkyLight), plus a compatibility layer, so Mac apps such as Hex Fiend build and run on FreeBSD.

## Key facts

- Target: macOS WindowServer (SkyLight) protocol and AppKit apps
- Category: APIs and protocols
- Platform: FreeBSD 14.5 (aarch64, x86_64)
- Models: Claude Sonnet 5.5
- Tools: Claude Code, GNUstep
- Outcome: Partial
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [Alexandru Balan](https://github.com/pearOS-bsd)
- Added: 2026-10-18
- Updated: 2026-10-18
- Sources reviewed: 2026-10-18 (editor)

## What was done

wsbsd compiles unmodified open source macOS (Cocoa and AppKit) applications from GitHub on FreeBSD and runs them on a window server that speaks the message layout of macOS's WindowServer (SkyLight). It uses no X11, no Wayland and no Apple binaries. Its commits are co-authored by Claude Sonnet 5.5.

### How it was done

The window server wsd is written in C99 and implements the SkyLight wire protocol (about 270 of 728 routines have real handlers), with a software and OpenGL ES compositor, input and VNC output. A GNUstep backend and a compatibility SDK add the AppKit, Foundation and CoreServices APIs that modern Mac sources expect. A small Xcode build driver reads .xcodeproj files and makes app bundles. The rule is that upstream sources are never edited.

### Results

As of 2026-10-17 on FreeBSD 14.5, Hex Fiend builds (framework 61 of 61 files, app 47 of 47, with four Swift files ported in an overlay) and runs with hex and ASCII columns. Pashua builds unmodified (41 of 41) and runs. GrandPerspective starts but fails when a scan begins. CI runs unit, sanitizer and fuzz tests.

## What the commit history shows

None of the 1,320 commits in the public repository credits an AI. Many tools add no credit, so this does not show the AI was not used.

Measured by this site from public git history.

## Questions about macOS WindowServer (SkyLight) protocol and AppKit apps

### What is the macOS WindowServer (SkyLight) protocol and AppKit apps project?

wsbsd is a window server that speaks the message layout of macOS's WindowServer (SkyLight), plus a compatibility layer, so Mac apps such as Hex Fiend build and run on FreeBSD. It is listed under APIs and protocols for FreeBSD 14.5 (aarch64, x86_64).

### Which AI model was used on macOS WindowServer (SkyLight) protocol and AppKit apps?

The entry names Claude Sonnet 5.5. The tools named alongside are Claude Code and GNUstep.

### Did the AI reverse engineering of macOS WindowServer (SkyLight) protocol and AppKit apps work?

Its author reports that it partly works. Checks recorded: source available yes.

### Is the source code for macOS WindowServer (SkyLight) protocol and AppKit apps available?

Yes. The code, patches or tooling are public: https://github.com/pearOS-bsd/misc.

## Sources

- [Repository](https://github.com/pearOS-bsd/misc)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Alexandru Balan (2026). Built a macOS style window server for FreeBSD that runs unmodified open source Mac apps, with Claude. Reversed with AI. https://reversedwithai.com/p/wsbsd-skylight-window-server-freebsd-claude
