Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/evant/ponysay-rust
- Owner: evant
- Created: 2020-02-29T06:42:13.000Z (almost 5 years ago)
- Default Branch: mane
- Last Pushed: 2023-10-11T02:03:01.000Z (over 1 year ago)
- Last Synced: 2024-11-09T19:23:50.465Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!'
```