CLI tool for creating TUIkit terminal applications.
curl -fsSL https://raw.githubusercontent.com/phranck/TUIkit/main/project-template/install.sh | bashThis installs the tuikit command globally on your system.
tuikit init MyApp # Basic app
tuikit init sqlite MyApp # With SQLite database
tuikit init testing MyApp # With Swift Testing
tuikit init sqlite testing MyApp # All featuresMyApp/
├── Package.swift # Swift Package with TUIkit dependency
├── Sources/
│ ├── App.swift # Main entry point
│ ├── ContentView.swift # Root view
│ └── Database.swift # (if sqlite option used)
├── Tests/ # (if testing/xctest option used)
├── .swiftpm/ # Pre-configured Xcode scheme
├── README.md
└── .gitignore
- Creates native Swift Packages (not .xcodeproj)
- Optional SQLite.swift integration
- Optional Swift Testing or XCTest
- Pre-configured Xcode scheme
- Cross-platform (macOS, Linux)
- XDG Base Directory compliant
The installer:
- Detects your platform (macOS/Linux)
- Installs to
/usr/local/binor~/.local/bin - Offers to update your shell PATH automatically
- Creates
tuikit-uninstallcommand for easy removal
git clone https://github.com/phranck/TUIkit.git
cd TUIkit/project-template
./install.shtuikit-uninstall- macOS 15+ or Linux
- Swift 6.0+
- Bash shell
MIT License