{"repo":"termkit/skeleton","free":true,"listed":false,"github":"https://github.com/termkit/skeleton","clone":"git clone https://github.com/termkit/skeleton.git","description":"The Multi-tab framework of Bubbletea programs!","language":"Go","stars":65,"topics":["bubbletea","cli","framework","go","golang","tui"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"Skeleton Skeleton is a Go library built on top of the Bubble Tea framework designed to simplify the development of multi-tab terminal user interface (TUI) applications. Features - Multi-tab Support : Easily create and manage multiple tabs in your terminal application, similar to browser tabs. - Dynamic Widgets : Add and update widgets on the screen, such as battery status, time, or any other information. - Simple Integration : Build complex TUI applications with a straightforward and modular approach. - Customizable : You can customize every aspect of the tabs and widgets, including key bindings and appearance. - Realtime Updates : Updates itself instantly every time the terminal is resized, appearance changes, widgets changes, content changes, etc. - Responsive Design : Automatically adjusts the layout based on the terminal size. Tutorial Skeleton leverages Bubble Tea's architecture to provide a framework for multi-tab TUI applications. This tutorial assumes you have a working knowledge of Go and Bubble Tea. For a complete example code, you can refer to the source code on GitHub. Getting Started First, you'll need to install Skeleton. Use the following command to get it: Example Usage Let's walk through an example of how to use Skeleton to create a basic multi-tab application. 1. Define the Models We'll start by defining a simple model for our tabs. Each tab will be represented by a tinyModel struct: 2. Set Up the Application Initialize Skeleton, add pages, and configure wid","default_branch":null,"files":null,"tree":[],"storefront":"/r/termkit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/termkit/skeleton/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}