Implements Kagi Search bangs directly in Raycast without sending traffic through a third party website π
Search Router lets you search specific websites from Raycast using shortcuts by implementing Kagi Search bangs. For example:
!g cats searches Google for "cats"!w cats searches Wikipedia for "cats"Help me fix my code !t3 uses t3.chat to ask AI to fix your codemarkdown parser @gh searches for "markdown parser" specifically within Github's domain (site:github.com)Pro Tip: β¨ For the best experience, set up Search Router as a Fallback Command in Raycast. This allows you to use bangs directly from the main Raycast search without having to first open the extension!
Type your query with an optional bang prefix/suffix:
!yt funny videos searches YouTubefunny videos uses your default search enginefunny videos @yt searches for "funny videos" only within YouTube's domainView and manage all available search engines with filtering options. You can:
Quickly add a new custom search engine with a personalized trigger and URL.
Example custom search engines:
!jira for your company's Jira issue tracker: https://company.atlassian.net/browse/{{{s}}}!cgitlab for a self hosted GitLab: https://gitlab.company.com/search?search={{{s}}}For the most seamless experience:
Contributions welcome! Submit a pull request to add more search engines or improvements.
This extension uses search engine definitions from Kagi's bangs repository. Here's how to add or update search engines:
To add a new built-in search engine:
To update this extension with latest engines:
npm run download-kagi-bangs to fetch latest definitionsnpm run dev