Skip to content
Browse files

updating readme

  • Loading branch information...
1 parent c47dba0 commit 85b34ff59a95d68dddafe1ca81386fe3e634af4f @ivolo committed
Showing with 19 additions and 16 deletions.
  1. +19 −16 readme.md
View
35 readme.md
@@ -34,9 +34,7 @@ Returns a random ASCII animal.
`maxwidth` (int) - the maximum width of the animal to return
-`terminal` (boolean) - specifies whether to return the animal
-
-with ANSI terminal codes that will erase the previous lines.
+`terminal` (boolean) - specifies whether to return the animal with ANSI terminal codes that will erase the previous lines.
### Examples
@@ -70,25 +68,27 @@ with ANSI terminal codes that will erase the previous lines.
```
-`curl http://animals.ivolo.me/?index=10&offset=10&reverse=true`
+`curl http://animals.ivolo.me/?index=130&offset=20&reverse=true`
```
- _
- \\ |/___\|
- || |/_\| ( )
- // .-""""-._,` a a) =/ \=
- //\ / =_Y\= (===)
- / / \`"` \ /
- / | \ | | |
- \ \ -/ \ \ /
- `/ // | || / \
- _\/_\/_\/_\//_((\|_((_\/_\/_\/_/_ _\/_\/_\/_sgj
-
+ _
+ \\ |/___\|
+ || |/_\| ( )
+ // .-""""-._,` a a) =/ \=
+ //\ / =_Y\= (===)
+ / / \`"` \ /
+ / | \ | | |
+ \ \ -/ \ \ /
+ `/ // | || / \
+ _\/_\/_\/_\//_((\|_((_\/_\/_\/_/_ _\/_\/_\/_sgj
+
```
## Host Your Own
Availability is crucial when dealing with ascii animal web services,
so go ahead and run your own server for maximum reliability.
+### Web Server
+
```bash
npm install
sudo node simple.js
@@ -99,6 +99,9 @@ Using [up](https://github.com/learnboost/up):
sudo up server.js
```
+### Generate Animals
+`python scripts/animals.py`
+
## Used in Production
* [Segment.io](https://segment.io)
@@ -117,6 +120,6 @@ WWWWWW||WWWWWW
(__|__|(__|__|
```
-## Credit
+## Animal Credit
[Heart n Soul](http://www.heartnsoul.com/ascii_art/ascii_animals_indx.htm)

0 comments on commit 85b34ff

Please sign in to comment.
Something went wrong with that request. Please try again.