awesome-tuis
brick
Our great sponsors
awesome-tuis | brick | |
---|---|---|
25 | 9 | |
6,379 | 1,565 | |
- | - | |
8.5 | 8.0 | |
7 days ago | about 1 month ago | |
Haskell | ||
- | GNU General Public License v3.0 or later |
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.
brick
-
Show HN: Text Lambda, a versatile notebook for your personal data
Thank you!
"stash", the initial MVP version, is written in Haskell. I chose Haskell mostly because of https://github.com/jtdaugherty/brick, which is a wonderful TUI library. I also tend to prefer functional programming languages when I have the choice.
However, Text 's backend and website are currently implemented in Clojure. The app is in C + Flutter (Dart).
-
brick-tabular-list has been improved infinitely.
Brick? Hadn’t heard of it so leaving for myself and others
- Brick: A declarative Unix terminal UI library written in Haskell
-
How can I move from a basic hello world/number program to something more substantial?
Brick is a great library for terminal applications. I’d say start with the examples or take a look at some tutorials that use it, then just go at it.
-
A simple tui to launch gzdoom mods
Thanks. Yeah I was surprised myself at how much of a capable tool whiptail turned out to be. Especially since I'd heard it has issues with returning values, or not being as capable as dialog. I was actually in the midst of choosing between it, Haskell's brick, or python's PromptToolkit, yet settled on whiptail to see how far a bash approach could take me.
-
wordle - Wordle clone in the terminal
Written in Haskell with brick.
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
A declarative Unix terminal UI programming library written in Haskell (by jtdaugherty)
-
Writing Programs with Ncurses
There is brick[1][2] for Haskell. Other languages may have something similar.
[1] https://hackage.haskell.org/package/brick
[2] https://github.com/jtdaugherty/brick/blob/master/docs/samtay...
-
If you could change one thing about Emacs what would it be?
In that vein, a declarative way to build (Text) UI like html+css. Or something along the lines of what Brick is for terminals.
What are some alternatives?
notcurses - blingful character graphics/TUI library. definitely not curses.
TuiCss - Text-based user interface CSS library
TerminusBrowser - CLI Reddit, Hacker News, 4chan, and lainchan browser
reanimate - Haskell library for building declarative animations based on SVG graphics
imtui - ImTui: Immediate Mode Text-based User Interface C++ Library
implicit - A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
sfm - simple file manager
gloss - Painless 2D vector graphics, animations and simulations.
spectre.console - A .NET library that makes it easier to create beautiful console applications.
plot-light - A lightweight plotting library, exporting to SVG
btop4win - btop++ for windows
Rasterific - A drawing engine in Haskell