gum
bubbles
gum | bubbles | |
---|---|---|
47 | 14 | |
18,817 | 5,897 | |
1.8% | 2.4% | |
9.3 | 8.6 | |
5 days ago | 5 days ago | |
Go | Go | |
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
-
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
-
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.
bubbles
-
I Built My First CLI Tool - GoVibes
Most of the development time went into making GoVibes interactive and look pretty. Perhaps, that effort could have been better spent on making it cross-platform and functional, but again, I'm its sole user, so it doesn't matter. Anyway, I found BubbleTea, a library for building interactive CLI(TUI) tools in Golang. The library surely had a learning curve. It took me a week to wrap my head around how all things tie together. There are also a lot of prebuilt components(Bubbles) which makes it super easy to build a pretty, user-friendly TUI.
- TTE: Terminal Text Effects
-
When creating console based applications how do you replicate the following realtime updates:
I recommend looking at the charm libraries. Lip gloss https://github.com/charmbracelet/lipgloss can provide the styling and bubble tea can handle the screen updates and framework https://github.com/charmbracelet/bubbletea there is a premade progress bar component in bubbles library. https://github.com/charmbracelet/bubbles
- Create multi-line loading bars?
-
Portal - a modern file transfer utility 🌌✨
nhooyr/websocket, shollz/pake, charmbracelet/bubbles, charmbracelet/bubbletea, charmbracelet/lipgloss, muesli/reflow, klauspost/pgzip and many, many more.
-
How do you create a text-based game in Golang?
You should check bubbletea, bubbles and harmonica
-
Gum: A tool for glamorous shell scripts
At Charm, we generally use Go for all our libraries like Bubble Tea, Bubbles, and Lip Gloss. Go should be easy to pick up if you know JavaScript and Python. That being said there are also fantastic libraries available for Python (https://github.com/Textualize/rich) and JavaScript as well.
-
Gum: a tool for glamorous shell scripts
I think you can, but if you're using Go I would recommend using Bubble Tea, Bubbles, and Lip Gloss for better customizability and flexibility (you can also use the gum code as reference).
-
Need a TUI with multiline text input or good interactive CLI-interface style support
You picked a good time, too, since the textarea bubble is brand-spanking-new! https://github.com/charmbracelet/bubbles
-
Bubble Tea at 10k Stars + Free Stickers!
We started working on Bubble Tea in January 2020 and launched it October 2020! We originally built it for Glow and the mini Charm TUI which developed most of the ecosystem (aka Bubbles.
What are some alternatives?
bubbletea - A powerful little TUI framework 🏗
portal - Portal is a quick and easy command-line file transfer utility from any computer to another.
lipgloss - Style definitions for nice terminal layouts 👄
ribbot - A simple, beautiful and interactive wrapper of curl
zathura-markdown-rs - A Zathura plugin for Markdown
Pake - 🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
fzf - :cherry_blossom: A command-line fuzzy finder
Selenite - An Experimental Rust Crate for Post-Quantum Code-Signing Certificates.
pronomial - pronomial postag/word_gender based coreference solver
crab-config-files-templating - Dynamic configuration file templating tool for kubernetes manifest or general configuration files