Giggles: A Batteries-Included React Framework for Building Terminal Applications
By
ajz317
A baker's-dozen of insight crammed into one ring.
Summary
Giggles is a batteries-included React framework specifically designed for building terminal applications. Built on top of Ink, it provides comprehensive solutions for focus management, input routing, screen navigation, and theming out of the box, allowing developers to skip complex setup and focus on building terminal apps. Inspired by the Charmbracelet ecosystem, it includes a rich set of UI components, hooks for focus and navigation management, and terminal utilities for tasks like running shell commands. The framework features a hierarchical input system where each component owns its keys, enabling independent operation of nested components like text inputs inside lists inside panels, with unhandled keys naturally passing up to appropriate parent components without requiring a global input handler.
Key quotes
· 4 pulledgiggles is a batteries-included react framework for building terminal apps
built on ink, it handles focus, input routing, screen navigation, and theming out of the box so you can skip the plumbing and build
inspired by the charmbracelet ecosystem, it comes with a rich set of UI components, hooks for focus and navigation management, and terminal utilities for things like running shell commands
each component owns its keys — a text input inside a list inside a panel all work independently, with unhandled keys naturally passing up to the right parent
