Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jkulton/cakesay
Create an ASCII cake with a message
https://github.com/jkulton/cakesay
ascii-art
Last synced: 7 days ago
JSON representation
Create an ASCII cake with a message
- Host: GitHub
- URL: https://github.com/jkulton/cakesay
- Owner: jkulton
- Created: 2022-09-23T13:12:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-09T20:07:27.000Z (5 months ago)
- Last Synced: 2024-06-10T01:45:58.008Z (5 months ago)
- Topics: ascii-art
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cakesay
Create an ASCII cake with a message
## How to use
- **Message in URL path**
- e.g. [https://jkulton-cakesay.web.val.run/Hello!](https://jkulton-cakesay.web.val.run/Hello!)
- (Most browsers support typing spaces in URL paths, and will encode on submission. This is usually the easiest method.)
- **Message in URL param `m`**
- e.g. [https://jkulton-cakesay.web.val.run?m=Hello!](https://jkulton-cakesay.web.val.run?m=Hello!)
- **base64 encoded message in URL param `b64`**
- e.g. [https://jkulton-cakesay.web.val.run?b64=SGVsbG8=](https://jkulton-cakesay.web.val.run?b64=SGVsbG8=)cakesay returns plain text, so you can use it with basically any HTTP client.
```sh
$ curl 'https://jkulton-cakesay.web.val.run/Hello!'
i.
.7.
.. :v
c: .x
i.::
:
..i..
#MMMMM
QM AM
9M ZM
6M AM
2M @MX#MM@1.
OM tMMMMMMMMMM;
.X#MMMM ;MMMMMMMMMMMMV
CEMMMMMMMMMU7@MMMMMMMMMMMMM@
.N@MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMM@@#$BWWB#@@#$WWWQQQWWWWB#MM.
MM ;M.
$M EM
WMO$@@@@@@@@@@@@@@@@@@@@@@@@@@@@#OMM
#M CM
MM Hello! CM
.MMMM oMMMt
1MO 6MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM iMM
.M1 BM VM ,Mt
1M @M .............................. WM M6
MM .A8OQWWWWWWWWWWWWWWWWWWWWWWWWWWWOAZ2 #M
MM MM.
@MMY VMME
UMMMbi i8MMMt
C@MMMMMbt;;i........i;XQMMMMMMMt
;ZMMMMMMMMMMMMMMMM@A;.
```