Skip to content

Latest commit

 

History

History
90 lines (51 loc) · 4.15 KB

README.md

File metadata and controls

90 lines (51 loc) · 4.15 KB

Process

Process is a mega workflow for Alfred that contains a bunch of custom automations that I (Artem Chistyakov, temochka.com) built over the years.

Custom searches

I like to add my searches as workflows because it makes it easier to sync them across multiple machines (I don’t use Dropbox sync).

Rubygems.org

Type gem <query> to jump to a gem on Rubygems.org.

GitHub Logo

GitHub

Type gh <repo> jump to one of your repositories on GitHub. Blazing fast, makes no API queries in real-time, allows for fuzzy-searching. Hold to copy the URL into clipboard instead of opening in the web browser. Set GITHUB_TOKEN to a token with repository access in workflow settings. Use gh-refresh to periodically refresh the cache.

Gem Icon

Jekyll

I use this in combination with my jekyll-alfred_json plugin. Type blog <title> to fuzzy-search blog posts. Can insert public URLs, open the Markdown file for editing or even generate Liquid permalinks for quickly inserting into new posts when writing.

Cogs Icon

Misc

AppleScript launcher

Run a registered AppleScript automation for the currently focused app by pressing the specified shortcut. Alternatively, run a cross-app automation via either:

  • proc keyword;
  • [[@ snippet trigger.

Requires the SCRIPTS_DIR variable to be set. The specified directory should be structured in the following way: each supported app gets a subdirectory named after its bundle id containing the scripts accompanied by a launcher.json file written in Alfred’s Script Filter format. See my AppleScript collection for an example.

a screenshot of a Notes app window with Alfred displayed on top of it. Alfred displays the list of registered automations.

Browser shortcut

Press ++\ to launch the default browser. Useful if you use diffrent default browsers on different machines and always forget which one is which.

Image sharing

Clip a screenshot (+++4 or +++3), then type imglink keyword into Alfred to upload the image and paste the link. Alternatively, invoke the workflow as a File Action for any file.

The workflow requires the following workflow variables to be set in Alfred:

  • IMAGE_UPLOAD_HOSTNAME - the hostname for your image hosting server, e.g. images.example.org;
  • IMAGE_UPLOAD_SSH_HOSTNAME - the hostname that provides SSH access to your image hosting server’s filesystem;
  • IMAGE_UPLOAD_SSH_USER - the SSH user to use when connecting to the server;
  • IMAGE_UPLOAD_WEBROOT_PATH - the server path where to put the uploaded file;

Clipboard manipulation

Convert current clipboard contents to any of the following formats (if possible):

  • text
  • raw HTML
  • RTF interpreted as HTML
  • Markdown table
  • URL

Bookmarks

Process provides an interface to my radically simple plain text bookmarks manager. Bookmarks are stored in a markdown file in my home directory (~/.bookmarks.md) in the following format:

# Titles are ignored

Bookmark 1
https://example.org/1

## This title is also ignored

Bookmark 2
https://example.org/2

Those bookmarks are searchable via Alfred's Script Filter, like this:

a screenshot of an Alfred window with entered 'go elm' command showing a list of bookmarks matching 'Elm' keyword.