A simple c program that prints a Horse/Pony with looooooong legs.
  • C 93.8%
  • Makefile 6.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-28 17:29:59 +02:00
.gitignore Basic pony program. 2026-05-14 14:56:53 +02:00
LICENSE Added license file 2026-05-14 15:20:07 +02:00
Makefile Updated makefile 2026-05-28 17:29:59 +02:00
pony.c Made improvements to c code. 2026-05-28 17:22:33 +02:00
README.md Updated makefile 2026-05-28 17:29:59 +02:00

Pony.c

A program that prints a Horse/Pony with looooooong legs.

Demo

   ,
_,,)\.~,,._
(()`  ``)\))),,_
 |     \ ''((\)))),,_          ____
 |6`   |   ''((\())) "-.____.-"    `-.-,
 |    .'\    ''))))'                  \)))
 |   |   `.     ''                     ((((
 \, _)     \/                          |))))
  `'        |                          (((((
            \                  |       ))))))
             `|    |           ,\     /((((((
              |   / `-.______.<  \   |  )))))
              |   |  /         `. \  \  ((((
              |  / \ |           `.\  | (((
              \  | | |             )| |  ))
               | | | |             || |  '
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
               | | | |             || |
              _|_|_|_|_____________||_|_

Why should you use it?

  • Troll friends
  • Learn to kill processes over the terminal
  • Alternative to ctrl+l keystroke or clear command
  • Have fun when you are bored
  • As welcome screen to your terminal (by calling it in .bashrc)
  • As a measurement system for your terminal size

Usage

Simple calling it just results in a horse that covers your entire terminal exactly from top to bottom.

./pony

You can use the -l flag to set the length.

./pony -l 16

When using the -i flag the program will print a horse continuously until the program is terminated by the user. Recommended way is over ctrl+c.

When ctrl+c doesn't work kill it over Taskmanager or over other terminal commands

./pony -i

...

ctrl+c

Build it from source

There is no release download and for other platforms than Linux you may just need to compile it manually with you platforms C compiler.

On Linux:

  1. Install ggc and make. Alternatively you can install your distros build package.
  2. Clone this repo with git
  3. run make build inside of the repo
  4. now you can find the binary in the build directory under build/pony
  5. optionally move it into /bin so you can call it from anywhere or just run make install with permissions to copy files to /bin/
  6. have fun with loooong horses

(to uninstall from /bin/ just run make remove with required permissions)

Plans

  • add more animals
    • make animal config files system
    • make/find new asscii animals
  • add AI to it
  • rewrite it to rust
  • make a web version with PHP
  • create a Trojan worm that prints a lot of ponys everywhere
  • implement a backdoor for the government and leak the keys to it
  • collect telemetry
  • make it randomly crash

Contribution

You are welcome to add something that fits the theme of useless but fun and animals.