Metaphorpsum

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

Those plants are nothing more than helmets. Some leisure lathes are thought of simply as routers. The befogged element comes from an unscorched june. A blowgun of the chin is assumed to be an unfiled chef.

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.