Metaphorpsum

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

Some assert that a carnation is a shark from the right perspective. This could be, or perhaps a car is an agreement from the right perspective. Before donnas, beggars were only revolves. Unfortunately, that is wrong; on the contrary, a request is a viscose's production.

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.