Build it with us.
RefyOS is built from source on top of PureDarwin. Here is how the project is organised, how the system is built, and where it is going.
The repositories.
The repositories open to the public with the first release. Until then, this is what they hold.
System
PureDarwin's full history with our downstream commits on top: the kernel and its extensions, the frameworks, the window server and the system apps.
InstaDock
The Dock and the desktop picture, the application switcher and the stacks.
Build tools
The scripts that build frameworks and kernel extensions and assemble the images, plus our test and profiling tools.
From source to a bootable image.
The system is cross-built on Linux with a Darwin toolchain: clang, ld64 and cctools. The goal for the first release: the whole system rebuilt from source with one command, by anyone.
- SourcePinned versions of every component, ours and third-party.
- Toolchainclang, ld64 and cctools targeting x86_64 Darwin.
- ComponentsFrameworks, apps and daemons, each checked against the exports it must provide.
- KernelXNU and its extensions linked into kernel collections.
- ImageA bootable disk image, smoke-tested in a virtual machine.
Binary compatibility is the rule. Every framework we touch keeps Apple's names, signatures and behaviour, so apps built for macOS run unchanged. An export check stops a build that would drop a symbol.
Develop on the system itself.
The Command Line Tools are part of the image, so you can build Darwin programs right on RefyOS, against the same frameworks that ship with it.
- clang, ld64, cctools, compiler-rt, dsymutil, bmake
- AppKit, Foundation, CoreAudio and the other frameworks' headers
defaults,hdiutil,systemsetupwith macOS's options
What may go into the image.
Checked file by file, for every component. A part that doesn't fit is rewritten or replaced, never shipped "for now".
In the image
- Our own code: MPL-2.0 OR BSD-2-Clause
- Permissive third-party code: APSL, BSD, MIT, Apache, ISC and the like
- Fonts under the SIL Open Font License
- Device firmware, only where its licence allows redistribution
Never in the image
- GPL or LGPL code, in any part of the system
- Closed-source software
- GPL code in the kernel, not even as an option
Optional downloads
Kept apart from the image: GPL or LGPL userland tools with their source code, and vendor drivers exactly as the vendor ships them.
Artwork
The logo, icons and wallpapers are our own, all rights reserved. They are not covered by the code licences.
Where we're going.
A desktop to work in
Dock, menu bar, Finder's desktop, Settings, login and lock screen, fast user switching, light and dark.
Real hardware
Boots from USB on PCs; Wi-Fi, HD Audio and USB audio, backlight, external displays.
Measured compatibility
Real macOS binaries, command-line tools and apps, tested against the system; the missing APIs that block the most programs come first.
Graphics on the GPU
GPU compositing and drawing, zero-copy buffers, then native Intel and AMD drivers.
Rebuildable from source
Every component built from source in one command, with export checks and a virtual-machine smoke test on every change.
First release
A developer preview: a downloadable image, installation notes and release notes.
Swift
The Swift runtime for apps built with Swift, then the compiler on RefyOS itself.
The kernel line
XNU from the macOS 26 (Darwin 25) line, the last for Intel Macs, kept up with security fixes.
Each task, question and decision has an issue: what was found, what was tried, what was decided and why. Today the tracker is private; it opens together with the repositories.
Bug reports and hardware reports will go there too, once the first image is out.
How a change gets in.
Fix the cause
Fix a bug where it starts, in the framework, the driver or the kernel. No workarounds in the app on top.
Apple's names
A new API comes in only with Apple's name, signature and behaviour, so Mac apps find what they expect.
Licence first
Every new file says its licence; code that can't go into the image doesn't go in.
Tested twice
In a virtual machine first, then on real hardware.
Upstream where it fits
Small, self-contained fixes go back to PureDarwin as pull requests.
Pull requests
Open to everyone with the public repositories, at the first release.
Want to help?
The code opens with the first release. Follow the news to hear when, and tell us what you'd like to work on.