This feature would allow users to set different destination URLs for a custom bang versus the corresponding snap. The snap would default to the bang URL as that is the most used case, but the user can override the snap URL. This is useful in cases where a user has a bang to an alternate frontend or mirror for a website, but wants to have the snap search the original website that is indexed by search engines.
Here is a specific example of how a user would leverage this feature:
- User sets up a custom bang !r that redirects to their self-hosted Reddit frontend (e.g. myfrontend.com). Also if needed the user specifies the snap URL at the same time the bang is made.
- When the bang is used it operates how it does currently, "!r searchterm" , redirects to "myfrontend.com/search?q=searchterm"
- When the snap is used it uses the snap URL (if set or defaults to the bang URL), "@r searchterm" results in a Kagi search of "site:reddit.com searchterm"
This allows the user to seamlessly use their preferred frontend via the bang, while still being able to snap search the indexed reddit.com domain, since their frontend is not indexed by web search engines.