pacmax beta

Alfred Pac by caleb531 on GitHub

Youversion Suggest Alfred

An Alfred workflow for searching the YouVersion Bible quickly and easily

From their README

YouVersion Suggest for Alfred

Copyright 2014-2026 Caleb Evans
Released under the MIT license

tests Coverage Status

YouVersion Suggest is an Alfred workflow which allows you to search the online YouVersion Bible quickly and conveniently.

The workflow will be solely supporting Alfred 5.5 going forward, but the latest releases for Alfred 4 and earlier will remain available here for your convenience.

Disclaimer

This project is not affiliated with YouVersion, and all Bible content is copyright of the respective publishers.

This tool also retrieves Bible content directly from YouVersion for personal use. However, please be aware that this functionality does not fully comply with YouVersion's Terms of Use.

Installation

To download the workflow, simply click one of the download links below. Please note that only the Alfred 5 version has all the latest features.

Download YouVersion Suggest (Alfred 5)

Download YouVersion Suggest (Alfred 4)

Command Line Tools

If you are installing the workflow for the first time, you may be prompted to install Apple's Command Line Tools. These developer tools are required for the workflow to function, and fortunately, they have a much smaller size footprint than full-blown Xcode.

Prompt to install Apple

Usage

Filtering by reference

The yvfilter keyword allows you to filter the YouVersion Bible by reference, meaning you can jump to a particular Bible reference (book, chapter, verse, or range of verses) with just a few keystrokes.

Pro Tip: Type yvf and press the tab key to quickly filter by reference (as this will expand to yvfilter).

Example queries

  • yvfilter luke => Luke
  • yvfilter eph 3 => Ephesians 3
  • yvfilter 1t3es => 1 Thessalonians 3 (ESV), 1 Timothy 3 (ESV)
  • yvfilter mat 6:34 nlt => Matthew 6:34 (NLT)
  • yvfilter 1 co 13.4-7 => 1 Corinthians 13:4-7

Filtering by reference

Actions

  • Choosing a result will open the Bible reference on the YouVersion website

  • Choosing a result while pressing command will copy the contents of the Bible reference to the clipboard

  • Choosing a result while pressing ctrl will open a Google search for the Bible reference.

  • Choosing a result while pressing shift will preview the contents of the Bible reference; hitting the Escape key will return you to the results

  • Choosing a result while pressing option will copy the URL of the Bible reference to the clipboard

  • Choosing a yvsearch result while pressing command-shift will switch to yvfilter to filter by that particular Bible reference. This allows you to change the version or add on subsequent verses, after which you can then copy the reference contents or perform some other action

  • Pressing command-c while a result is selected will copy to the clipboard the full Bible reference address, such as 1 Corinthians 13:4-7 (ESV)

  • Pressing command-l while a result is selected will show the full Bible reference address as Large Type

Searching by content

You can also search the YouVersion Bible by content using the yvsearch keyword. As you type, YouVersion Suggest will display Bible verses whose content contains your given keywords.

Note that when using the yvsearch filter, YouVersion Suggest will only search for verses in your preferred version. To learn more about setting your preferred version in YouVersion Suggest, see Setting your preferred version.

Example queries

  • yvsearch without faith => Hebrews 11:6
  • yvsearch do not worry => Matthew 6:34

Searching by content

Actions

You can perform all the same actions on a result with yvsearch as you can with yvfilter.

Setting your preferred language

YouVersion Suggest allows you to change the languages used for Bible references and versions. To do so, type yvset language into Alfred, and the list of supported languages will then appear. You may then choose another language to be your preferred language.

Currently, YouVersion Suggest supports the following languages:

  • Arabic (arb)
  • Bulgarian (bul)
  • Dutch (nld)
  • Chinese - Simplified (zho)
  • Chinese - Traditional (zho-TW)
  • English (eng)
  • Finnish (fin)
  • French (fra)
  • German (deu)
  • Greek (ell)
  • Greek - Koine (grc)
  • Hindi (hin)
  • Indonesian (ind)
  • Italian (ita)
  • Japanese (jpn)
  • Khmer (khm)
  • Korean (kor)
  • Latin (lat)
  • Persian (pes)
  • Polish (pol)
  • Portuguese (por)
  • Portuguese - Portugal (por-PT)
  • Romanian (ron)
  • Russian (rus)
  • Spanish (spa)
  • Spanish - Spain (spa-ES)
  • Swahili (swh)
  • Swedish (swe)
  • Ukrainian (ukr)
  • Vietnamese (vie)

Setting your preferred version

You may also set your preferred version (translation) used for Bible references (where you have not explicitly specified the version in the query). To do so, type yvset version into Alfred, and the list of supported versions (for the currently-set language) will appear.

Pro Tip: Type yvset v and press the tab key to quickly see the list of available versions to set (as this will expand to yvset version).

To select a version from the list of versions more quickly, you may optionally type a query after yvset version to filter the list of versions.

Example queries

  • yvset version esv => ESV
  • yvset version a => AMP

Setting your preferred search engine

You may also set your preferred search engine used for searching selected Bible references. To do so, open the YouVersion Suggest workflow in Alfred Preferences and double-click the Default Web Search object. You can then choose a search engine to set as your preferred for YouVersion Suggest.

Showing verse numbers in copied Bible content

You can choose whether or not to include verse numbers in copied Bible verses by typing yvset versenumbers yes.

Stripping line breaks in copied Bible content

You can choose whether or not to strip line breaks from copied Bible content, so that the verses you copy appear all on one line (even if it's from a psalm, for example). To do this, type yvset linebreaks no.

Making "Copy to Clipboard" the default action

If you would prefer to just press Enter (without holding down the command key) to copy the content of a Bible reference, type yvset copybydefault yes. When this is enabled, you can still open the selected reference on the YouVersion website by holding down the command key.

Universal Actions

Version 15 of the workflow brings integration with Alfred's Universal Actions feature, enabling you to pass any arbitrary text to the workflow when you select it within an app or on a webpage.

To use this, you must enable the Workflow Universal Actions checkbox in Alfred Preferences, under Features > Universal Actions > Actions.

In particularly, there are two universal actions available:

  1. Look up Bible address
  2. Search phrase in Bible

Latest release

  • 15.3.18 months ago, 132 KBDownload
    • Fixed an error while copying/previewing verses from yvsearch results (#31)
      • All users are strongly encouraged to update
19 earlier releases
  • 15.3.08 months ago, 132 KBDownload
    • Added language support for Latin, Koine Greek, and Modern Greek
    • Updated Bible data to latest from YouVersion
  • 15.2.39 months ago, 128 KBDownload
    • Fixes "Copy to Clipboard" functionality caused by recent changes on YouVersion's website; all users are strongly encouraged to update
  • 15.2.210 months ago, 128 KBDownload
    • Fixed a bug where search results would always return in NIV regardless of the user's specified version
  • 15.2.11 year ago, 128 KBDownload
    • Fixed a nasty bug where the "Search by Phrase" command and the "Preview in Alfred" mode would return blank because of an caching issue; all users are strongly encouraged to update
      • The cache implementation has been reworked to use a proper MRU cache, so the cache will operate more correctly and efficiently
  • 15.2.01 year ago, 127 KBDownload
    • Added a new command-shift action to yvsearch results which will switch to yvfilter to filter by that particular Bible reference. This allows you to change the version or add on subsequent verses, after which you can then copy the reference contents or perform some other action
  • 15.1.02 years ago, 126 KBDownload
    • Added language support for Filipino (tgl)
      • The default version is Magandang Balita Biblia 2005 (MBB05)
  • 15.0.02 years ago, 125 KBDownload

    YVS v15 is a major release with welcome new features, improvements, and other fixes. Please note that release requires Alfred 5.5, and this version of the workflow cannot be backported to Alfred 4.

    New Features

    Preview Mode

    YVS v15 introduces a fully-featured preview mode (using Alfred 5.5's new Text View)! Now, if you hold down the Shift key when actioning a result, you can preview the contents of the reference directly in Alfred! This preview mode replaces the old Quick Look functionality.

    Once you're in the preview mode, you can then use the usual keyboard shortcuts to act on the reference, including Command+Enter for copying the contents to the clipboard, and Control+Enter for searching the reference on the web.

    <img width="606" alt="Screenshot 2024-04-13 at 11 39 32 AM" src="https://github.com/caleb531/youversion-suggest-alfred/assets/872474/da2bbf52-367b-4e8d-a166-c64c91d2e572">

    Universal Actions

    YVS v15 brings integration with Alfred's Universal Actions feature, enabling you to pass any arbitrary text to the workflow when you select it within an app or on a webpage. To use this, you must enable the Workflow Universal Actions checkbox in Alfred Preferences, under Features > Universal Actions > Actions.

    In particularly, there are two universal actions available:

    1. Look up Bible address (e.g. if you select "Philippians 4:13")
    2. Search phrase in Bible

    Copy URL to clipboard

    You can also now copy the URL of the selected reference to the clipboard by holding down the Option key while actioning the result. This can be useful if you want to share the YouVersion link to a particular reference, rather than the textual contents of the reference.

    Improvements

    Latest Bible data from YouVersion

    YVS v15 comes bundled with the latest Bible data from the YouVersion website. For details on what's changed, please see the diff on the youversion-suggest-data repository.

    Error handling when setting preferences

    If, for any reason, you encounter an error while trying to change a preference (i.e. using the yvset keyword), YVS v15 now spawns a notification indicating that it failed to set the preference.

    Error handling when clearing cache

    If, for any reason, you encounter an error while trying to clear the workflow cache (i.e. using the yvclearcache keyword), YVS v15 now spawns a notification indicating that it failed to clear the cache.

    Housekeeping

    Cleaned up workflow objects

    The entire workflow has been rewired to utilize Alfred's External Triggers feature, which eliminates the tangled mess of connections between the various workflow objects. This means YVS v15 is significantly more maintainable and easier to tweak (if you are the adventurous type)!

    Refactored test suite

    The test suite has been refactored to be class-based, thus adhering to the conventional paradigm for writing unit tests with the unittest module. Additional tests have also been added for the new Preview Mode, as well as for other specific edge cases (e.g. related to reference formats).

  • 14.2.22 years ago, 120 KBDownload
    • Fixed a serious bug where Copy to Clipboard functionality broke completely due to recent changes YouVersion made to their web app
  • 14.2.12 years ago, 120 KBDownload
    • Fixed a bug where line breaks within verses would not be preserved (e.g. Psalm 23:1 in the NASB1995)
  • 14.2.02 years ago, 120 KBDownload
    • Added language support for Ukrainian (ukr)
      • To use, look for Українська in the Language dropdown for the "Set Bible Preferences" command
      • CUV has been set as the default version/translation for this language, but if you want to change it, feel free
  • 14.1.53 years ago, 119 KBDownload
    • Fixes a bug where extraneous whitespace would appear in verse content containing italicized words
      • Versions like NKJV (and perhaps NASB as well) were particular affected; if you use these versions, you are encouraged to update
  • 14.1.43 years ago, 119 KBDownload
    • Fixes a small bug where the verse content would not display for each yvsearch result
  • 14.1.33 years ago, 119 KBDownload
    • Fixes a bug where extraneous content may end up in copied chapter content
  • 14.1.23 years ago, 119 KBDownload
    • Fixes a regression introduced in v14.1.1 that impacts the copying of verse content for select verses
    • Version v14.1.1 already fixes an issue with copying verse content to the clipboard, so if you are using v14.1.1 or older, you will definitely want to update
  • 14.1.13 years ago, 119 KBDownload
    • Fixes a bug where the content individual verses (or verse ranges) could not be copied to the clipboard
    • Fixes a bug where the internal caching optimizations introduced in v14.1.0 (see here) was not actually operating correctly
  • 14.1.03 years ago, 119 KBDownload
    • Fixed a critical bug where the "Copy to Clipboard" functionality would return an error for verses that have not been copied previously (#25); all users are encouraged to upgrade to this release
    • The internal caching mechanism has been optimized to use up to 70% less disk space
  • 14.0.03 years ago, 118 KBDownload

    YouVersion Suggest v14 is a major new release with new features, an important bugfix, the latest Bible data from YouVersion, and overall stability improvements.

    New features

    • Added a new "Line Breaks" preference which controls whether or not line breaks are included in copied Bible content
      • This can be useful for copying verses from books like Psalms and pasting them as a single line
    • Added a mechanism to automatically install the required Apple Command Line Tools if they are not already installed (or need to be updated)
    • Upgraded to the latest Bible data from YouVersion (this removes the MNT translation for English, and features updates for other languages)

    Bug fixes

    • Fixes a serious issue where the yvsearch command would return no results (#24)

    Under-the-hood

    • Improved the robustness of fetching Bible content and search results
    • Consolidating redundant code, simplifying complex logic, and adding additional test cases for improved stability
    • Decreased the maximum number of entries allowed in the content cache so YouVersion Suggest does not require as much space on your local machine
  • 13.1.03 years ago, 116 KBDownload
    • Added support for the Romanian bible (ron); the default version is VDC
    • Pulled the latest data from YouVersion for existing languages
  • 13.0.14 years ago, 115 KBDownload
    • Updated workflow icon to be latest Bible app logo
    • Fixed a typo in one of the preferences (i.e. when using the yvset command)