2013-11-08 22:44:02 +01:00
|
|
|
ASCII Ponies
|
|
|
|
============
|
|
|
|
|
|
|
|
ASCII art of some characters from My Little Pony: Friendship is magic.
|
|
|
|
|
|
|
|
Available Characters
|
|
|
|
--------------------
|
|
|
|
|
2015-10-14 08:25:39 +02:00
|
|
|
* Twilight Sparkle (Both as a unicorn and as an alicorn)
|
|
|
|
* Rainbow Dash (Both with open and with closed wings)
|
2013-11-08 22:44:02 +01:00
|
|
|
* Fluttershy
|
2015-10-14 08:25:39 +02:00
|
|
|
* Rarity
|
2013-11-08 22:44:02 +01:00
|
|
|
* Pinkie Pie
|
2015-10-14 08:25:39 +02:00
|
|
|
* Applejack (Both with and without the hat)
|
2013-11-08 22:44:02 +01:00
|
|
|
* Derpy
|
2015-10-14 08:25:39 +02:00
|
|
|
* Trixie (Both with and without the hat)
|
2013-11-09 10:23:42 +01:00
|
|
|
* Rose
|
2013-11-09 10:52:49 +01:00
|
|
|
* Lyra Heartstrings
|
2014-04-21 19:30:48 +02:00
|
|
|
* DJ Pon3 (Both with and without shades)
|
|
|
|
* Princess Celestia
|
2014-08-13 11:41:15 +02:00
|
|
|
* Princess Luna
|
2014-08-13 12:45:49 +02:00
|
|
|
* Big McIntosh
|
2014-12-14 21:57:06 +01:00
|
|
|
* Princess Cadance
|
2015-08-12 23:48:09 +02:00
|
|
|
* Colgate
|
2013-11-08 22:44:02 +01:00
|
|
|
|
2015-02-02 21:46:45 +01:00
|
|
|
System Pony
|
|
|
|
-----------
|
|
|
|
|
|
|
|
systempony is a script which shows a pony and system information.
|
2015-10-14 08:25:39 +02:00
|
|
|
It can be installed system-wide using "make install" (PREFIX selects the
|
|
|
|
target directory).
|
|
|
|
|
|
|
|
The global config is found in $PREFIX/share/ascii-pony/systempony.conf,
|
2015-02-02 21:46:45 +01:00
|
|
|
(or ./systempony.conf if not installed), user config is in ~/.systempony.
|
|
|
|
|
|
|
|
Config Variables:
|
2015-10-14 08:25:39 +02:00
|
|
|
* PONY : a pony identifier or "random",
|
2015-02-02 21:46:45 +01:00
|
|
|
see "./systempony --list" for a list of identifiers
|
2015-10-14 08:25:39 +02:00
|
|
|
* INFO : an array of system info to display, "./systempony -h" for a list
|
|
|
|
* FSTYPE : a file system type used to calculate disk usage (Uses df),
|
2015-02-02 21:46:45 +01:00
|
|
|
if empty it will show the total.
|
|
|
|
|
2015-05-24 16:34:14 +02:00
|
|
|
Requirements:
|
2015-10-14 08:25:39 +02:00
|
|
|
* lsb-release for Distro
|
2015-05-24 16:34:14 +02:00
|
|
|
* lxc for Containers
|
|
|
|
|
2015-02-02 21:46:45 +01:00
|
|
|
Generating Images
|
2013-11-08 22:44:02 +01:00
|
|
|
-----------------
|
|
|
|
|
2015-10-14 08:25:39 +02:00
|
|
|
Each final character is divided into a separate file, one for each color.
|
2013-11-08 22:44:02 +01:00
|
|
|
The file name is what you'd put in an ANSI escape to make it colored.
|
|
|
|
The script render_parts.php takes a directory as input and scans for such files.
|
|
|
|
It produces the following kinds of output:
|
|
|
|
|
|
|
|
* ANSI-Encoded Colored text (default)
|
|
|
|
* Plaintext (if you pass nocolor)
|
|
|
|
* SVG (if you pass svg)
|
|
|
|
|
2015-10-14 08:25:39 +02:00
|
|
|
Being a PHP script, it requires PHP in order to run.
|
2013-11-08 22:44:02 +01:00
|
|
|
|
2015-10-14 08:14:49 +02:00
|
|
|
The makefile will compile all of the above, the plaintext in the same directory
|
2015-10-14 08:25:39 +02:00
|
|
|
as the parent of the directory containing the various part files,
|
|
|
|
and everything else in /rendered.
|
|
|
|
|
2013-11-08 22:44:02 +01:00
|
|
|
It will also call Inkscape to generate PNG images from the SVG.
|
|
|
|
|
2015-10-14 08:14:49 +02:00
|
|
|
You can cat the colored files on a terminal to see the fancy output (as long as
|
2013-11-08 22:44:02 +01:00
|
|
|
the terminal supports colors).
|
|
|
|
|
2015-10-14 08:14:49 +02:00
|
|
|
Some blank ponies and a template directory can be found inside the
|
2013-11-08 22:44:02 +01:00
|
|
|
directory /Generic
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Dual:
|
|
|
|
|
2015-10-14 08:25:39 +02:00
|
|
|
* GPLv3+ : http://www.gnu.org/licenses/gpl.html
|
|
|
|
* CC-BY-SA 3.0 : http://creativecommons.org/licenses/by-sa/3.0/
|