GithubHelp home page GithubHelp logo

ps2412 / rainbow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from techous/rainbow

0.0 0.0 0.0 1.32 MB

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

Home Page: https://techous.github.io/rainbow/

License: MIT License

Java 100.00%

rainbow's Introduction

rainbow logo

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

GitHub tag (latest by date) GitHub repo size GitHub issues GitHub pull requests GitHub forks GitHub stars

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 GitHub code size in bytes only.

Projects using Rainbow

Supported OS

  • Linux (all distributions)
  • Mac

Supported Languages

GitHub top language

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.

rainbow image

Documentation

For documentation take look at our Website here.

Contributing to rainbow GitHub contributors

For contributing read our contribution guidelines here.

LICENSE

rainbow uses GitHub

Copyright Šī¸ 2020 TechOUs

rainbow's People

Contributors

gauravwalia19 avatar ps2412 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.