mirror of
https://github.com/anas-elgarhy/JColorfulConsole.git
synced 2024-08-14 23:57:19 +00:00
A library that helps you to print colored and styled text in the Java console 🖌🖌🖌️
.github/workflows | ||
.idea | ||
.m2 | ||
Screenshots | ||
src/main/java | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
LICENSE.txt | ||
pom.xml | ||
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