SwiftUI + AppKit
Built like a real Mac app, not a browser pretending to be one.
Pine is a code editor for macOS purists. Native SwiftUI + AppKit, Liquid Glass on macOS 26, zero Electron.
brew tap batonogov/tap && brew install --cask pine-editor
Built like a real Mac app, not a browser pretending to be one.
Open a folder, browse files, edit fast, run commands, keep moving.
One dependency (SwiftTerm), no plugin marketplace, no configuration sprawl.
Status in the tree, branch switching, and diff markers directly in the editor.
Pine keeps the parts that matter in day-to-day coding and cuts the layers that usually slow editors down.
You spend less time shaping the editor and more time writing, running, and reviewing code. Pine stays in the background and keeps the loop tight.
Pine is not trying to become a platform. It is trying to cover the everyday loop with less friction.
Folders-first file tree, clean empty states, hidden files skipped by default, editor tabs, and unsaved-change protection.
Line numbers, current-line highlight, minimap, bracket matching, line commenting, font zoom, undo, find bar, smart indent, and syntax highlighting for 16 languages.
Multiple terminal tabs powered by SwiftTerm — a full VT100/xterm emulator with colors, oh-my-zsh, and TUI app support.
Status in the file tree, diff markers in the gutter, branch switching, and a compact status bar summary.
Native Markdown preview with source, rendered, and split modes. Quick Look for images and binary files without leaving the editor.
Built-in auto-updates via Sparkle, large file warnings before opening, and session restore that picks up right where you left off.
If VS Code feels heavy and Xcode feels like overkill for everyday editing, Pine is the middle ground.
"I just wanted a fast native editor for my Ansible and Helm files. VS Code felt too heavy. So I built one."
Pine started as a personal experiment. Working daily with Ansible, Helm, and Terraform meant editing YAML, not writing apps. VS Code felt too heavy for the task. Zed was promising but not native enough. No editor felt right. Over 12 days — with AI assistance and no prior Swift knowledge — Pine was built. That experiment became a real product. It is now open source and growing with its community.
Use Homebrew, grab the latest DMG, or build from source in Xcode. The stack stays small: SwiftUI, AppKit, JSON grammars, and SwiftTerm for the terminal.
brew tap batonogov/tap && brew install --cask pine-editor
Build from source with xcodebuild -project Pine.xcodeproj -scheme Pine build if you want the full native stack on your machine.