gum
rich
gum | rich | |
---|---|---|
48 | 156 | |
19,124 | 51,296 | |
1.8% | 1.6% | |
9.3 | 9.1 | |
10 days ago | 4 months ago | |
Go | Python | |
MIT License | MIT License |
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
-
5 Local Environment Mistakes I See Everywhere, and How to Fix Them Properly
There are tools built exactly for that. One of the best is Gum - a small utility that helps build terminal user interfaces with checkboxes, file pickers, prompts, and more:
-
Show HN: Bagels – TUI Expense Tracker
I don't know why (other than being a Gen X nerd) but I have a bizarre affinity for nicely-written TUI apps of late! Things like btop++ that respond to mouse clicks and smoothly reflow when the terminal window is resized etc...
Shout-out to Charmbracelet's stuff such as Glow (https://github.com/charmbracelet/glow) and Gum (https://github.com/charmbracelet/gum) for rendering markdown nicely in the terminal and for using TUI in your shell scripts
-
FFmpeg by Example
needs gum from https://github.com/charmbracelet/gum;
- Just: Just a Command Runner
-
Create a simple CLI, a mess
I need support for an interactive CLI. I love the Symfony terminal—interactive, fast, great UX or something similar to Gum
-
Omm ("on-my-mind") – A keyboard-driven task manager for the command line
Omm is built using the charm libraries: https://charm.sh/
Easiest way to do it any language is to shell out to gum: https://github.com/charmbracelet/gum
-
7 TUI libraries for creating interactive terminal apps
Here, we will recreate the same program as Huh? example, but using Gum in shell scripts. First, install the Gum binary as per instructions on their GitHub repo here.
- TTE: Terminal Text Effects
-
Superfile – A fancy, petty terminal file manager
The same project has an application called Gum which exposes primitives from their UI framework via a single CLI binary. It's intended to be used from a normal bash script and I've found it really quite pleasant to use.
For example, you could write 'gum choose foo bar baz' to get a nice picker over the three provided options.
Their repo has a ton of examples: https://github.com/charmbracelet/gum
- Gum – A tool for glamorous shell scripts
rich
-
🚀 Launching a High-Performance DistilBERT-Based Sentiment Analysis Model for Steam Reviews 🎮🤖
rich: Enhances the command-line interface with rich text formatting.
-
5 Best Python TUI Libraries for Building Text-Based User Interfaces
2.Rich Rich Rich is a modern Python library designed for rich text and beautiful formatting in the terminal. While Rich is often used for rendering formatted logs or terminal output, it also includes a TUI toolkit for building full-fledged interactive applications.
-
5 Open Source Python Projects You Should Know About in 2024
Where to check it out: https://github.com/Textualize/rich
-
Things I've learned building a modern TUI Framework
> Personally I found Textual a little weird to use, but better than ncurses.
Out of curiosity, have you looked at it's sibling project "rich"?
https://github.com/Textualize/rich
Seems like it provides a TUI toolkit as well, and it looks a bit less weird than the approach Textual uses.
Was thinking of trying it out with a side project recently, but got pulled onto some other stuff instead so haven't yet started. Nor made the choice between them. ;)
-
Ps aux written in bash without ever forking
I recently used the rich library to print tables in terminal.
https://github.com/Textualize/rich
-
Wat – Deep inspection of Python objects
Right! I usually use rich's print [1] for this kind of thing too, which I chose after testing a few other libraries that do pretty printing.
--
1: https://github.com/Textualize/rich?tab=readme-ov-file#rich-p...
-
A Simple Instagram Tracking Script Written in Python
Rich
- Ask HN: Interesting TUIs (text user interfaces), maybe forgotten ones?
- Rich is a Python library for rich text and beautiful formatting in the terminal
-
Neat Parallel Output in Python
There is an open issue [1] on GitHub to make it more modular and get rid of markdown and syntax highlighting but I have no hope for rich to get more minimal.
[1]: https://github.com/Textualize/rich/issues/2277
What are some alternatives?
bubbletea - A powerful little TUI framework 🏗
tqdm - :zap: A Fast, Extensible Progress Bar for Python and CLI
bubbles - TUI components for Bubble Tea 🫧
colorama - Simple cross-platform colored terminal text in Python
lipgloss - Style definitions for nice terminal layouts đź‘„
textual - Lean TUI application framework for Python. Build sophisticated terminal user interfaces with a simple Python API. Run your apps in the terminal and a web browser.