pacmax beta

Alfred Pac by clarencecastillo on GitHub

powerthesaurus

Search Powerthesaurus synonyms and antonyms from Alfred

From their README

Power Thesaurus Search for Alfred

Retired (Nov 2026). Power Thesaurus now answers non-browser clients with a Cloudflare bot check (HTTP 403), so this workflow can no longer fetch results. Getting past a bot check is not something this project will do, so it is no longer maintained.

The Python 3 / Alfred 5 port on this branch works against a stand-in API and is kept for reference (the tests pass); it just has nothing to talk to. If you need a thesaurus in Alfred, look for another workflow in the Alfred gallery.

Search for synonyms and antonyms on Power Thesaurus from Alfred 5.

Installation

Requirements:

  • Alfred 5 with the Powerpack
  • Python 3 at /usr/bin/python3. macOS no longer ships Python 2, and /usr/bin/python3 comes with the Xcode Command Line Tools (macOS offers to install them the first time the workflow runs, or run xcode-select --install). Nothing else needs installing.

Download the latest PowerThesaurus-x.x.x.alfredworkflow from GitHub and open it to import it into Alfred.

The workflow checks GitHub for a newer release once a day and shows an "Update available" entry on top of the results; press ⌘+↩ on it to open the download page.

Usage

Primary commands:

  • pows — Search Power Thesaurus for synonyms of ``.
  • powa — Search Power Thesaurus for antonyms of ``.

For both primary commands:

  • ↩ or ⌘+C — Copy highlighted entry to the clipboard
  • ⌘+L — Show full query in Alfred's Large Text window
  • ⌘+↩ — Open highlighted entry in browser
  • SHIFT — Preview highlighted entry's page using quicklook

Results

Resulting synonyms or antonyms will be sequentially listed according to user rating.

Development

There is nothing to install for the workflow itself: it uses only the Python standard library. To run the tests:

/usr/bin/python3 -m venv .venv
.venv/bin/pip install pytest
.venv/bin/pytest

The tests replay recorded API answers; tests/test_live.py makes one real request and is skipped when the API is unreachable. See AGENTS.md for the layout and how to try the script filter by hand.

Troubleshooting

SSL Errors

If you're having SSL issues, try temporarily disabling it by setting the workflow environment variable ALFRED_PT_SSL_VERIFICATION to False. This will bypass SSL verification as a workaround while waiting for the SSL certificate to be rectified. You can check Power Thesaurus's SSL certificate status here. Be sure to set it back to True when all's green.

Other Errors

For other errors, please open an issue describing how you got the error and together with the logs from Alfred > Workflows > Debugging Mode if possible. Errors from the API (for example its firewall refusing a request) are shown as an entry in the result list.

Related Links

GitHub Repository Alfred Forums Packal

Releases

  1. Bump the version in src/version, metadata.json and the top-level version key of src/info.plist (a test checks they agree).
  2. Run scripts/build.sh to create PowerThesaurus-x.x.x.alfredworkflow and commit it in place of the old one.
  3. Publish it as a GitHub release tagged vx.x.x (the update check reads the latest release tag).

Licensing

This workflow is released under the MIT Licence.

By using this workflow, you acknowledge, understand and signify your agreement to Power Thesaurus Website's terms and conditions, and privacy statement.

Acknowledgements

Big shoutout to the heroes that made Power Thesaurus possible. Help keep the platform free for everyone by giving your support.

It is heavily based on deanishe's Alfred-Workflow, also MIT-licensed.

Latest release

  • 2.1.36 years ago, 1.1 MBDownload

    Fixed bug introduced in previous version where newline character is being included in the "User-Agent" header.

6 earlier releases
  • v.2.1.26 years ago, 1.1 MBDownload

    This release exposes a workflow environment variable ALFRED_PT_SSL_VERIFICATION to let users easily toggle SSL verification.

    Many thanks to @deanishe and @rooted-admin for suggesting this!

    Other than that, this release also includes a minor optimisation in versioning by reading it from the included version file instead of having to manually bump it every time in src/api.py.

  • 2.1.16 years ago, 1.1 MBDownload

    Hotfix for the SSL verification error by disabling it

  • 2.1.06 years ago, 1.1 MBDownload
    • Major extraction overhaul by switching to Power Thesaurus' new API
    • Extended caching duration to 2 hours
    • Added init.sh script for easier setup for development
    • Enabled auto-update feature which will check for new releases once a day from GitHub repository
  • 2.07 years ago, 1.4 MBDownload
    • Updated scraping method to the newer powerthesaurus instead of classicthesaurus
    • Incorporated quicklook preview to search result entries
    • Added CMD modifier to open result item in browser
  • 1.28 years ago, 388 KBDownload

    Hotfixed scraping error due to deprecation of powerthesaurus website.

    Many thanks to @jessestuart for working on this quick patch!

  • 1.09 years ago, 350 KBDownload