~/talk

Terminal UI Apps From the Ground Up with Bubble Tea

Talkat GopherCon 2023 · 2023-09-26..09-29· [frontend-architecture]
links:none on file
slides:none on file

Builds a terminal plant-watering app using Bubble Tea with an Elm-style model view update architecture and async commands, plus styling via lipgloss and a text input from Bubbles. Implements arrow-key cursor with a plant emoji, Enter to set last-watered, save/load to plants.json via Ctrl-S, Ctrl-C exit, Tab to move focus, window-resize handling, and page navigation (Ctrl-A to add, Esc/Enter to return). Shows actual code patterns: messages, commands run in goroutines, component focus/blur, and rendering with lipgloss.

AI-written summary · about

  1. 0:00Introduction to Bubble Tea
  2. 1:22Building the plants app
  3. 1:49The Elm architecture
  4. 7:40Adding interactivity
  5. 12:05Interactivity demo
  6. 21:54Styling with Lip Gloss
  7. 23:08Professional layout
  8. 23:32Adding a text input
  9. 33:56Text input demo
  10. 35:02Multi-page navigation
  11. 40:54Finished application
  12. 41:09Future improvements
~/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.