Text-IO
A library for creating interactive console applications in Java (by beryx)
Jansi
Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows. (by fusesource)
Text-IO | Jansi | |
---|---|---|
2 | 4 | |
332 | 1,086 | |
1.5% | 0.2% | |
0.0 | 6.7 | |
6 months ago | about 1 month ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
Text-IO
Posts with mentions or reviews of Text-IO.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-21.
-
Looking for Kotlin Console UI libraries that work in IDE Terminal
I'm currently using Picnic and Mordant which are working nicely. I've tried out Kotter and Text-IO, but they either open a Swing terminal or require you to run a `.bat` script or something.
-
run code in cmd
Alternatively, if you want to do something overkill, you could just refactor the program to make it open a GUI-based terminal instead (such as this: https://github.com/beryx/text-io)
Jansi
Posts with mentions or reviews of Jansi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-07.
- Colorize Java
-
Library like Python Rich
jansi https://github.com/fusesource/jansi Allows you to use ANSI escape colorization/handling Probably insufficient for your use case though.
-
How do I color the output in Windows CMD / console?
In my posting I forgot to add this link here https://github.com/fusesource/jansi (it's not inserted), where import org.fusesource.jansi.AnsiConsole; and AnsiConsole.systemInstall(); are mentioned. Because of this, I think it is possible, but I don't understand how to use it.
-
Introducing Konsole: A Kotlin-idiomatic library for writing dynamic command line applications
There is Jansi, but code like System.out.println(ansi().eraseScreen().fg(RED).a("Hello").fg(GREEN).a(" World").reset()); looked error prone and didn't look fun to write.
What are some alternatives?
When comparing Text-IO and Jansi you can also consider the following projects:
jbock - Reflectionless command line parser
ASCII Table - Several implementations of a text table, originally using ASCII and UTF-8 characters for borders.
Java ASCII Render - ASCII renderer in pure java with no external dependencies
progressbar - Terminal-based progress bar for Java / JVM
kotter - A declarative, Kotlin-idiomatic API for writing dynamic console applications.
picnic - A Kotlin DSL and Java/Kotlin builder API for constructing HTML-like tables which can be rendered to text
mosaic - An experimental tool for building console UI in Kotlin using the Jetpack Compose compiler/runtime