The xi-editor mac frontend. Contribute to xi

Xi Editor (xi-mac) is the official native macOS Cocoa frontend for the xi-editor project—pairing Apple's Core Text rendering typography with an ultra-fast, asynchronous **Rust (xi-core) backend**. Utilizing piecewise balanced rope data structures and a strict 16ms frame budget, Xi Editor opens multi-gigabyte text files instantaneously without UI freezes.
Xi Editor operates through structured, deterministic execution stages:
xi-core buffer daemon via asynchronous JSON-RPC.
Xi Editor Cocoa frontend running native Rust text editing core
xi-core)| Specification | Minimum Requirement | Recommended Specification |
|---|---|---|
| Operating System | macOS (Universal via Xcode + Cargo source build) | Latest stable release build |
| Processor Architecture | 4-Core x86_64 or Apple Silicon M1 | 8-Core Apple Silicon / Core i7+ |
| Memory (RAM) | 4 GB Unified Memory | 16 GB+ High-Speed RAM |
| Disk Space | 1 GB free SSD storage | 5 GB+ free SSD storage |
*Note: Xi Editor distributes as a native Swift + Rust source workspace built locally with Xcode and Cargo.*
git clone --recursive https://github.com/xi-editor/xi-mac.git cd xi-mac open XiEditor.xcodeproj
Ensure cargo and rustc are installed on PATH before hitting Build & Run (⌘R) in Xcode.
rustup and cargo are configured so Xcode compiles the embedded xi-core crate automatically.XiEditor.app or launch files from CLI using xi filename.rs..tmTheme) and preferences under ~/Library/Application Support/XiEditor/preferences.xiconfig.cargo.**~/.cargo/bin from interactive shell profiles.cargo under /usr/local/bin before building XiEditor.xcodeproj.100% Free & Open-Source native desktop software. Star the repository to support development.