weft.
THE FOUNDATIONEvery interaction starts
with a thread.
Raw input, typed events, and terminal sessions with a clear beginning and end. The quiet machinery underneath your application.
Explore weft on GitHubTWO LIBRARIES. ONE FABRIC.
Swift libraries for command-line apps
on Linux and macOS.
The Swift competitor to Ratatui (Rust) and Charm (Golang).
Start buildingOpen source · Apache 2.0
Reduced motion is on. Press Replay to watch the animation.
BUILT TO COMPETE. BUILT FOR SWIFT.
Ratatui has Rust. Charm has Golang.
Swift has loom & weft.
Build rich terminal interfaces in the language you already use. loom gives you composable layouts, widgets, and cell-diff rendering. weft gives you typed input events and terminal control.
Two libraries built specifically for Swift projects. Add them with SwiftPM and take command of your terminal.
Every interaction starts
with a thread.
Raw input, typed events, and terminal sessions with a clear beginning and end. The quiet machinery underneath your application.
Explore weft on GitHubGive those threads
a little character.
Compose text, layouts, and widgets into a complete frame. Loom compares the cells and sends only what changed through weft.
Explore loom on GitHubA FEW LINES. A NEW POSSIBILITY.
Pick your layer. Add it with SwiftPM.
Swift 6.4+ · Linux & macOS 13+ · v0.1.1
// Add to your package dependencies
.package(
url: "https://github.com/standrze/loom.git",
from: "0.1.1"
)loom product to your target.Installation docs