termbox
textual
termbox | textual | |
---|---|---|
8 | 149 | |
1,941 | 23,543 | |
- | 1.2% | |
0.0 | 9.9 | |
over 3 years ago | 3 days ago | |
C | Python | |
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.
termbox
-
Writing TUI with Ratatouille
Most answers were a code-golf style with writing the full functionality in least number of lines of code. I took a different approach. Since some time already I wanted to try out Ratatouille - an Elixir toolkit for writing TUI (Terminal UI), based on termbox.
-
I looking for a TUI liberary/framework with good aesthetics.
If you want to go lower-level, then I would recommend against ncurses, and instead start with notcurses or termbox. termbox has lots of language bindings, but the author is no longer maintaining it. Still, not a bad place to start from. If you do decide to get into ncurses, this doc can get you over some of the humps with keyboard/screen/mouse.
-
termbox VS FINAL CUT - a user suggested alternative
2 projects | 30 Dec 2021
-
S-Lang alternatives - FINAL CUT and termbox
3 projects | 30 Dec 2021
-
ncurses alternatives - S-Lang, termbox, and rang
4 projects | 30 Dec 2021
-
notty alternatives - S-Lang and termbox
3 projects | 30 Dec 2021
-
newt alternatives - S-Lang, termbox, and Lanterna
4 projects | 30 Dec 2021
-
How to embed advanced links in terminal?
Alternatively, there's termbox: https://github.com/nsf/termbox (minimalistic). Or prompt_toolkit: https://github.com/prompt-toolkit/python-prompt-toolkit (huge).
textual
- Harlequin: SQL IDE for Your Terminal
-
Should you add screenshots to documentation?
The Textual project has a lot of screenshots in its documentation. These screenshots are built with the docs, so they are always up to date.
https://textual.textualize.io/
-
PysimpleGUI
Textual[0] does this for CLI apps. That’s not for full GUI apps, but it’s very DOM-like, uses CSS selectors, etc. and a cool option when it meets your needs.
[0] https://github.com/Textualize/textual
-
Using the Curses library on Windows - Terminal Display & Keys Input
For future projects that need a TUI beyond normal printing to a terminal, I'd recommend taking a look at Textual.
-
"<ESC>[31M"? ANSI Terminal security in 2023 and finding 10 CVEs
https://jupyterbook.org/en/stable/content/code-outputs.html#...
`less -R` is not the default.
FWIW, textual (and urwid) does ANSII escape codes well: https://github.com/Textualize/textual
touch file$'\n'name
-
logmerger - Text UI to view multiple log files with unified time scale
After installing logmerger, you can run a self-contained demo by running logmerger --demo, to view two log files before and after they are merged, and to play with the user-interface features provided by textual.
-
Ask HN: Why Did Python Win?
I think it just survived naturally, filling in the cracks left by Java / C++.
And not the era of Textual (https://textual.textualize.io/) is here, python may get the spotlight even more.
- FLaNK Stack Weekly for 21 August 2023
- Textual: Rapid Application Development Framework for Python
What are some alternatives?
Ncurses - ncurses Git mirror
pytermgui - Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
args - A simple header-only C++ argument parser library. Supposed to be flexible and powerful, and attempts to be compatible with the functionality of the Python standard argparse library (though not necessarily the API).
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
docopt.cpp - C++11 port of docopt
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
gflags - The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used. Online documentation available at:
urwid - Console user interface library for Python (official repo)
rang - A Minimal, Header only Modern c++ library for terminal goodies 💄✨
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
jarro2783/cxxopts - Lightweight C++ command line option parser
npyscreen - Automatically exported from code.google.com/p/npyscreen