{"id":21488636,"url":"https://github.com/yihleego/banana","last_synced_at":"2025-07-15T16:30:59.048Z","repository":{"id":54486543,"uuid":"149918910","full_name":"yihleego/banana","owner":"yihleego","description":"🍌 A FIGlet utility for Java that generates text banners, in a variety of typefaces, composed of letters made up of conglomerations of smaller ASCII characters.","archived":false,"fork":false,"pushed_at":"2024-02-06T09:58:34.000Z","size":1422,"stargazers_count":38,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-14T15:53:24.277Z","etag":null,"topics":["ansi","ascii-art","banner","figlet","figlet-utility","java","smaller-ascii-characters"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yihleego.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-22T21:00:45.000Z","updated_at":"2025-06-26T14:39:26.000Z","dependencies_parsed_at":"2022-08-13T17:30:45.351Z","dependency_job_id":null,"html_url":"https://github.com/yihleego/banana","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/yihleego/banana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihleego%2Fbanana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihleego%2Fbanana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihleego%2Fbanana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihleego%2Fbanana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yihleego","download_url":"https://codeload.github.com/yihleego/banana/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yihleego%2Fbanana/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265445302,"owners_count":23766445,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansi","ascii-art","banner","figlet","figlet-utility","java","smaller-ascii-characters"],"created_at":"2024-11-23T14:10:33.897Z","updated_at":"2025-07-15T16:30:58.571Z","avatar_url":"https://github.com/yihleego.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Banana\n\nA FIGlet utility for Java.\n\n## What is FIGlet\n\n[FIGlet](https://en.wikipedia.org/wiki/FIGlet) is a computer program that generates text banners, in a variety of typefaces, composed of letters made up of conglomerations of smaller ASCII characters (see [ASCII art](https://en.wikipedia.org/wiki/ASCII_art)).\nThe name derives from \"Frank, Ian and Glenn's letters\".\n\nBeing free software, FIGlet is commonly included as part of many Unix-like operating systems (Linux, BSD, etc.) distributions, but it has been ported to other platforms as well.\nThe official FIGlet FTP site includes precompiled ports for the Acorn, Amiga, Apple II, Atari ST, BeOS, Macintosh, MS-DOS, NeXTSTEP, OS/2, and Windows platforms, as well as a reimplementation in Perl (Text::FIGlet).\nThere are third-party reimplementations of FIGlet in Java (including one embedded in the JavE ASCII art editor), JavaScript, PHP and Python. FIGlet was featured as a Debian Package of the Day in 2007.\n\n## Dependency\n\n### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.leego\u003c/groupId\u003e\n    \u003cartifactId\u003ebanana\u003c/artifactId\u003e\n    \u003cversion\u003e2.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```xml\nimplementation 'io.leego:banana:2.1.0'\n```\n\n## Usage\n\n### Example\n\n```java\nBananaUtils.bananaify(\"Hello, Banana!\");\n```\n\n```\n  _   _      _ _          ____                                _ \n | | | | ___| | | ___    | __ )  __ _ _ __   __ _ _ __   __ _| |\n | |_| |/ _ \\ | |/ _ \\   |  _ \\ / _` | '_ \\ / _` | '_ \\ / _` | |\n |  _  |  __/ | | (_) |  | |_) | (_| | | | | (_| | | | | (_| |_|\n |_| |_|\\___|_|_|\\___( ) |____/ \\__,_|_| |_|\\__,_|_| |_|\\__,_(_)\n                     |/                                         \n```\n\n### Multiline\n\n```java\nString s = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\\n\"\n        + \"abcdefghijklmnopqrstuvwxyz\\n\"\n        + \"1234567890\" + \". : , ; ' \\\" \\\\ ( ! ? ) + - * / =\";\nBananaUtils.bananaify(s);\n```\n\n```\n     _    ____   ____ ____  _____ _____ ____ _   _ ___    _ _  ___     __  __ _   _  ___  ____   ___  ____  ____ _____ _   ___     ____        ____  ____   _______\n    / \\  | __ ) / ___|  _ \\| ____|  ___/ ___| | | |_ _|  | | |/ / |   |  \\/  | \\ | |/ _ \\|  _ \\ / _ \\|  _ \\/ ___|_   _| | | \\ \\   / /\\ \\      / /\\ \\/ /\\ \\ / /__  /\n   / _ \\ |  _ \\| |   | | | |  _| | |_ | |  _| |_| || |_  | | ' /| |   | |\\/| |  \\| | | | | |_) | | | | |_) \\___ \\ | | | | | |\\ \\ / /  \\ \\ /\\ / /  \\  /  \\ V /  / / \n  / ___ \\| |_) | |___| |_| | |___|  _|| |_| |  _  || | |_| | . \\| |___| |  | | |\\  | |_| |  __/| |_| |  _ \u003c ___) || | | |_| | \\ V /    \\ V  V /   /  \\   | |  / /_ \n /_/   \\_\\____/ \\____|____/|_____|_|   \\____|_| |_|___\\___/|_|\\_\\_____|_|  |_|_| \\_|\\___/|_|    \\__\\_\\_| \\_\\____/ |_|  \\___/   \\_/      \\_/\\_/   /_/\\_\\  |_| /____|\n   __ _| |__   ___ __| | ___ / _| __ _| |__ (_)(_) | _| |_ __ ___  _ __   ___  _ __   __ _ _ __ ___| |_ _   ___   ____      ____  ___   _ ____                     \n  / _` | '_ \\ / __/ _` |/ _ \\ |_ / _` | '_ \\| || | |/ / | '_ ` _ \\| '_ \\ / _ \\| '_ \\ / _` | '__/ __| __| | | \\ \\ / /\\ \\ /\\ / /\\ \\/ / | | |_  /                     \n | (_| | |_) | (_| (_| |  __/  _| (_| | | | | || |   \u003c| | | | | | | | | | (_) | |_) | (_| | |  \\__ \\ |_| |_| |\\ V /  \\ V  V /  \u003e  \u003c| |_| |/ /                      \n  \\__,_|_.__/ \\___\\__,_|\\___|_|  \\__, |_| |_|_|/ |_|\\_\\_|_| |_| |_|_| |_|\\___/| .__/ \\__, |_|  |___/\\__|\\__,_| \\_/    \\_/\\_/  /_/\\_\\\\__, /___|                     \n  _ ____  _____ _  _  ____   __ _|___/___  __|__/___                 _   _ _  |_|      _|_|_   ___  __                              |___/                          \n / |___ \\|___ /| || || ___| / /|___  ( _ )/ _ \\ / _ \\    _       _  ( ) ( | ) \\ \\     / / | | |__ \\ \\ \\     _            __/\\__    / /  _____                      \n | | __) | |_ \\| || ||___ \\| '_ \\ / // _ \\ (_) | | | |  (_)     (_) |/   V V   \\ \\   | |  | |   / /  | |  _| |_   _____  \\    /   / /  |_____|                     \n | |/ __/ ___) |__   _|__) | (_) / /| (_) \\__, | |_| |   _   _   _              \\ \\  | |  |_|  |_|   | | |_   _| |_____| /_  _\\  / /   |_____|                     \n |_|_____|____/   |_||____/ \\___/_/  \\___/  /_/ \\___(_) (_) ( ) ( )              \\_\\ | |  (_)  (_)   | |   |_|             \\/   /_/                                \n                                                            |/  |/                    \\_\\           /_/                                                            \n```\n\n### Fonts\n\nClick [here](docs/FONTS.md) to see more fonts.\n\n#### 3D-ASCII\n\n```java\nBananaUtils.bananaify(\"Hello, World!\", Font.THREE_D_ASCII);\n```\n\n```\n ___  ___  _______   ___       ___       ________                ___       __   ________  ________  ___       ________  ___       \n|\\  \\|\\  \\|\\  ___ \\ |\\  \\     |\\  \\     |\\   __  \\              |\\  \\     |\\  \\|\\   __  \\|\\   __  \\|\\  \\     |\\   ___ \\|\\  \\      \n\\ \\  \\\\\\  \\ \\   __/|\\ \\  \\    \\ \\  \\    \\ \\  \\|\\  \\             \\ \\  \\    \\ \\  \\ \\  \\|\\  \\ \\  \\|\\  \\ \\  \\    \\ \\  \\_|\\ \\ \\  \\     \n \\ \\   __  \\ \\  \\_|/_\\ \\  \\    \\ \\  \\    \\ \\  \\\\\\  \\  ___        \\ \\  \\  __\\ \\  \\ \\  \\\\\\  \\ \\   _  _\\ \\  \\    \\ \\  \\ \\\\ \\ \\  \\    \n  \\ \\  \\ \\  \\ \\  \\_|\\ \\ \\  \\____\\ \\  \\____\\ \\  \\\\\\  \\|\\  \\        \\ \\  \\|\\__\\_\\  \\ \\  \\\\\\  \\ \\  \\\\  \\\\ \\  \\____\\ \\  \\_\\\\ \\ \\__\\   \n   \\ \\__\\ \\__\\ \\_______\\ \\_______\\ \\_______\\ \\_______\\ \\  \\        \\ \\____________\\ \\_______\\ \\__\\\\ _\\\\ \\_______\\ \\_______\\|__|   \n    \\|__|\\|__|\\|_______|\\|_______|\\|_______|\\|_______|\\/  /|        \\|____________|\\|_______|\\|__|\\|__|\\|_______|\\|_______|   ___ \n                                                    |\\___/ /                                                                 |\\__\\\n                                                    \\|___|/                                                                  \\|__|\n                                                                                                                                  \n```\n\n#### ANSI Shadow\n\n```java\nBananaUtils.bananaify(\"Hello, World!\", Font.ANSI_SHADOW);\n```\n\n```\n██╗  ██╗███████╗██╗     ██╗      ██████╗        ██╗    ██╗ ██████╗ ██████╗ ██╗     ██████╗ ██╗\n██║  ██║██╔════╝██║     ██║     ██╔═══██╗       ██║    ██║██╔═══██╗██╔══██╗██║     ██╔══██╗██║\n███████║█████╗  ██║     ██║     ██║   ██║       ██║ █╗ ██║██║   ██║██████╔╝██║     ██║  ██║██║\n██╔══██║██╔══╝  ██║     ██║     ██║   ██║       ██║███╗██║██║   ██║██╔══██╗██║     ██║  ██║╚═╝\n██║  ██║███████╗███████╗███████╗╚██████╔╝▄█╗    ╚███╔███╔╝╚██████╔╝██║  ██║███████╗██████╔╝██╗\n╚═╝  ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝ ╚═╝     ╚══╝╚══╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝ ╚═╝\n                                                                                              \n```\n\n#### Small\n\n```java\nBananaUtils.bananaify(\"Hello, World!\", Font.SMALL);\n```\n\n```\n  _  _     _ _        __      __       _    _ _ \n | || |___| | |___    \\ \\    / /__ _ _| |__| | |\n | __ / -_) | / _ \\_   \\ \\/\\/ / _ \\ '_| / _` |_|\n |_||_\\___|_|_\\___( )   \\_/\\_/\\___/_| |_\\__,_(_)\n                  |/                            \n```\n\n#### Bloody\n\n```java\nBananaUtils.bananaify(\"Hello, World!\", Font.BLOODY);\n```\n\n```\n ██░ ██ ▓█████  ██▓     ██▓     ▒█████      █     █░ ▒█████   ██▀███   ██▓    ▓█████▄  ▐██▌ \n▓██░ ██▒▓█   ▀ ▓██▒    ▓██▒    ▒██▒  ██▒   ▓█░ █ ░█░▒██▒  ██▒▓██ ▒ ██▒▓██▒    ▒██▀ ██▌ ▐██▌ \n▒██▀▀██░▒███   ▒██░    ▒██░    ▒██░  ██▒   ▒█░ █ ░█ ▒██░  ██▒▓██ ░▄█ ▒▒██░    ░██   █▌ ▐██▌ \n░▓█ ░██ ▒▓█  ▄ ▒██░    ▒██░    ▒██   ██░   ░█░ █ ░█ ▒██   ██░▒██▀▀█▄  ▒██░    ░▓█▄   ▌ ▓██▒ \n░▓█▒░██▓░▒████▒░██████▒░██████▒░ ████▓▒░   ░░██▒██▓ ░ ████▓▒░░██▓ ▒██▒░██████▒░▒████▓  ▒▄▄  \n ▒ ░░▒░▒░░ ▒░ ░░ ▒░▓  ░░ ▒░▓  ░░ ▒░▒░▒░    ░ ▓░▒ ▒  ░ ▒░▒░▒░ ░ ▒▓ ░▒▓░░ ▒░▓  ░ ▒▒▓  ▒  ░▀▀▒ \n ▒ ░▒░ ░ ░ ░  ░░ ░ ▒  ░░ ░ ▒  ░  ░ ▒ ▒░      ▒ ░ ░    ░ ▒ ▒░   ░▒ ░ ▒░░ ░ ▒  ░ ░ ▒  ▒  ░  ░ \n ░  ░░ ░   ░     ░ ░     ░ ░   ░ ░ ░ ▒       ░   ░  ░ ░ ░ ▒    ░░   ░   ░ ░    ░ ░  ░     ░ \n ░  ░  ░   ░  ░    ░  ░    ░  ░    ░ ░         ░        ░ ░     ░         ░  ░   ░     ░    \n                                                                               ░            \n```\n\n### Layout\n\nClick [here](docs/LAYOUTS.md) to see more layouts.\n\n#### FITTED\n\n```java\nBananaUtils.bananaify(\"Bananas have their own characteristic smell, \\nand they are easily digestible.\", Layout.FITTED, Layout.FITTED);\n```\n\n```\n  ____                                            _                          _    _            _                                       _                               _               _       _    _                               _  _     \n | __ )   __ _  _ __    __ _  _ __    __ _  ___  | |__    __ _ __   __ ___  | |_ | |__    ___ (_) _ __    ___ __      __ _ __     ___ | |__    __ _  _ __  __ _   ___ | |_  ___  _ __ (_) ___ | |_ (_)  ___   ___  _ __ ___    ___ | || |    \n |  _ \\  / _` || '_ \\  / _` || '_ \\  / _` |/ __| | '_ \\  / _` |\\ \\ / // _ \\ | __|| '_ \\  / _ \\| || '__|  / _ \\\\ \\ /\\ / /| '_ \\   / __|| '_ \\  / _` || '__|/ _` | / __|| __|/ _ \\| '__|| |/ __|| __|| | / __| / __|| '_ ` _ \\  / _ \\| || |    \n | |_) || (_| || | | || (_| || | | || (_| |\\__ \\ | | | || (_| | \\ V /|  __/ | |_ | | | ||  __/| || |    | (_) |\\ V  V / | | | | | (__ | | | || (_| || |  | (_| || (__ | |_|  __/| |   | |\\__ \\| |_ | || (__  \\__ \\| | | | | ||  __/| || | _  \n |____/  \\__,_||_| |_| \\__,_||_| |_| \\__,_||___/ |_| |_| \\__,_|  \\_/  \\___|  \\__||_| |_| \\___||_||_|     \\___/  \\_/\\_/  |_| |_|  \\___||_| |_| \\__,_||_|   \\__,_| \\___| \\__|\\___||_|   |_||___/ \\__||_| \\___| |___/|_| |_| |_| \\___||_||_|( ) \n                    _   _    _                                                         _  _              _  _                    _    _  _      _                                                                                        |/  \n   __ _  _ __    __| | | |_ | |__    ___  _   _    __ _  _ __  ___    ___   __ _  ___ (_)| | _   _    __| |(_)  __ _   ___  ___ | |_ (_)| |__  | |  ___                                                                                      \n  / _` || '_ \\  / _` | | __|| '_ \\  / _ \\| | | |  / _` || '__|/ _ \\  / _ \\ / _` |/ __|| || || | | |  / _` || | / _` | / _ \\/ __|| __|| || '_ \\ | | / _ \\                                                                                     \n | (_| || | | || (_| | | |_ | | | ||  __/| |_| | | (_| || |  |  __/ |  __/| (_| |\\__ \\| || || |_| | | (_| || || (_| ||  __/\\__ \\| |_ | || |_) || ||  __/ _                                                                                   \n  \\__,_||_| |_| \\__,_|  \\__||_| |_| \\___| \\__, |  \\__,_||_|   \\___|  \\___| \\__,_||___/|_||_| \\__, |  \\__,_||_| \\__, | \\___||___/ \\__||_||_.__/ |_| \\___|(_)                                                                                  \n                                          |___/                                              |___/             |___/                                                                                                                         \n```\n\n#### SMUSH_U\n\n```java\nBananaUtils.bananaify(\"Bananas have their own characteristic smell, \\nand they are easily digestible.\", Layout.SMUSH_U, Layout.SMUSH_U);\n```\n\n```\n  ____                                      _                       _   _          _                                   _                          _            _     _   _                           _ _    \n | __ )  __ _ _ __   __ _ _ __   __ _ ___  | |__   __ ___   _____  | |_| |__   ___(_)_ __    _____      ___ __     ___| |__   __ _ _ __ __ _  ___| |_ ___ _ __(_)___| |_(_) ___   ___ _ __ ___   ___| | |   \n |  _ \\ / _` | '_ \\ / _` | '_ \\ / _` / __| | '_ \\ / _` \\ \\ / / _ \\ | __| '_ \\ / _ | | '__|  / _ \\ \\ /\\ / | '_ \\   / __| '_ \\ / _` | '__/ _` |/ __| __/ _ | '__| / __| __| |/ __| / __| '_ ` _ \\ / _ | | |   \n | |_) | (_| | | | | (_| | | | | (_| \\__ \\ | | | | (_| |\\ V |  __/ | |_| | | |  __| | |    | (_) \\ V  V /| | | | | (__| | | | (_| | | | (_| | (__| ||  __| |  | \\__ | |_| | (__  \\__ | | | | | |  __| | |_  \n |____/ \\__,_|_| |_|\\__,_|_| |_|\\__,_|___/ |_| |_|\\__,_| \\_/ \\___|  \\__|_| |__\\___|_|_|     \\___/ \\_/\\_/ |_| |_|_ \\_____| |__\\__,_|_|  \\__,_|\\___|\\__\\___|_|  |_|___/\\__|_|\\___| |___|_| |_| |_|\\___|_|_( ) \n   __ _ _ __   __| | | |_| |__   ___ _   _    __ _ _ __ ___    ___  __ _ ___(_| |_   _    __| (_) __ _  ___ ___| |_(_| |__ | | ___                                                                      |/  \n  / _` | '_ \\ / _` | | __| '_ \\ / _ | | | |  / _` | '__/ _ \\  / _ \\/ _` / __| | | | | |  / _` | |/ _` |/ _ / __| __| | '_ \\| |/ _ \\                                                                         \n | (_| | | | | (_| | | |_| | | |  __| |_| | | (_| | | |  __/ |  __| (_| \\__ | | | |_| | | (_| | | (_| |  __\\__ | |_| | |_) | |  __/_                                                                        \n  \\__,_|_| |_|\\__,_|  \\__|_| |_|\\___|\\__, |  \\__,_|_|  \\___|  \\___|\\__,_|___|_|_|\\__, |  \\__,_|_|\\__, |\\___|___/\\__|_|_.__/|_|\\___(_)                                                                       \n                                     |___/                                       |___/           |___/                                                                                                      \n```\n\n### ANSI\n\n```java\nBananaUtils.bananansi(\"Hello, World!\", Ansi.BLUE);\n```\n\n![ANSI_COLOR](docs/images/ANSI1.png)\n\n```java\nBananaUtils.bananansi(\"Hello, World!\", Ansi.RED, Ansi.BG_YELLOW);\n```\n\n![ANSI_BG_COLOR](docs/images/ANSI2.png)\n\n## Contact\n\n\u003e * Bugs \u0026 Issues: [Click Here](https://github.com/yihleego/banana/issues)\n\n## License\n\nBanana is under the MIT license. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihleego%2Fbanana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyihleego%2Fbanana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyihleego%2Fbanana/lists"}