Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evant/ponysay-rust

A barebones port of ponysay to rust.
https://github.com/evant/ponysay-rust

Last synced: 6 days ago
JSON representation

A barebones port of ponysay to rust.

Awesome Lists containing this project

README

        

# ponysay-rust

A barebones port of [ponysay](https://github.com/erkin/ponysay) to rust.

## Why?

ponysay is written in python, I found it frustratingly slow to run. As I only use a fraction of it's features, I re-wrote
the parts I use in rust.

## Install

### Homebrew

```
brew tap evant/ponysay-rust
brew install ponysay-rust
```

### AUR

```
pacaur -S ponysay-rust-git
```

### From Source

Requires rust to build, you can obtain it with [rustup](https://rustup.rs/).

```
git clone https://github.com/evant/ponysay-rust.git
cd ponysay-rust
make
sudo make install
```

This will install to `/usr/local/bin/ponysay` by default. And place the pony files in `/usr/local/share/ponysay/`.
If you want to change the prefix, you can do:

```
make PREFIX=/my/prefix/dir
sudo make install PREFIX=/my/prefix/dir
```

## Supported features

```
ponysay -l
ponysay -q
echo 'Hello, Equestria!' | ponysay
ponysay -f pinkie -- 'Lets have a party!'
```