~/talk

Build Beautiful CLI Apps Using Termwind

Talkat Full Stack Europe 2022 · 2022-10-05..10-07· [developer-experience]
slides:none on file

Live coding shows Termwind exposes an HTML-like API and Tailwind-style utility classes for the terminal, letting code set colors, padding, margins, flex layout, space utilities and custom styles instead of escape codes. Examples include terminal.clear, an ask(prompt) that returns user input, a live refresh loop and arrow-key selection built on top of live rendering inside Laravel Zero-style apps. Demo works interactively and the presenter cites Tailwind shipped in Laravel with about 4 million 500 downloads.

AI-written summary · about

  1. 0:00Introduction
  2. 1:46Problem with CLI styling
  3. 3:35Basic Termwind usage
  4. 6:06HTML tags and spacing
  5. 8:11Flexbox and alignment
  6. 10:41Custom classes and colors
  7. 12:03Dynamic space filling
  8. 13:51Building a schedule layout
  9. 14:34Refactoring with styles
  10. 16:02Terminal cleanup
  11. 16:46User input with Termwind
  12. 18:53Why style CLI apps
  13. 20:01Termwind in Laravel Zero
  14. 21:27Live updates feature
  15. 22:30Interactive selection
  16. 23:33Hotkey loading analogy
  17. 24:37Conclusion and stats
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.