Show HN: Java TUI framework with sixel image support

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • jexer

    Java Text User Interface. This library implements a text-based windowing system loosely reminiscent of Borland's Turbo Vision system

  • 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.

        

  • notcurses

    blingful character graphics/TUI library. definitely not curses.

  • Alas, it is too late for me to delete this submission or edit/remove the initial comment. I did nuke it on /r/java though.

    Followup:

    * I've locked my Twitter account and blocked a lot of Java ecosystem "evangelism" people. RT'ing my 12-follower thread to your 20K account and gassing up total strangers to talk about how Jexer sucks compared to projects that started in 2021 and have some funding behind them is a dick move, dude.

    * If you like it, great. If you don't, great. If you report a bug that would be lovely, but I am not writing code for you, and I don't work in IT thankfully.

    * If it looks like crap on your terminal, that's your terminal's fault: open an issue with them. In 2018 when I first got this working, the only terminals that didn't outright crash with it were xterm, yaft, and RLogin. I've crashed just about every other sixel or iTerm2 terminal I've seen since then (mine included). Most of them fixed it; some of them -- including the most popular terminal bar none for one particular platform -- have not. And that's totally fine, they don't write code for me either.

    * If you think the bland look is bland, you're right. So go change it, I javadoc'd everything. Are you a coder or not?

    * If you want a better "console" for your Docker/Kubernetes/BizCloudAzureWhatever application, why are you talking to me? Go write some code. Don't blame your language: you can have total control of the terminal in anything that can do I/O to stdin/stdout and spawn "stty -ignbrk -brkint -parmrk -istrip -inlcr -igncr -icrnl -ixon -opost -echo -echonl -icanon -isig -iexten -parenb cs8 min 1 < /dev/tty". (But do also spawn "stty sane cooked < /dev/tty" on your way out.)

    Anyone wanting to code pretty things for the terminal is strongly advised to check out notcurses: https://github.com/dankamongmen/notcurses . Nick is brilliant and awesome. It's in C, and very fast.

    Goodbye, Hacker News.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts