gum
moreutils
gum | moreutils | |
---|---|---|
39 | 19 | |
16,744 | 2 | |
1.5% | - | |
8.5 | 0.0 | |
6 days ago | over 1 year ago | |
Go | Shell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gum
- Gum – A tool for glamorous shell scripts
-
CLI 'chat' app
The inspiration for this is the neat project gum (https://github.com/charmbracelet/gum) but I would deliver OS native apps vs. shell scripts.
- Show HN: LineSelect, shell utility to interactively select lines in a pipeline
-
I made a library for making user terminal input really really pretty!
Instantly reminded me of https://github.com/charmbracelet/gum. Maybe you can take inspiration from there (NodeJS so can't steal much code).
-
Is there a controller layout for Konsole? (The terminal application.)
Hey, this came to my mind a few times before but I never pursued it further, but now I'm wondering: Has anybody shared a button mapping to use Konsole and Bash more conveniently? A few things like more back a word or move forward a word and delete a word come to my mind which I use regularly on my desktops. The Deck as definitely enough buttons and with some clever invocations of gum you'd almost have a simplistic file manager at hand.
-
GIT GUI tool or command line?
Been writing scripts for a couple of workflows using gum. Loading stash based on branch name and rebasing feature branches. Mostly to learn more about git and play around with the underapprecated CLI front-end engineering/design.
-
Checkbox menu without whiptail or dialog
Gum ! https://github.com/charmbracelet/gum
-
Is there a bash select alternative in fish?
That said, no idea if there's a fish builtin that does this, but I use Gum for this sort of thing.
- Script manager?
-
I'm looking for a cli tool that can create list prompts to ask questions and act on the responses
https://github.com/charmbracelet/gum is purpose-built for this, and easy to integrate into shell scripts and the like.
moreutils
-
Pipexec – Handling pipe of commands like a single command
I use mutlios and even I'm not that attached to it. The majority of my use is combined with process substitution, and could be replaced with common-ish tools like pee¹ or pipexec for more complex cases. The only occasion when I'm thankful for it is if I want to use a shell function as a target, but there are workarounds for that too.
As a noclobber user the footgun is largely hidden to me, but I feel its presence. multios without globbing support would be less useful, but would still work for most of my use cases. Scanning my shell history I see various cases of relying on zsh's ability to apply sorting and filtering to globs with multios' input redirection, but only a couple where I want that in output redirection.
Even with multios unset the behaviour is different between zsh and bash. For example, multios disables all the expansion, so zsh behaves like more like dash with ': >t{1,2}' by creating a file instead producing an error like bash does.
[FWIW, I google'd multiios to link the option in original comment. It really feels to me like it needs double-i, and I read the single i name the same way you do.]
---
I'd be one of those people whose desire for dgsh-like functionality wanes. If it was slight DSL that I could "upgrade" pipelines to I'd probably use it, but not enough to warrant working on it or switching other tooling to support it.
The end of result of this morning's pipeline was breaking my jobs up, and applying some judicious use of nq² to keep track of it. I'd follow your advice and move on to more specialist tools if the job grew significantly or if it became a regular occurrence.
¹ https://joeyh.name/code/moreutils/
² https://git.vuxu.org/nq/about/
- Show HN: Simple Script for Enhanced LLM Interaction in Vim
-
The shell and its crappy handling of whitespace
For filesystem operations like batch renames at least, I am usually happy with `vidir` (part of `moreutils`: https://joeyh.name/code/moreutils/).
`vidir [path]` will open an editor with the given directory as buffer contents.
-
Show HN: LineSelect, shell utility to interactively select lines in a pipeline
See also: "vipe" from the excellent "moreutils" package: https://joeyh.name/code/moreutils/
There are some other gems in this package. The ones I find myself using regularly are 'ts' and 'sponge' but I'm sure the useful subset depends a lot on the kind of work you are doing
-
Vim Keybindings Everywhere – The Ultimate List
Joey Hess' excellent moreutils¹ comes with vipe which is a generalised solution for these types of tasks. It allows you to run whatever $EDITOR you've configured mid-pipe, making it possible to work your changes up in an interactive editor session. Useful for those of us not smart enough to write up our changes as a series of -c arguments ;)
(It fixes the vim issue by virtue of using a temporary file to do the magic)
¹ https://joeyh.name/code/moreutils/
-
vimv has not only changed my workflow, it changed my life
Sounds like `vidir` from moreutils.
-
What "nice-to-have" CLI tools do you know?
vidir and a few others from moreutils
-
rtl_fm - record and also output audio on a speaker (Raspberry pi?)
Use pee (yes, I know) from moreutils. Something like:
-
How to re-order the strings of a filename in bulk?
I would use vidir from moreutils. Then you can do any edits and play around with any regexes you want!
-
Should i learn file management using terminal?
For bulk file renaming, I recommend vidir from moreutils - it lets you rename everything in a directory with your $EDITOR (vim being the default).
What are some alternatives?
bubbletea - A powerful little TUI framework 🏗
pipe-rename - Rename your files using your favorite text editor
bubbles - TUI components for Bubble Tea 🫧
atomicxt
zathura-markdown-rs - A Zathura plugin for Markdown
map.xplr - Visually inspect and interactively execute batch commands using xplr
lipgloss - Style definitions for nice terminal layouts 👄
lineselect - Shell utility to interactively select lines from stdin
ribbot - A simple, beautiful and interactive wrapper of curl
fstring - Make searching for text strings easier on Linux :)
fzf - :cherry_blossom: A command-line fuzzy finder
vidir - edit directory in $EDITOR (better than vim . with netrw)