Click above to generate a random paragraph
Scroll down to continue reading for more information on usage
Huh? Numbers please. Above 0.
limit: 20 paragraphs / 50 sentences
Get paragraphs by sending a request to
lorem.casjay.coffee/paragraphs/<numberOfParagraphs>
lorem.casjay.coffee/paragraphs/<numberOfParagraphs>/<numberOfSentences>
Or just grab a few sentences by hitting
Add a URL parameter p=true to get each paragraph in <p> tags
Add a URL parameter format=json to get json formatted data
lorem.casjay.coffee/sentences/1?format=json
lorem.casjay.coffee/paragraphs/1?format=json
Using Windows with powershell? Try this in the command line:
pwsh -Command Invoke-RestMethod -Uri https://lorem-casjay.coffee/paragraphs/2 -Method Get
Using OS X or Linux? Try this in the command line:
curl -q -LSs http://lorem.casjay.coffee/sentences/3
And here’s a nifty MacOS bash script that copies metaphorpsum straight to your clipboard
function lorem() { curl -q -LSs http://lorem.casjay.coffee/sentences/${@:-5} | pbcopy ;}
And here’s a nifty Linux bash script that copies metaphorpsum straight to your clipboard
function lorem() { curl -q -LSs http://lorem.casjay.coffee/sentences/${@:-5} | xclip -selection clipboard ;}
usage: lorem 10
Using Alfred? There's a workflow for that.
Built by Kyle Stetz and Modified by
Jason Hempstead
Get the source code on GitHub.