Metaphorpsum

A wise– if perhaps slightly pedantic– generator of metaphor.

A cork is a grass from the right perspective. We know that we can assume that any instance of a glider can be construed as a valiant dietician. We can assume that any instance of a feature can be construed as a soothing family. Some seemly cows are thought of simply as oxygens.

Options

Give me paragraph(s) containing sentence(s) each; wrap them in <p> tags.

Huh? Numbers please. Above 0.

API Usage

Get paragraphs by sending an AJAX request to

metaphorpsum.com/paragraphs/<numberOfParagraphs>

metaphorpsum.com/paragraphs/<numberOfParagraphs>/<numberOfSentences>

limit: 20 paragraphs / 50 sentences

Or just grab a few sentences by hitting

metaphorpsum.com/sentences/<numberOfSentences>

Add a URL parameter p=true to get each paragraph in <p> tags

metaphorpsum.com/paragraphs/3?p=true

Using OS X or Linux? Try this in the command line:

curl http://metaphorpsum.com/sentences/3

And here’s a nifty bash script that copies metaphorpsum straight to your clipboard

function meta() { curl http://metaphorpsum.com/sentences/$@ | pbcopy ;}

usage: meta 5

Built and maintained by Kyle Stetz. Get the source code on GitHub.