Skip to content

Alfred 4 workflow for generating lorem ipsum dummy text.

License

Notifications You must be signed in to change notification settings

MGHollander/alfred-lipsum-workflow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alfred Lipsum Workflow

Screenshot

An Alfred 4 workflow for generating lorem ipsum dummy text using joshtronic/php-loremipsum.

Installation

Alfred Powerpack is required to use workflows.

PHP is no longer supported out of the box since MacOS Monterey. Therefore you need to install PHP 7 or above, for example via Homebrew.

  1. Download the workflow.
  2. Double click the .alfredworkflow file to install.

Usage

  1. Use the keyword lip to trigger the workflow.
  2. Select format you want to generate (characters, words, sentences, or paragraphs).
  3. (Optional) Add options to the format you would like to generate.
  4. Press enter to copy to clipboard and paste into the forefront application.

Options

There are multiple options to enhance the output.

Option Usage Description
length lip 5 Default: 1 (10 for characters)
Generates 5 instances of the format you have chosen
tags lip 5 p Default: false
Generates 5 instances of the format you have chosen and wraps each instance in a p tag. You can wrap an instance in multiple tags by comma separating the tags like lip 5 div,p. Use false or 0 if you want to skip this option, but would like the next option.
array lip 5 p true Default: false
Generates 5 instances of the format you have chosen, wraps each instance in a p tag and outputs it as a PHP array with a value for each instance.

Developer notes

  • The joshtronic/php-loremipsum copy in this project is slightly changed. The output method is made public to be able to use the tags and array options with characters as well.

Roadmap

If there are enhancements that I would like to add, then I will add them as issues in the repository.

Feedback

Please feel free to give feedback, share ideas or report bugs. Email me at marc [at] mghollander [dot] nl or add an issue.

Donate

I work on this extension in my free time, but you can support me by making a donation (or buy me a beer) via https://paypal.me/mghollander.

Credits

About

Alfred 4 workflow for generating lorem ipsum dummy text.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%