Metaphorpsum

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

As far as we can estimate, unaired brains show us how flutes can be pears. The feathers could be said to resemble outland women. In recent years, the Sunday is a heron. Peddling ashtraies show us how mothers can be buffets.

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.