alfred-cacher
alfred-cacher copied to clipboard
Alfred workflow for finding a Cacher snippet.
alfred-cacher
Alfred Workflow for finding a snippet from your Cacher library.
Prerequisites
-
You are registered as a user at cacher.io. Cacher is a code snippet organizer for software developers. Sign up for a free account.
Installation
Step 1
Run the following shell command from a Terminal window.
npm install --g alfred-cacher
Step 2
- View your API credentials at: app.cacher.io/enter?action=view_api_creds
- You should see a dialog open with your API KEY and API TOKEN.

Step 3
- Open Alfred Preferences.
- Click on the "Workflows" tab and find Cacher.
- Click on the "Configure workflow and variables" button.
- Add the following under Workflow Environment Variables:
-
CACHER_API_KEY
:[API Key from Step 2]
-
CACHER_API_TOKEN
:[API Token from Step 2]
-
- Click "Save"
Usage
In Alfred, type snip [keywords]
and wait for results to return. Select a snippet and press Enter to copy
its contents to the clipboard.