cmd
bubbletea
Our great sponsors
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.
cmd
-
Recommendations on building a simple DSL REPL?
I wrote this a long time ago https://github.com/gobs/cmd as Go implementation of "python cmd", for uses similar to what you describe.
-
Python library cmd2 equivalent in golang
The example here https://github.com/gobs/cmd/blob/master/example/main.go is pretty complete (but it doesn't really do anything).
-
Is there a package to create a bash-like command-line interpreter in Go?
I also have my implementation inspired by Python cmd, that I use for a bunch of my tools: https://github.com/gobs/cmd
bubbletea
- Harlequin: SQL IDE for Your Terminal
-
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
-
Built a TUI app to find anime scenes by image
I built a TUI app to find anime scenes by image to learn the TUI framework [Bubbletea](https://github.com/charmbracelet/bubbletea)
-
Lazydocker
TUI’s are awesome; I’ve used this library to build them in the past: https://github.com/charmbracelet/bubbletea
For a sufficiently-complex system, a CLI client just isn’t as powerful as a live “console”. A TUI can play the part and you don’t have to venture into the web SPA world.
- Separated input/output windows.
-
New to go, suggestions for non-web projects.
If you want to build terminal app, I highly recommend the bubbletea library: https://github.com/charmbracelet/bubbletea
- [Python] Bibliothèque CLI UI similaire à Bubbletea
-
snips.sh: passwordless, anonymous SSH-powered pastebin
You can view your snippets in a human-friendly web UI that syntax-highlights the code and even renders markdown. In addition to the Web UI, the TUI (powered by bubbletea) has a file browser, code viewer and attribute editor.
-
Ink: React for interactive command-line apps
A sibling comment points at https://github.com/charmbracelet/bubbletea as a Go alternative with a similar architecture
-
Show HN: Frogmouth – A Markdown browser for your terminal
The closest thing in Go I know about is bubbletea:
https://github.com/charmbracelet/bubbletea
What are some alternatives?
kong - Kong is a command-line parser for Go
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
kubectl - Issue tracker and mirror of kubectl code
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.
httpclient - More flexible http client library for Go
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
dynago - DynamoDB client for Go
termui - Golang terminal dashboard
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
cobra - A Commander for modern Go CLI interactions