bubbletea
tcell
Our great sponsors
bubbletea | tcell | |
---|---|---|
115 | 18 | |
23,738 | 4,357 | |
4.1% | - | |
8.8 | 8.8 | |
6 days ago | 3 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
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:
tcell
-
go playground code doesn't work locally?
https://github.com/gdamore/tcell s, err := tcell.NewScreen() // Clear screen s.Clear()
-
Help to find a terminal library
I have used https://github.com/gdamore/tcell/ for github.com/raff/gio-games/arrows (look at game_term.go that is the terminal version, alternative to the gio/graphical version)
-
Problem Installing Go Modules
Hi im using linux (distro: Fedora 37) and I dont i have problems with installing go modules. When i run the commands in terminal (bash) "go install github.com/gdamore/tcell/v2" it gives me this error: "go: 'go install' requires a version when current directory is not in a module Try 'go install github.com/gdamore/tcell/v2@latest' to install the latest version" So when I run the command: "go install github.com/gdamore/tcell/vs@latest" I get this error: "package github.com/gdamore/tcell/v2 is not a main package". Please someone help.
-
How to Create Console Screen Buffer in go?
Hi guys, I have fixed the problem. The problem was as stated: remove terminal behavior like when a key is pressed and held it does not work as needed. For example if I want to move character when user press key the player (character) will move one step then stops then move fast like text curser. The solution is not by using [Console Screen Buffer] the Tcell is enough, But the problem is caused by the way the input is read from the user as u/pekim says in comments it is a "Typical behaviour in most environments (not just Windows)". So to fix this you need to use windows API (w32) and read key using GetAsyncKeyState() that will fix the problem.
-
Need a TUI with multiline text input or good interactive CLI-interface style support
There's quite a variety of tui libraries in Go with all kinds of different tradeoffs. Likely you won't find one that does just exactly what you want (paren matching support seems particularly unlikely out of the box, dunno if you'll find something you can plug in). tview and the underlying, lower-level tcell may be useful. I see termbox mentioned a lot here though that looks more like a toolbox for building such things than a solution itself.
-
Which Go frameworks are recommended to assist with the creation of console based UI and GUI?
There's also tcell
-
TUIs
How about some libraries that help with building TUIs?
I'll start with https://github.com/gdamore/tcell
-
Monotty Desktopio - Text-based desktop environment inside your terminal
(notcurses is the first in C, and currently best globally. The first in Rust might be tui-rs. The first in Go might be tcell.)
-
tcell VS FINAL CUT - a user suggested alternative
2 projects | 1 Jan 2022
-
Snake game implementation.
a Snake Game implication in Go using 2d array. https://github.com/twiny/snaky it runs on terminal window using github.com/gdamore/tcell/v2/termbox to render Snake movement.
What are some alternatives?
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang
termbox-go - Pure Go termbox implementation
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.
notcurses - blingful character graphics/TUI library. definitely not curses.
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
termui - Golang terminal dashboard
gocui - Minimalist Go package aimed at creating Console User Interfaces.
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
tui-go