Project

asciimo

0.01
No commit activity in last 3 years
No release in over 3 years
uses asciimo.js to generate colored ascii art text in 300+ fonts. It can be used from the commandline or inside Ruby code.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.7.4
 Project Readme

Asciimo.rb

A ruby wrapper around asciimo

Install

gem install asciimo

Use it from the Command Line

legolas:~ cowboyd$ asciimo -h
Usage: asciimo [options]
    -f, --font FONT                  Render TEXT with this font
    -c, --color [COLOR]              Render TEXT with this color
    -m MESSAGE                       render MESSAGE instead of STDIN
        --list-colors                List possible colors
        --list-fonts                 List possible fonts
    -h                               show help

from stdin

legolas:~ cowboyd$ asciimo 
Hello World
 _ _       _  _        _ _ _            _    _ 
| | | ___ | || | ___  | | | | ___  _ _ | | _| |
|   |/ ._>| || |/ . \ | | | |/ . \| '_>| |/ . |
|_|_|\___.|_||_|\___/ |__/_/ \___/|_|  |_|\___|

or from an argument

legolas:~ cowboyd$ asciimo -m "Hello World"
 _ _       _  _        _ _ _            _    _ 
| | | ___ | || | ___  | | | | ___  _ _ | | _| |
|   |/ ._>| || |/ . \ | | | |/ . \| '_>| |/ . |
|_|_|\___.|_||_|\___/ |__/_/ \___/|_|  |_|\___|

change the font and color

legolas:~ cowboyd$ asciimo -m "Str Wrz" --font starwars --color yellow
     _______..___________..______         ____    __    ____ .______       ________  
    /       ||           ||   _  \        \   \  /  \  /   / |   _  \     |       /  
   |   (----``---|  |----`|  |_)  |        \   \/    \/   /  |  |_)  |    `---/  /   
    \   \        |  |     |      /          \            /   |      /        /  /    
.----)   |       |  |     |  |\  \----.      \    /\    /    |  |\  \----.  /  /----.
|_______/        |__|     | _| `._____|       \__/  \__/     | _| `._____| /________|

(trust me it's yellow) Use it from Ruby

require 'asciimo'

Asciimo.text("Star_Wars.flf", "Str Wrz", "yellow")