awesome-tuis
contour
awesome-tuis | contour | |
---|---|---|
25 | 20 | |
6,409 | 2,233 | |
- | 2.3% | |
8.5 | 9.7 | |
13 days ago | 2 days ago | |
C++ | ||
- | 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.
awesome-tuis
- List of projects that provide terminal user interfaces
-
Contour: Modern and Fast Terminal Emulator
> Editing multiline inputs is awful.
Outside of "line at a time" i/o (a rarely used mode where an entire line is edited locally and then sent to the host), most of what users see is as interactive is controlled by the program you are interacting with. The terminal just takes commands from the host and does what it is told. BTW, line at a time mode isn't used that much. The only thing I use that uses line at a time mode is telenet in LINEMODE.
> Navigating history is so-so
Yes, that is because the program you are likely interacting with where history is relevant implements it's own repl or command line (i.e. bash, zsh, python, etc...) and it is responsible for it's own history and may implement it completely differently than say, bash or zsh.
> Why are terminals always stuck in the 70s? Can I get a modern terminal?
We do have a modern terminal: the web browser... and it's pretty nice.
There have been a ton of tries at more modern terminals, but ultimately, they end up really being limited by the software running in the terminal session. In the 90s we had a ton of commercial terminal emulators that would allow you to create full guis, complete with dialogs and forms. In the 00's there were a few tries at terminals that would allow html output and embedding of html forms for input (can't remember the names of them). I suppose there's also the whole X11 thing... which is so good enough that it's really hard to kill.
Let's get back to character mode:
A lot of interactive terminal software is built using different libraries - so sometimes you get a terminal gui based on ncurses, terminal.gui, or something else... here's a list: https://github.com/rothgar/awesome-tuis#libraries. Most of these libraries try to use most of the features in your terminal emulator, but often, just use stuff that is in everything.
For command line programs (i.e. just type a command), a lot of the experience is dictated by the parser used by the tool and whatever the underlying operating system has for passing arguments. Some shells and terminal emulators (like iTerm2 on mac) try to smooth this out, but again, there's a lot of variety in command line parsers.
Probably the biggest modern improvement in the shell world was gettext and various command-line completion libraries which allows command parameter completion if the developer supports it or uses a parser that supports completion. But none of this is the terminal itself doing the work.
-
DIY nas,suggestions for how to have an OLED screen like qnap showing space available, current IP,etc
Haven't done much in grafana but probably use that to constantly output to a small display. Depending on if you want to install a display server... Seems like there are lots of options, maybe grafterm is what you're looking for: https://github.com/rothgar/awesome-tuis
-
What can you do in a terminal?
Check out this list of great TUI projects if you really want to see what terminal only is capable of.
-
I wrote a TUI snake game in BASH v5.1+
This looks really cool! Would you mind PRing it to my awesome TUIs list? https://github.com/rothgar/awesome-tuis
-
Awesome CLI & TUI Applications Directory site
See also: https://github.com/rothgar/awesome-tuis
-
Are there any TUI apps you recommend outside of ncdu / nnn / htop / vim / bat / fd / tig / duf?
Here's a good list
-
What's the most beautifully designed TUI-app you've used?
Have a browse at the awesome-tui list and in the reddit search bar: this question is asked quite often and there are already plenty of answers :)
-
[Possibly OT] Is there a list of command-line versions of any Unix/Linux GUI applications?
https://github.com/toolleeo/cli-apps and https://github.com/rothgar/awesome-tuis? Though it doesn't mention a specific GUI apps (eg, Lynx is under either Web Browser or Web on those lists), and it's just lists, no actual comparison or review etc. I usually found AlternativeTo to be somewhat decent start to see what features and alternatives I can expect across platform.
-
arrows in C
For instance, for terminal input you may want to have a look at https://github.com/rothgar/awesome-tuis, where you will find many terminal user interface libraries (and other examples). I would suggest imtui and fxtui from the libraries section. You may also want to use classic ncurses, as others have suggested.
contour
-
Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
Another problem is that the cursor moves while the screen is buffer is being rendered. The location is only really known once the cursor settles in the same place for some time, which is unacceptable in terms of latency.
The synchronized output extension could be used to do this, though. https://github.com/contour-terminal/contour/blob/master/docs...
- FLaNK Stack Weekly 16 October 2023
-
Contour: Modern and Fast Terminal Emulator
https://github.com/contour-terminal/contour/issues/382
This apparently does not support the Kitty graphics protocol, just Sixel, which makes it look fairly unattractive to me, personally.
-
Terminal emulators that break from the traditional rendering approach?
contour - https://github.com/contour-terminal/contour. https://github.com/contour-terminal/contour/issues/100 and other modern unicode focused attempts to update the terminal world
- Contour Terminal – A Modern and Cross-Platform C++ Terminal Emulator
-
Name a program that doesn't get enough love!
contour : a terminal application
-
Is there a way to make Dolphin use a terminal app other than Konsole?
https://github.com/contour-terminal/contour Contour has a implementation for this. See this release: https://github.com/contour-terminal/contour/releases/tag/v0.3.6.240
-
Speeding up incremental Rust compilation with dylibs - Robert Krahn
Now that I'm well rested I decided to compile some similar terminal emulators with clang++ and rustc to see how big of a gap we're looking at. For the C++ terminal emulator I compiled contour with ~80k lines of C++ and over 200k lines when accounting for dependencies (not including dynamically linked dependencies), and then I'm using alacritty with ~35k lines of Rust and over 2 million (!) lines for the whole dependency tree when vendoring all dependencies. Because Rust tries to make most software cross platform with conditional compilation and many of these aren't Linux specific libraries I'm gonna assume it's compiling half or two thirds of the lines of dependencies for this experiment with the C++ compiling probably 3/4ths of the dependency tree considering I'm not on windows.
-
What terminal emulator do you use?
I have my eyes on this though.
What are some alternatives?
notcurses - blingful character graphics/TUI library. definitely not curses.
kitty - Cross-platform, fast, feature-rich, GPU based terminal
TerminusBrowser - CLI Reddit, Hacker News, 4chan, and lainchan browser
harfbuzz - HarfBuzz text shaping engine
imtui - ImTui: Immediate Mode Text-based User Interface C++ Library
terminal-unicode-core - Unicode Core specification for Terminal (grapheme clusters, character widths, ...)
sfm - simple file manager
nchat - Terminal-based Telegram / WhatsApp client for Linux and macOS
spectre.console - A .NET library that makes it easier to create beautiful console applications.
iTerm2 - iTerm2 is a terminal emulator for Mac OS X that does amazing things.
btop4win - btop++ for windows
terminalpp - A C++ library for interacting with ANSI terminal windows.