detached 685e268

build(dependencies): add Go module configuration with charmbracelet TUI libraries

commit
685e2680e7122db3af0d8165a877282731deac30
author
bnema · · 2025-10-26 09:42 UTC
parent
a660cea
signature
unsigned
2 files · +108 -0
A go.mod +35 -0
@@ -0,0 +1,35 @@
1+module github.com/bnema/archup
2+
3+go 1.24.0
4+
5+require (
6+ github.com/charmbracelet/bubbles v0.21.1-0.20250623103423-23b8fd6302d7
7+ github.com/charmbracelet/bubbletea v1.3.10
8+ github.com/charmbracelet/huh v0.8.0
9+ github.com/charmbracelet/lipgloss v1.1.0
10+)
11+
12+require (
13+ github.com/atotto/clipboard v0.1.4 // indirect
14+ github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
15+ github.com/catppuccin/go v0.3.0 // indirect
16+ github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
17+ github.com/charmbracelet/x/ansi v0.10.1 // indirect
18+ github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
19+ github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0 // indirect
20+ github.com/charmbracelet/x/term v0.2.1 // indirect
21+ github.com/dustin/go-humanize v1.0.1 // indirect
22+ github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
23+ github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
24+ github.com/mattn/go-isatty v0.0.20 // indirect
25+ github.com/mattn/go-localereader v0.0.1 // indirect
26+ github.com/mattn/go-runewidth v0.0.16 // indirect
27+ github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
28+ github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
29+ github.com/muesli/cancelreader v0.2.2 // indirect
30+ github.com/muesli/termenv v0.16.0 // indirect
31+ github.com/rivo/uniseg v0.4.7 // indirect
32+ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
33+ golang.org/x/sys v0.37.0 // indirect
34+ golang.org/x/text v0.23.0 // indirect
35+)
@@ -0,0 +1,35 @@
1+module github.com/bnema/archup
2+
3+go 1.24.0
4+
5+require (
6+ github.com/charmbracelet/bubbles v0.21.1-0.20250623103423-23b8fd6302d7
7+ github.com/charmbracelet/bubbletea v1.3.10
8+ github.com/charmbracelet/huh v0.8.0
9+ github.com/charmbracelet/lipgloss v1.1.0
10+)
11+
12+require (
13+ github.com/atotto/clipboard v0.1.4 // indirect
14+ github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
15+ github.com/catppuccin/go v0.3.0 // indirect
16+ github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
17+ github.com/charmbracelet/x/ansi v0.10.1 // indirect
18+ github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
19+ github.com/charmbracelet/x/exp/strings v0.0.0-20240722160745-212f7b056ed0 // indirect
20+ github.com/charmbracelet/x/term v0.2.1 // indirect
21+ github.com/dustin/go-humanize v1.0.1 // indirect
22+ github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
23+ github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
24+ github.com/mattn/go-isatty v0.0.20 // indirect
25+ github.com/mattn/go-localereader v0.0.1 // indirect
26+ github.com/mattn/go-runewidth v0.0.16 // indirect
27+ github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
28+ github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
29+ github.com/muesli/cancelreader v0.2.2 // indirect
30+ github.com/muesli/termenv v0.16.0 // indirect
31+ github.com/rivo/uniseg v0.4.7 // indirect
32+ github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
33+ golang.org/x/sys v0.37.0 // indirect
34+ golang.org/x/text v0.23.0 // indirect
35+)
A go.sum +73 -0 generated file: collapsed

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close