bubbles
Rich Interactive Widgets for Terminal UIs
Our great sponsors
bubbles | Rich Interactive Widgets for Terminal UIs | |
---|---|---|
12 | 23 | |
4,752 | 9,778 | |
7.6% | - | |
8.4 | 8.0 | |
1 day 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.
bubbles
-
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.
-
Portal is a quick and easy command-line file transfer utility from any computer to another 🖥️ 🌌 💻
charmbracelet/bubbles
-
How to read value from terminal using bubble tea?
From a cursory reading of the docs it seems Bubble Tea doesn't implement things like that, but that the author has a "widget" library at https://github.com/charmbracelet/bubbles
Rich Interactive Widgets for Terminal UIs
-
What are some good projects in Go for an experienced dev?
I've had fun writing an app with https://github.com/rivo/tview.
-
Picnic-TUI - Where Go and Groceries Create a Command-Line Feast
Spotify-TUI was developed in Rust, therefore I couldn’t simply use the same UI framework. Within Go a popular choice is tview https://github.com/rivo/tview which provides many similar UI widgets which covered all my needs.
-
GoLang — Simplifying Complexity “The Beginning”
. Web backend (with various frameworks available) . Web Assembly (one of them is vugu framework) . Microservices (some frameworks: Go Micro, Go Kit, Gizmo, Kite) . Fragments services (Term mentioned by @jeffotoni in a microservices discussion group) . Lambdas (FaaS example) . Client Server . Terminal applications (using the tview lib) . IoT (some frameworks) . Bots (some here) . Client Applications using Web technology . Desktop using Qt+QML, Native Win Lib (example Qt, Qt widgets, Qml) . Network Applications . Protocol applications . REST Applications . SOAP Applications . GraphQL Applications . RPC Applications . TCP Applications . gRPC Applications . WebSocket Applications . GopherJS (compiles Go to JavaScript)
-
Recommendations on building a simple DSL REPL?
The jist of what I did: The TUI lib I used was https://github.com/rivo/tview. While technically a TUI, it didn't look like one. Tui gave me components for user input, context-aware output formatting, and configurable hotkeys and command shortcuts. History was just an in-memory string map bound to a hotkey.
-
Help to find a terminal library
tview is built on top of the tcell library mentioned in another comment. I liked it so much that I forked it as cview.
-
Ramen has reached v0.2.0, the first production-ready version (in my opinion)
It's tview, the same framework underlying awesome k9s project.
- Equivalent to Pythons Rich?
-
WhatsApp in the terminal
A tui client for WhatsApp. My first ever go project!!! As a very slow learner I am really proud of how far I could bullshit my way through it. I used tview and whatsmeow for this.
-
Need a TUI with multiline text input or good interactive CLI-interface style support
After a user request cycle, however, the tview textarea widget is now in active development so stay tuned!
- Best Package for Go Interactive Shell
What are some alternatives?
gum - A tool for glamorous shell scripts 🎀
bubbletea - A powerful little TUI framework 🏗
termui - Golang terminal dashboard
lipgloss - Style definitions for nice terminal layouts 👄
gocui - Minimalist Go package aimed at creating Console User Interfaces.
portal - Portal is a quick and easy command-line file transfer utility from any computer to another.
go-prompt - Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.
pterm - ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
box-cli-maker - Make Highly Customized Boxes for CLI
tui-go