phranck

phranck / TUIkit

Public

A declarative, SwiftUI-like framework for building Terminal User Interfaces in Swift.

152
4
100% credibility
Found Feb 04, 2026 at 32 stars 5x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

TUIkit is a pure Swift library for building rich, interactive terminal applications using familiar declarative building blocks like buttons, lists, and colors.

How It Works

1
🔍 Discover TUIkit

You stumble upon TUIkit while looking for ways to create interactive screens that run right in your terminal.

2
Try the demo

You launch the ready example and instantly see colorful buttons, lists, and menus responding to your keystrokes.

3
Build your first screen

You connect it to a simple project and arrange text, buttons, and lists with easy drag-and-drop-like building blocks.

4
🎨 Make it yours

Pick from beautiful color schemes and border styles to give your screen a personal touch.

5
🚀 Add interactions

Wire up buttons and menus so they respond to keys like enter or arrows, feeling smooth and natural.

Your terminal app shines

Sit back as your fully interactive creation runs beautifully in any terminal, ready for daily use.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 32 to 152 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is TUIkit?

TUIkit is a declarative, SwiftUI-like framework for building terminal user interfaces in Swift. It lets you write TUIs using familiar syntax—VStack, HStack, @State, modifiers like .bold() and .padding()—without ncurses or C dependencies, running on macOS and Linux. Developers get reactive UIs with focus navigation, themes, alerts, lists, and a status bar, plus a CLI like `tuikit init MyApp` for instant prototypes.

Why is it gaining traction?

It stands out by porting SwiftUI's declarative pipeline to terminals, so Swift devs skip low-level ANSI hacks for polished apps with 256-color themes, keyboard shortcuts, and render caching. The hook? Drop-in familiarity: Text("Hello").foregroundColor(.cyan).button("Click"), plus 998 passing tests and predefined palettes like classic green CRT. Early adopters praise the pure-Swift simplicity over bloated alternatives.

Who should use this?

CLI tool authors needing rich interfaces, like config editors or music players with lists and modals. Swift backend devs prototyping user-facing terminals, or Linux server admins building interactive dashboards. Avoid if you're not in Swift or need production stability yet.

Verdict

Promising experiment for SwiftUI fans eyeing terminal apps, but 69 stars and 1.0% credibility score scream early alpha—explicitly marked WIP with changing APIs. Try for side projects; pair with the example app and CLI for quick wins, but skip prod until it matures.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.