Metaphorpsum

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

We can assume that any instance of a mini-skirt can be construed as an eastward kitten. A spade is a red's cave. In modern times the attack is a leek. The composers could be said to resemble speckless parties.

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.