/alfred_web_search_with_fuzzy_list

🔍 Web search in 3 steps with fuzzy selection based on CSV files.

Primary LanguagePythonMIT LicenseMIT

Web Search with Fuzzy List

Web search in 3 steps with fuzzy selection based on csv files.

TOC


Download and Releases

Usage

Web Search

Multiple CSV mode

  1. sfl + keyword for web search then pressReturn/Enter
  2. CSV file name
  3. choose website

Single CSV mode

  1. sfl + keyword for web search then hold CMD(⌘) and pressReturn/Enter
  2. choose website

CSV Management

Single CSV mode

  • sflcsv => Open list.csv file.
  • sflcsv and hold CMD(⌘) => Reveal list.csv in finder.
  • sflcsv [any command] => Launch list.csv via the given command. ex: sflcsv subl (open CSV file in sublime text)
  • sflcsv [any command with argument] => Launch list.csv via the given command and argument. ex: sflcsv open -a safari (Open CSV file in Safari)

Workflow Env

  • Change the launch keyword in workflow environment variables settings. (default: sfl)

How it works

Web Search

The workflow will:

  1. Save the search keyword to {var:keyword}.
  2. Replace {query} in the list.csv arg volume with {var:keyword}.
  3. Open the arg (supposed to be a url) and copy {var:query} to clipboard.

Open csv

  1. The workflow will check given command first.
  • Open file if command not exist or without permission.

More Info

References

  1. Post on Alfred forum
  2. Fuzzy List Post on Alfred forum by @derickfay

Credit