jexer
picocli
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.
jexer
-
Qubes Tricks
Very interesting! I was thinking literally yesterday about a TUI/GUI Qubes type concept, maybe also applicable for industrial type data diodes.
-
I made a tool to generate ANSI escape codes, so you can easily add colors to your scripts.
I did something like that once. Is your project online somewhere? I'm always curious what else is going on. :)
-
Jexer 1.6.0 release - Java advanced TUI framework
When I transliterated from D to Java around 2015, Java wasn't quite the "uninteresting" language it is perceived to be today. But all along I had hoped others might pick up some tricks, and put some notes on porting it here. Yet Java's been a pretty solid workhorse for me, and having the Swing GUI to test on was a godsend actually once I got into images.
-
Show HN: Java TUI framework with sixel image support
If you code in Java, and like TUI (console type applications), then you might enjoy Jexer: https://gitlab.com/klamonte/jexer
I started Jexer in 2013, and off-and-on it's gotten better. I think my favorite part has been crossing paths with other terminal emulator ecosystem folks over the last few years. This release brings a few prettified effects inspired by other projects that you are all hopefully quite familiar with (notcurses, chafa, and vtm):
* Translucent windows, including images under/over each other and text.
* Animated/pulsing text
* Animated gifs
* A new XtermVideoPlayer example that uses ffmpeg/JavaCV to play movies inside a text-draggable window. (No audio though.)
* New button styles: round, diamond, left/right arrows. The button ends and shadows are drawn with images so specific font support is not required.
* A _much_ faster and _much_ higher quality sixel encoder.
* Different window border styles: single, double, none, and rounded corners.
* A femme theme option.
Some screenshots are posted here: https://twitter.com/AutumnMeowMeow/status/148922891703050240...
It's on maven and Sourceforge.
-
Released 1.6 of my hobby project - advanced TUI framework
If you code in Java, and like TUI (console type applications), and enjoy transfemme in-jokes, then you might also enjoy jexer.
-
So did y'all know that SyncTERM 1.1 has sixel support? That's so cool!
A path that started in the BBS era and is currently bringing DOOM to Xterm. And ironically, there is much better support for this now than there ever was for RIPscript.
-
I'm working on a commandline app that plays videos, any feedback is welcome
Story time: when I first posted Jexer to Reddit, people were all "twin does that". No, it does not. twin does not pass vttest. twin has almost no widgets. twin does not support images at all, it does not multiplex images, it does not multihead images, and it does not play videos (a bit too slowly but still) in a text draggable/resizable window that could be part of a larger system. mpv/mplayer doesn't do those things either. In fact, the only two projects I know of that can do these kinds of tricks are Jexer and notcurses. (And notcurses is hella faster and great, and I would have used it in 2013 when I started Jexer, but it didn't exist then.)
-
Terminal Technical Resources
One way to do translucent windows. - Inspired by notcurses
-
Why are kitty and alacritty so popular? Where's the foot love?
foot is great, dnkl is great. It's so far the fastest sixel-supporting terminal I've got to test XtermDOOM on. (I run iTerm2-based images against wezterm.)
-
Display images in the terminal
It parses them, but then reduces to the 8/16 ANSI colors. Which makes translucent TUI windows not work. :(
picocli
-
GraalVM for JDK 21 is here
Picocli allows using a compiler annotation processor to generate classes at compile time instead [0].
[0]: https://github.com/remkop/picocli/blob/main/picocli-codegen/...
-
Any library you would like to recommend to others as it helps you a lot? For me, mapstruct is one of them. Hopefully I would hear some other nice libraries I never try.
Picocli is a pretty good one for writing CLI apps
-
“Why I develop on Windows”
"and there are simply no good command line input parsing libraries for Java."
Looks like author missed the most obvious and popular OSS one: https://picocli.info/
-
Java 20 / JDK 20: General Availability
The command line example gave me the "ick". It is usually preferrable to parse the command line arguments into one instance of a custom "command class", rather than into a list of things. Like jcommander, picocli or jbock do.
-
any opinion good or bed about a code that smells?
Complex argument parsing needs to be auto-generated by libraries like picocli. Even if you need something custom, it'd be quicker to write an Annotation processor from scratch than editing that file.
-
Owl: A toolkit for writing command-line user interfaces in Elixir
https://github.com/remkop/picocli
"Picocli-based applications can be ahead-of-time compiled to a GraalVM native image, with extremely fast startup time and lower memory requirements, which can be distributed as a single executable file."
https://picocli.info/quick-guide.html
-
Building a Java CLI. How can I make it more powershell-friendly
Using picocli to handle your command line options gives you the best chance to automatically generate an ArgumentCompleter script in the future, but won't help you today (other than possibly making your command line handling more standardized & easier).
-
must known frameworks/libs/tech, every senior java developer must know(?)
Picocli
-
🔍 Validate New-Caledonia Phone Numbers from cli ⌨️
Then we released a JBang! and picocli based cli that would be, on any OS running a jvm runtime :
-
📲 Inspired by Twilio we started to build our own (pico)cli to send sms
picocli : "a mighty tiny command line interface"
What are some alternatives?
xterm.js - A terminal for the web
Spring Shell 3 - Spring based shell
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
JCommander - Command line parsing framework for Java
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.
args4j - args4j
notcurses - blingful character graphics/TUI library. definitely not curses.
Airline - Java annotation-based framework for parsing Git like command line structures
TermOx - C++17 Terminal User Interface(TUI) Library.
JLine - JLine is a Java library for handling console input.
nushell - A new type of shell
JewelCLI - JewelCli uses an annotated interface definition to automatically parse and present command line arguments