Settings

Theme

Show HN: Gum, a tool for glamorous shell scripts

github.com

55 points by maaslalani 3 years ago · 9 comments

Reader

ducktective 3 years ago

So it's a beefed-up colorful alternative to `fzf + input + ncurses-like prompts` where you would use English descriptive subcommands instead of shell redirections.

Nice! Kudos.

moondev 3 years ago

I'm blown away by everything about this. The idea, execution, readme, packaging... everything. This feels like the slick lightweight zenity or yad for the terminal that I have always wanted - but actually better than I imagined. Can't wait to try this.

DiabloD3 3 years ago

A lot of things Charm is doing is pretty neat, but until they're packaged by major distros (my home distro of Debian still has none of these; and for such a niche tooling, I'm not using your third party Debian repo), they're hard to fit into anything I expect to run anywhere.

Also, have you ever considered rolling your own pager that can self file watch and remember scroll position across watch iterations? The Glow markdown reader is neat, but I'd like to use it with vim in a way where :w automatically refreshes Glow running in another tmux pane.

  • moondev 3 years ago

    Or just run it directly from your script on any platform/arch that has go - no need for root to install an outdated distro specific package

        go run github.com/charmbracelet/gum@latest
    • DiabloD3 3 years ago

      I'm not big on using language-specific tooling. Programs need to be part of the package manager management loop of a distro to ever be adopted, especially for developers who don't use those languages.

      Using language-specific package managers can only lead to out of date software, security bugs, and other nastiness. Same reason I don't install programs with pip, npm, or other crazy things.

      • allarm 3 years ago

        Then do your part and become a maintainer. I don’t think that a small team of developers has cycles to do that at this point.

        • ducktective 3 years ago

          Basically, CLI tools like this one or fzf, rg, fd have to become popular and useful enough to win favour of distro maintainers.

          When enough shell scripts state a dependency on `jq`, debian maintainers would be inclined to package it.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection