pacmax beta

Alfred Pac by zqzten on GitHub

Alfred Web Search Suggest

Alfred search suggest workflow for various popular websites.

From their README

Alfred Web Search Suggest

Alfred search suggest workflow for various popular websites. Inspired by the official Google Suggest workflow.

Download & Install

✨ This workflow is available on official Alfred Gallery now! (which means it has been reviewed and verified by Alfred Team ✅)

If you have Alfred 5 or above, you can install and resolve dependencies with one click and enjoy in-app updates in the future.

➡️ Go to official Alfred Gallery page

If you are still using Alfred 4 or older, you can download from GitHub releases and install it (just open with Alfred) manually.

Important Note for macOS Monterey (12.0) and above

Apple has removed the system PHP since macOS Monterey (12.0), so you should install PHP to continue using this workflow.

If you have Alfred 5 or above, you can let Alfred resolve dependencies automatically.

Or you can use Homebrew to install PHP manually. After installing Homebrew, you can run the following command in Terminal to install PHP:

brew install php

Supported Websites

Details

Google

Support basic suggestions. Proxy setting is available.

google

Wikipedia

Support direct term suggestions and preview, language MUST be specified with ISO 639-1 code in the first arg. Proxy setting is available.

wikipedia-en

wikipedia-zh

Wolfram|Alpha

Support direct term suggestions. Proxy setting is available.

wolframalpha

Amazon

Support basic suggestions. Proxy setting is available.

amazon

IMDB

Support direct term suggestions and preview. Proxy setting is available.

imdb

DuckDuckGo

Support basic suggestions. Proxy setting is available.

duckduckgo

Brave Search

Support basic suggestions. Proxy setting is available.

bravesearch

Pixiv

Support basic suggestions. Proxy setting is available.

pixiv

Baidu

Support basic suggestions.

baidu

Zhihu

Support basic suggestions.

zhihu

bilibili

Support basic suggestions with personalization.

注:可以在 User Configuration(如果你使用 Alfred 4 及以下版本,则是在 Environment Variable)中设置你的 bilibili UID 以获得个性化搜索建议。你可以在你的 bilibili 个人主页的个人资料栏找到该 UID。

bilibili

Sina Weibo

Removed due to login needed.

Taobao

Support basic suggestions.

taobao

JoyBuy

Support basic suggestions.

joybuy

Bangumi

Support direct term suggestions and preview, type can be specified in the first arg.

注:共支持 6 种条目类型的搜索,分别为全部(all)、动画(anime)、书籍(book)、音乐(music)、游戏(game)、三次元(real);对于每一条搜索结果,副标题默认显示该条目的类型(如果当前搜索类型为全部)和中文名称(若有),按 ⌘ 可显示其简介(若有),按 ⌃ 可显示其排名与评分(若有)。

bangumi-all

bangumi-anime

Moegirlpedia

Support direct term suggestions and preview. Proxy setting is available.

moegirlpedia

Additional Notes

Direct Search

If you want an alternative to search exactly what you typed, you can add custom web searches in Features → Web Search of Alfred Preferences, here's a list of the search URLs above:

  • Google: built-in
  • Wikipedia: built-in
  • Wolfram|Alpha: built-in
  • Amazon: built-in
  • IMDB: built-in
  • DuckDuckGo: built-in
  • Brave Search: https://search.brave.com/search?q={query}
  • Pixiv: https://www.pixiv.net/search.php?word={query}
  • Baidu: https://www.baidu.com/s?wd={query}
  • Zhihu: https://www.zhihu.com/search?q={query}
  • bilibili: https://search.bilibili.com/all?keyword={query}
  • Sina Weibo: https://s.weibo.com/weibo?q={query}
  • Taobao: https://s.taobao.com/search?q={query}
  • JoyBuy: https://search.jd.com/Search?enc=utf-8&keyword={query}
  • Bangumi: http://bangumi.tv/subject_search/{query}
  • Moegirlpedia: https://zh.moegirl.org.cn/index.php?search={query}

Proxy Setting

Proxy setting is avaliable as:

for these websites:

  • Google
  • Wikipedia
  • Wolfram|Alpha
  • Amazon
  • IMDB
  • DuckDuckGo
  • Brave Search
  • Pixiv
  • Moegirlpedia

Here's some example settings:

  • If you use an HTTP proxy at 127.0.0.1:1087 without credentials, set proxy to http://127.0.0.1:1087
  • If you use a SOCKS5 proxy at 127.0.0.1:1086 with username user and password pass, set proxy to socks5://user:pass@127.0.0.1:1086

For more details, check the libcurl doc.

Latest release

19 earlier releases
  • 1.203 years ago
    • Add support for DuckDuckGo
    • Add support for Brave Search
    • Fix broken JoyBuy search suggestion
  • 1.193 years ago
    • Remove the old proxy environment variable (⚠️Notice: If you are using Alfred 5 or above, please set the proxy in user configuration. If you are using Alfred 4 or below, please download the for alfred 4 and older package to continue using the old environment variable.)
    • Remove Sina Weibo since it has been no function for some time
  • 1.183 years ago, 1.0 MBDownload
    • Migrate proxy setting to user configuration (⚠️Notice: If you are using Alfred 5 or above, please set the proxy in user configuration, the old environment variable will no longer work in this version.)
    • Fix Google search suggestion broken in PHP 8.2
    • Tweak queue delay behaviors
    • Update the workflow main icon
  • 1.174 years ago, 1.0 MBDownload
    • Fix some Bangumi result parse issues
  • 1.164 years ago, 1.0 MBDownload
    • Update Wolfram|Alpha search suggestion API
  • 1.154 years ago, 1.0 MBDownload
    • Update Google search suggestion API
    • Tweak Wikipedia and Bangumi's run behavior
  • 1.145 years ago, 1.0 MBDownload
    • Fixed #27
  • 1.135 years ago, 1.0 MBDownload
    • Add support for IMDB
    • Disable Sina Weibo (by removing its keyword) due to login needed
  • 1.126 years ago, 1.0 MBDownload
    • Fixed Moegirlpedia search url
    • Fixed Taobao search result count
  • 1.117 years ago, 1.0 MBDownload
    • Updated bilibili, Sina Weibo, Zhihu with latest API
  • 1.108 years ago, 1.0 MBDownload
    • Fixed some HTML entity decoding related bugs
  • 1.98 years ago, 1.0 MBDownload
    • Added support for Amazon
    • Fixed a bug which prevent Zhihu search suggestion from properly decoding
  • 1.88 years ago, 954 KBDownload
    • Fixed a severe bug which prevented any non-HTTP proxy from working

    Notice: The way setting proxy has been changed, please reconfigure your proxy setting according to the new format after the upgrade.

  • 1.78 years ago, 955 KBDownload
    • Added support for Bangumi
  • 1.68 years ago, 877 KBDownload
    • Added support for JoyBuy
  • 1.59 years ago, 803 KBDownload
    • Fixed a bug which made multi non-English characters input produce blank result in Taobao search suggestion
  • 1.49 years ago, 803 KBDownload
    • Improved Zhihu search suggestion to support articles
    • Unified icons
  • 1.39 years ago, 833 KBDownload
    • Added support for Pixiv
  • 1.29 years ago, 786 KBDownload
    • Added support for Moegirlpedia