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 --global alfred-cacher
- Open Cacher and click on the "Apps" icon in the top bar.
- Note the API Key and Token in the footer.
- 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.