Jump to content

Alfred Workflow Random Everything


Recommended Posts

An Alfred Workflow that generates random ints, floats, strings, words, etc.

 

This is inspired by Random Everything for VS Code.

 

Github repo: https://github.com/sampayo/alfred-workflow-randomeverything

 

Download RandomEverything.zip

 

Demo

 

Whb7ZyI.gif

 

Options:

 

Type random [option] [arg]:

 

  • address: A random address (e.g. 1750 Nugku Place)
  • city: A random city (e.g. Ejgekad)
  • country: A random country (e.g. Fidorini)
  • color: A random hex color formatted (e.g. "#dd505d")
  • date (MIN-MAX): (e.g. 2006-12-20T10:20:31.608Z)
  • date (MIN-MAX): (e.g. 23/10/2027)
  • email: A random E-mail address (e.g. hugzet@ricardosampayo.com)
  • float (MIN-MAX): A range from a-b separated with `-`. Default: 0-1 (e.g. 0.609)
  • int (MIN-MAX): A range from a-b separated with `-`. Default: 1-100 (e.g. 57)
  • ip: a random ipv4 ip address (e.g. 152.136.48.249)
  • name: A random NAME (e.g. Isabelle Holland)
  • firstName: A random first name (e.g. Seth)
  • lastName: A random last name (e.g. Fiesoli)
  • letters (length): Random letters (e.g. SsvnOZyMsjZxXmHOpax)
  • lettersAndNumbers (length): Random letters and numbers (e.g. jvYjV2Kk7D)
  • loremWorlds (number): Random lorem ipsum worlds with length (default 7)
  • loremSentences (number): Random lorem ipsum sentences with length (default 3)
  • loremParagraphs (number): Random lorem ipsum paragraphs with length (default 1)
  • phone: A random phone
  • street: A random street (e.g. Aniiv Way)
  • url: A random url (e.g http://git.ve/poh)
  • guid: A random guid (e.g 924719d1-8ba1-5cbc-8513-cc7d3c2031ee)
  • image (width-height): A random image from [https://picsum.photos](https://picsum.photos) (e.g https://picsum.photos/seed/ebGjjAe/320/100)

 

Configuration:

 

Type config-random [option] [arg]:

 

  • Image grayscale: Toggle to set if images are in a grey scale 
  • Image blur: A number that adjust the amount of blur on images
  • Default Dates (MIN-MAX): the default range of dates, format `YYYY/MM/DD` or `today`
  • Date American Format Toggle to set the date is in american format `MM/DD/YYYY`
     

Screenshot 2022-02-19 at 16.15.18.png

Screenshot 2022-02-19 at 16.15.28.png

Screenshot 2022-02-19 at 16.15.40.png

Screenshot 2022-02-19 at 16.16.17.png

Edited by Sampayo
Link to comment
  • 9 months later...

Is there a specific procedure to follow to install? I get a "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`" message when trying to use for first time. It seems like I missed an installation or configuration step. Can you point me in the right direction? PS: A bit obvious but I'm a nub. Thank you for your contribution.

Edited by Send Me
Link to comment
8 hours ago, Send Me said:

Is there a specific procedure to follow to install? I get a "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`" message when trying to use for first time. It seems like I missed an installation or configuration step. Can you point me in the right direction? PS: A bit obvious but I'm a nub. Thank you for your contribution.

 

Hi. yes you need to have node installed (https://nodejs.org/en/ you can download the version 18.x) let me know how it goes.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...