FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TECHOUS/rainbow: Best Java Library to create colorful User Interfaces for Linux Terminals. · GitHub

Latest commit

 

History

51 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Best Java library to create colorful User Interfaces for Linux terminals.

Rainbow is the best library to create colorful User Interfaces for Linux Terminals.

  • Simple and Easy to use: Rainbow is very simple and easy to use. You don't have to learn anything for using this library except java and terminal.

  • Declare once, use anytime: You have to declare a rainbow instance only once and then you can use any where in your project.

  • No need to learn hexadecimal color codes: For using rainbow you don't have to learn or find the color codes which you need for your project.

  • Minified Library: Rainbow has very less size as compared to other java libraries. Rainbow core is very small that's why it has only.

Projects using Rainbow

Supported OS

  • Linux (all distributions)
  • Mac

Supported Languages

Installation

Rainbow has three methods from which you can use in your project.

For detailed installation guidelines according to your IDE read installation instructions here.

Examples

Here is the example which shows usage of rainbow library of java. For more read more tutorials here. For running this project read our documentation for getting started.

import org.techous.rainbow.*;

public class Main{
    public static void main(String[] args) {
        Rainbow rain = new Rainbow();
        System.out.println();
        System.out.println(rain.getFormatColorString("bold","y"," *****      *      *****  *    *  ****    ***   *   * ", true));
        System.out.println(rain.getFormatColorString("bold","y"," *   *     * *       *    **   *  *   *  *   *  *   * ", true));
        System.out.println(rain.getFormatColorString("bold","y"," *****    *****      *    * *  *  ****   *   *  * * * ", true));
        System.out.println(rain.getFormatColorString("bold","y"," *  *    *     *     *    *  * *  *   *  *   *  ** ** ", true));
        System.out.println(rain.getFormatColorString("bold","y"," *   *  *       *  *****  *   **  ****    ***   *   * ", true));
        System.out.println();
    }
}

Try on Rainbow PlayGround

Here is the output of the program when you run the sample code.

Documentation

For documentation take look at our here.

Contributing to rainbow

For contributing read our contribution guidelines here.

LICENSE

rainbow uses

Copyright ©️ 2020 TechOUs

About

Best Java Library to create colorful User Interfaces for Linux Terminals.

Topics

Resources

Code of conduct

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL