tui

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2026 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

A live first-boot progress view: an elapsed timer (so you can tell it's alive, not stuck) plus the current cloud-init activity streamed from the box.

A Bubble Tea file browser with an always-on search bar. Start typing to filter the current directory; arrows move; enter opens a folder or picks a file; the top "[ use this folder ]" row selects the current directory.

A generic Bubble Tea table picker with an always-on search bar: start typing to filter, arrows to move, enter to select, shift+tab to go back, ctrl+c quit.

Package tui is the laptop-side guided experience: a sequence of small huh steps (built on Bubble Tea) followed by spinner-driven provisioning. Each step runs on its own, so browser pages open only when you reach the step that needs them.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context) error

Run drives the full create flow, one step at a time.

func ShowMobile

func ShowMobile(ctx context.Context, cfg config.Config)

ShowMobile prints the "Code from your phone" card (QR + steps) and offers to add the box to ~/.ssh/config. Used after a create and by `pocketdev mobile`.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL