This is an open source project that generates lorem ipsum style text using prose from author Kurt Vonnegut.
Visit the website https://vonnegutipsum.com/
With default parameters:
$ curl -s https://vonnegutipsum.com//api
{
"text": "All this happened, more or less...",
"count": 5,
"mode": 3,
"mode_name": "paragraphs",
"nsfw": true,
"pilgrim_mode": true
}
Sending parameters:
curl -s https://vonnegutipsum.com/api?count=8&mode=1&nsfw=false
{
"text": "Poo-tee-weet. Welcome to Earth. Hello babies.",
"count": 8,
"mode": 1,
"mode_name": "words",
"nsfw": false,
"pilgrim_mode": true
}
import { generate } from "./lib/generate";
const output = generate({
count: 5,
mode: 2,
nsfw: true,
pilgrim_mode: true,
});
// Output: Hello babies. Goodbye blue monday. Science is magic that works. Poo-tee-weet. I don't know what it is about Hoosiers. So it goes.
$ node ./lib/generate.js --count=5 --mode=2
Allow me to quote Mr. Vonnegut
“Practice any art, music, singing, dancing, acting, drawing, painting, sculpting, poetry, fiction, essays, reportage, no matter how well or badly, not to get money and fame, but to experience becoming, to find out what’s inside you, to make your soul grow.”
Pilgrim mode will append "So it goes." to the end of each paragraph, in reference to Billy Pilgrim from Slaughterhouse-Five. This is ignored when generating using word
mode. So it goes.
By default this mode is set to true
Vonny Regular font by Andy King