Alfred Workflow for finding a snippet from your Cacher library.
-
You are registered as a user at cacher.io. Cacher is a code snippet organizer for software developers. Sign up for a free account.
Run the following shell command from a Terminal window.
npm install --g alfred-cacher
- 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.
- 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"
In Alfred, type snip [keywords]
and wait for results to return. Select a snippet and press Enter to copy
its contents to the clipboard.
Released under the MIT License by Rui Jiang of Cacher.