textual
bubbletea
Our great sponsors
textual | bubbletea | |
---|---|---|
127 | 109 | |
19,489 | 18,441 | |
3.1% | 2.9% | |
10.0 | 6.6 | |
7 days ago | 6 days ago | |
Python | 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.
textual
-
How to format output for a stand-alone display screen? Larger numbers, colors, redrawing the screen from the top left instead of printing a new line every time?
If you are looking for something more flexible that just printing to a terminal, take a look at Asciimatics and textual. Both are available from Pypi.
-
Ratatui: Build rich terminal user interfaces
As someone that use both Python and Rust, it's hard to motivate myself to write TUI in Rust, because with Python we have the amazing textual.
- BFS for shortest path
-
Show HN: Trogon – An automatic TUI for command line apps
I would also[0] be interested in an argparse equivalent of this for my tool Library[1]
-
coBib 4.0: a modern UI using Textualize libraries
Today I released coBib 4.0, my console bibliography manager written in Python, which now uses rich and textual to provide a cohesive and modern user experience in both its CLI and TUI.
-
After tearing my hair out writing JavaScript the last few days how close are we to Python in the browser?
I don't think it is exactly what you're looking for, but Textual will be supporting something close to what I think you're after, soon. https://github.com/Textualize/textual
-
Ink: React for interactive command-line apps
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
-
Tried Textual to build a simple TUI - Skylab (a tool to track upcoming space launches)
I guess you looked at it a while ago because the docs are quite detailed with lots of examples.
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
A beautiful TUI periodic table for GNU/Linux terminals (ptable) in C
Concerning your roadmap, you might wanna take some inspiration from Textual, it's a really mordern approach to TUIs. I understand that the level of abstraction is high and might be tasking to implement many of the ideas in there in C... and please fgs, don't think about doing the CSS shit.
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
For Golang there is Bubbletea [1], Textual [2] for Python and tui-rs for Rust [3].
[1] https://github.com/charmbracelet/bubbletea
-
Show HN: Frogmouth – A Markdown browser for your terminal
The closest thing in Go I know about is bubbletea:
-
Which packages do you recommend for building cli tools?
Don't forget https://github.com/charmbracelet/bubbletea and the rest of the https://charm.sh suite!
-
How difficult is ncurses?
There are plenty of terminal UI libraries that are actually nice to work with. For Python, there's Textual and PyTermGUI. For Rust, there's ratatui and Cursive (or, if you want something a bit lower level, crosster or termion). For Go, there's bubbletea.
-
This may help you in learning terminal usage or programming in general
More seriously, I mostly needed a motivation to learn how to make TUIs in Golang (I used charmbracelet/bubbletea for this and this fantastic) and I realized that I was using my app to write itself !
- Create multi-line loading bars?
-
Golang GUI
My favorite "GUI" is by far: https://github.com/charmbracelet/bubbletea but obviously CLI is not for everyone.
-
Go GUI vs. Browser
In that case there is the defacto TUI library Bubble Tea. Or try "ssh git.charm.sh" for a hosted demo of a git repository server. To be honest I've never used it with PowerShell but should work
What are some alternatives?
Rich Interactive Widgets for Terminal UIs - Terminal UI library with rich, interactive widgets — written in Golang
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
tcell - Tcell is an alternate terminal package, similar in some ways to termbox, but better in others.
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
urwid - Console user interface library for Python (official repo)
termdash - Terminal based dashboard.
npyscreen - Automatically exported from code.google.com/p/npyscreen
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.
picotui - Lightweight, pure-Python Text User Interface (TUI) widget toolkit with minimal dependencies. Dedicated to the Pycopy project.