Version: 0.1.0-alpha
Status: Proof of Concept / Alpha
License: Mixed (BSD/APSL - see individual components)
A proof-of-concept toolkit demonstrating Darwin API compatibility on FreeBSD. This is an alpha release showing that macOS-style utilities can run on FreeBSD using compatibility shims.
⚠️ Alpha Software: This is experimental. Not production-ready. APIs may change.
A collection of 15 Darwin-compatible command-line utilities:
sw_vers- System version informationscutil- System configurationnetworksetup- Network management
plutil- Property list utilityxattr- Extended attributesditto- File copying with metadataopen- File/URL opener
pbcopy- Copy to clipboardpbpaste- Paste from clipboard
say- Text-to-speechafplay- Audio playerscreencapture- Screenshots
launchd- Service managementdefaults- User preferencescaffeinate- Power management
# Build all utilities
cd src/darwin-compat
./build-all.sh
# Run demo
./demo-essential-15.sh
# Try individual utilities
cd sw_vers-demo && ./sw_vers-demo
cd plutil-demo && ./plutil-demo -help✅ All 15 utilities compile and run on macOS
✅ Compatibility shim library (Mach ports → kqueue)
✅ Darwin-compatible command-line interfaces
✅ Comprehensive test suites
❌ FreeBSD integration (currently macOS-only demos)
❌ Binary plist support
❌ Full framework implementations
❌ Bootable system
❌ Package management
Utilities
↓
Compatibility Shims (mach_port, darwin_syscalls)
↓
FreeBSD/macOS Native APIs
Current: Manual build only
cd src/darwin-compat
./build-all.sh
# Binaries in each *-demo/ directoryFuture: Package manager integration
- More utilities (20+ total)
- FreeBSD VM testing
- Improved shim library
- FreeBSD boot integration
- Package system
- Basic GUI exploration
- Bootable FreeBSD system
- Stable Darwin compatibility layer
- Full userland integration
This is an experimental proof-of-concept. Contributions welcome but expect breaking changes.
Mixed licensing:
- CatBSD code: BSD-2-Clause
- Darwin components: Apple Public Source License (APSL)
- See individual files for details
Inspired by ravynOS and the FreeBSD community.
CatBSD: Where FreeBSD meets Darwin 🐾
Alpha Release - Proof of Concept - Not Production Ready