detached 7b9ebb2

New vhs demo

commit
7b9ebb2dd553b69f92174756a32fae02f818a7af
author
bnema · · 2023-11-08 16:00 UTC
parent
e55873d
signature
unsigned
3 files · +1 -4
M assets/vhs/demo.gif +0 -0 binary file: no text diff

binary file: no text diff

M go.mod +1 -2
@@ -6,6 +6,7 @@ require (
66 github.com/AlecAivazis/survey/v2 v2.3.7
77 github.com/PuerkitoBio/goquery v1.8.1
88 github.com/charmbracelet/bubbles v0.16.1
9+ github.com/charmbracelet/bubbletea v0.24.1
910 github.com/charmbracelet/lipgloss v0.7.1
1011 github.com/cheggaaa/pb v1.0.29
1112 github.com/docker/docker v24.0.6+incompatible
@@ -24,8 +25,6 @@ require (
2425
2526 require (
2627 github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
27- github.com/charmbracelet/bubbletea v0.24.1 // indirect
28- github.com/charmbracelet/harmonica v0.2.0 // indirect
2928 github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
3029 github.com/creack/pty v1.1.18 // indirect
3130 github.com/dustin/go-humanize v1.0.1 // indirect
@@ -6,6 +6,7 @@ require (
6 github.com/AlecAivazis/survey/v2 v2.3.76 github.com/AlecAivazis/survey/v2 v2.3.7
7 github.com/PuerkitoBio/goquery v1.8.17 github.com/PuerkitoBio/goquery v1.8.1
8 github.com/charmbracelet/bubbles v0.16.18 github.com/charmbracelet/bubbles v0.16.1
9+ github.com/charmbracelet/bubbletea v0.24.1
9 github.com/charmbracelet/lipgloss v0.7.110 github.com/charmbracelet/lipgloss v0.7.1
10 github.com/cheggaaa/pb v1.0.2911 github.com/cheggaaa/pb v1.0.29
11 github.com/docker/docker v24.0.6+incompatible12 github.com/docker/docker v24.0.6+incompatible
@@ -24,8 +25,6 @@ require (
24 25
25 require (26 require (
26 github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect27 github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
27- github.com/charmbracelet/bubbletea v0.24.1 // indirect
28- github.com/charmbracelet/harmonica v0.2.0 // indirect
29 github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect28 github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
30 github.com/creack/pty v1.1.18 // indirect29 github.com/creack/pty v1.1.18 // indirect
31 github.com/dustin/go-humanize v1.0.1 // indirect30 github.com/dustin/go-humanize v1.0.1 // indirect
M go.sum +0 -2
@@ -18,8 +18,6 @@ github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5
1818 github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc=
1919 github.com/charmbracelet/bubbletea v0.24.1 h1:LpdYfnu+Qc6XtvMz6d/6rRY71yttHTP5HtrjMgWvixc=
2020 github.com/charmbracelet/bubbletea v0.24.1/go.mod h1:rK3g/2+T8vOSEkNHvtq40umJpeVYDn6bLaqbgzhL/hg=
21-github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
22-github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
2321 github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E=
2422 github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c=
2523 github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=
@@ -18,8 +18,6 @@ github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5
18 github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc=18 github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc=
19 github.com/charmbracelet/bubbletea v0.24.1 h1:LpdYfnu+Qc6XtvMz6d/6rRY71yttHTP5HtrjMgWvixc=19 github.com/charmbracelet/bubbletea v0.24.1 h1:LpdYfnu+Qc6XtvMz6d/6rRY71yttHTP5HtrjMgWvixc=
20 github.com/charmbracelet/bubbletea v0.24.1/go.mod h1:rK3g/2+T8vOSEkNHvtq40umJpeVYDn6bLaqbgzhL/hg=20 github.com/charmbracelet/bubbletea v0.24.1/go.mod h1:rK3g/2+T8vOSEkNHvtq40umJpeVYDn6bLaqbgzhL/hg=
21-github.com/charmbracelet/harmonica v0.2.0 h1:8NxJWRWg/bzKqqEaaeFNipOu77YR5t8aSwG4pgaUBiQ=
22-github.com/charmbracelet/harmonica v0.2.0/go.mod h1:KSri/1RMQOZLbw7AHqgcBycp8pgJnQMYYT8QZRqZ1Ao=
23 github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E=21 github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E=
24 github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c=22 github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c=
25 github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=23 github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo=

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 7

Tags 106

↑↓ moveenter openesc close