{"repo":"mattlianje/layoutz","free":true,"listed":false,"github":"https://github.com/mattlianje/layoutz","clone":"git clone https://github.com/mattlianje/layoutz.git","description":"Simple, beautiful CLI output","language":"Scala","stars":355,"topics":["cli","dsl","functional-programming","scala","tui"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"part of c6 layoutz Simple, beautiful CLI output 🪶 A lightweight, zero-dep lib to build compositional ANSI strings, terminal plots, and interactive Elm-style TUI's in pure Scala. Also in Haskell, OCaml Features - Pure Scala, zero-dependencies (JVM, Native, JS) - Elm-style TUIs - Layout primitives, tables, trees, lists, CJK-aware - Colors, ANSI styles, rich formatting - Terminal charts and plots - Widgets: text input, spinners, progress bars - Kitty protocol support - Extend Element and easily create new primitives - (No component library limitations) - Built-in commands (file I/O, HTTP requests, clipboard handling) ShowcaseApp.scala Layoutz also lets you easily drop animations into build scripts or any processes that use Stdout: InlineDemo.scala Table of Contents - Installation - Quick Start - Why layoutz? - Core Concepts - Border Styles - Elements - Custom Elements - Collections - Colors & Styles - Charts & Plots - Interactive Apps - Prompts (Ask) - Progress (loader) - Examples - Contributing - Inspiration Installation On MavenCentral, cross-built for Scala 2.12, 2.13, 3.x (JVM, JS and Native): Quick Start There are 3 usage paths with this little library: (1/3) Static rendering - Pretty, composable strings: (2/3) Interactive apps - Build Elm-style TUI's: (3/3) Prompts (Ask) You often want one-shot CLI prompts with pickers, file pickers, fuzzy-finders, pagers, etc ... without dropping down into Elm-territory to make them. This is why layoutz has the Ask helpers AskDemo.scala ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mattlianje","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mattlianje/layoutz/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."}