A TUI (tview) tool written in Go for downloading assets from git releases with ease.
I needed a tool with a user-friendly UI to quickly hand pick and download specific assets from releases of tool repository when working on CTF/HTB challenges.
Note: quaz only displays the non-default assets for each release. In other words, source zip and tar.gz files are not shown. This is intended behavior, because downloading them are no different to cloning the repository.
Install using go ($GOPATH must be in your environment variables in order to use quaz from everywhere):
go install github.com/ArmanHZ/git-quick-assetz/cmd/quaz@latestTo build and run, you can use the build_and_run.sh or manually as follows:
git clone https://github.com/ArmanHZ/git-quick-assetz.git
go build -o ./quaz ./cmd/quaz/quaz.go
./quazIf you want, you can move the quaz to somewhere that is in your path and use it
from anywhere you want.
- The movement keys for switching componentgs, eg. buttons, are
TabandShift+Tab. - Moving within the components, eg. navigating through a list,
arrow keysorj/kkeys work. - The action key is
Enter, eg. after you input your URL, hitenterto pull the asset list. - Everytime you pull the assets of a repo, the URL gets saved in this file:
$HOME/.config/quaz/hist.json.- This allows you to press
ctrl+fwhen the url input is in focus to quickly re-use the previously navigated repos.
- This allows you to press
- By default, your current working directory will be shown in the
Save locationinput field. - If you don't want to type the path manually, you can just launch
quazin the directory that you want to download the assets into.
With the default color scheme of Windows Terminal, the TUI app looks like this:
