Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Kasianov Nikolai Alekseevich | d903919a9f | 2 years ago |
Kasianov Nikolai Alekseevich | ee12c7a74c | 2 years ago |
Gitea | 51d60b44b5 | 3 years ago |
Unbewohnte | 4a76264f92 | 3 years ago |
Unbewohnte | 8eb8961e50 | 3 years ago |
2 changed files with 118 additions and 41 deletions
@ -0,0 +1,75 @@ |
|||||||
|
# fumosay |
||||||
|
## Like cowsay, but with soft friends (ᗜˬᗜ) |
||||||
|
``` |
||||||
|
__ __ <⑨ There are no buses in Gensokyo ⑨> |
||||||
|
| \ / | () |
||||||
|
| \____/ | () |
||||||
|
|__// V \\__| |
||||||
|
/|| ᗜ ᗜ || \ |
||||||
|
\_\\_︶_//_/ |
||||||
|
jj⑨lll |
||||||
|
()_/@V@V@V\_() |
||||||
|
/@V@V@V@V\ |
||||||
|
(_)-----(_) |
||||||
|
``` |
||||||
|
--- |
||||||
|
|
||||||
|
# Installation |
||||||
|
|
||||||
|
## "Compile it yourself" way |
||||||
|
clone this repository |
||||||
|
- `git clone http://unbewohnte.xyz:3000/Unbewohnte/fumosay` |
||||||
|
|
||||||
|
cd into cloned repo |
||||||
|
- `cd fumosay/` |
||||||
|
|
||||||
|
compile |
||||||
|
- `make` or `g++ -static -O2 src/fumosay.cpp -o fumosay` |
||||||
|
|
||||||
|
|
||||||
|
**or** |
||||||
|
|
||||||
|
## "Download a pre-compiled version (Linux amd64 only)" way |
||||||
|
- [Download a version of your choice](http://unbewohnte.xyz:3000/Unbewohnte/fumosay/releases) |
||||||
|
|
||||||
|
unzip |
||||||
|
- `unzip [zip_archive_name]` |
||||||
|
|
||||||
|
cd into unzipped directory |
||||||
|
- `cd fumosay/` |
||||||
|
|
||||||
|
## After compilation|downloading |
||||||
|
|
||||||
|
run installation script |
||||||
|
- `chmod +x install.sh && sudo ./install.sh` or `sudo make install` |
||||||
|
|
||||||
|
**Now you have fumosay installed !** |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
# Use |
||||||
|
``` |
||||||
|
fumosay message_here |
||||||
|
``` |
||||||
|
prints a message with a default fumo.fumo template |
||||||
|
|
||||||
|
``` |
||||||
|
fumosay -f mini.fumo message_here |
||||||
|
``` |
||||||
|
prints a message with a mini.fumo template. You can add your own fumofiles |
||||||
|
in /usr/local/share/fumosay/fumofiles/ and use them with -f flag |
||||||
|
|
||||||
|
``` |
||||||
|
fumosay -d path/to/your/fumofiles/ -f your_fumo.fumo fumofumo |
||||||
|
``` |
||||||
|
uses a non-default path to fumofiles and a custom fumofile |
||||||
|
|
||||||
|
--- |
||||||
|
|
||||||
|
# TODO list |
||||||
|
|
||||||
|
- Add more fumos |
||||||
|
- ~~Make it possible to use other fumos~~ |
||||||
|
- Improve message {box|bubble} |
||||||
|
- ~~Embed fumofiles or take care of ways of locating them~~ |
||||||
|
- ~~Make an `install.sh` script~~ |
Loading…
Reference in new issue