Jump to content

Recommended Posts

Alfred Cheat.sh

Access your favourite cheat sheets from cheat.sh directly from Alfred.

Usage

The main workflow is accessd throught the keyword cht:

 

151710831-2e295aaa-7f27-47bb-9608-cea541

 

The selected cheat sheet will be copied to your clipboard.

 

On the first usage, the workflow will ask you to update the avaliable cheat sheets because it compiles a lista of avaliable items and caches it on the Work Flow Data folder for faster results. At anytime you could update the list throught the menu update cheats:

enc_1

Requirements

This workflow require you to have jq avaliable on your system.

To check if they're avaliable on your system open a terminal and type:

which jq

The expected result is similar to:

/usr/local/bin/jq

Limitations

The main workflow doesn't support cheat sheets for programming languages or special pages like :help from cheat.sh (mainly because of the huge ammount of things that must be escaped to properly load as json).

 

If you want to acccess this type of content you could use the fcht keyword and it will print the full cheat sheet on your terminal instead.

Download

Check the releases page to download it.

Edited by gohoyer
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...