/alfred-powerthesaurus

Search Powerthesaurus synonyms and antonyms from Alfred

Primary LanguagePythonMIT LicenseMIT

Power Thesaurus Search for Alfred

Ported to ALfred 5 and Python 3 from the original version by @clarencecastillo


Downloads

Search for synonyms and antonyms on Power Thesaurus from Alfred.

Installation

Get Power Thesaurus for Alfred from GitHub.

Version 3.1 is for Alfred 5. Use version 3.0 for Alfred 4

Usage

Primary commands:

  • pows <word> — Search Power Thesaurus for synonyms of <word>.
  • powa <word> — Search Power Thesaurus for antonyms of <word>.

For both primary commands:

  • or ⌘+C — Copy highlighted entry to the clipboard
  • ⌘+L — Show full query in Alfred's Large Text window
  • CMD+enter (⌘↩️) opens synonyms in browser
  • CTRL+enter (^↩️) opens antonyms in browser
  • SHIFT — Preview highlighted entry's page using quicklook

Results

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

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. There's no proper error handling in place yet, so we'll have to troubleshoot things this way for now.

Related Links

Alfred Forums

Releases

November 2022 update (Version 3.1)

  • migration to Alfred 5

March 2022 update (Version 3.0)

  • migration to Python 3
  • caching eliminated - performance (for cached items) went from ~0.06-0.12 to ~0.4-0.5 secs per query
  • now opens both antonyms (CTRL) and synonyms (CMD) in browser

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.