A library that helps you to print colored and styled text in the Java console 🖌🖌🖌️
Go to file
Anas Elgarhy fb8ba71e67 Change license MIT -> GPTv3 2022-06-16 05:09:53 +02:00
.github/workflows Delete on push event 2022-06-16 05:07:52 +02:00
.idea Change all code 🙂 2022-06-15 19:24:40 +02:00
.m2 fix 2022-03-25 20:45:03 +02:00
Screenshots Add screenshots 2022-03-25 17:15:31 +02:00
src/main/java Add docs 2022-06-15 20:20:37 +02:00
.gitignore Add .m2/settings.xml 2022-03-25 20:40:56 +02:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2022-03-25 01:45:55 +02:00
LICENSE.txt Change license MIT -> GPTv3 2022-06-16 05:09:53 +02:00
README.md Add docs 2022-06-15 20:20:37 +02:00
pom.xml Change all code 🙂 2022-06-15 19:24:40 +02:00

README.md

JColorfulConsole

JColorfulConsole is a console color library.

Features:

  • Support text color.
  • Support background color.
  • Support 256 colors (RGB).
  • Support ANSI colors.
  • Support indexed colors.
  • Support text style.
  • Lightweight and fast.
  • Easy to use.

How to add this library into your project

Step 1. Add the dependency

<dependency>
    <groupId>com.anas.jcolorfulconsole</groupId>
    <artifactId>jcolorfulconsole</artifactId>
    <version>0.1.5</version>
</dependency>

Gradle:

Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.Anas-Elgarhy:JColorfulConsole:0.1.5'
	}

Usage:

Requirements for development:

  • Maven
  • jdk 17
  • IntelliJ IDEA (not required but recommended)

TODO

  • Add Tests
  • Add Formatter
  • Add Documentation
  • Add more examples

Available in

GitHub GitLab BitBucket Codeberg

Quality gate

SonarCloud

License: GPL-3.0