[GH-ISSUE #35] "I'm Feeling Lucky" with shortcut #23

Closed
opened 2026-02-25 20:34:42 +03:00 by kerem · 3 comments
Owner

Originally created by @icelander on GitHub (May 12, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/35

Describe the feature you'd like to see added
If you put an exclamation point at the beginning of your search, Whoogle would get the first result and redirect you to that page securely and privately.

Describe which parts of the project this would modify (front end/back end/configuration/etc)
When receiving the search query, check the beginning of the string for ! . If it's there, remove it from the search query and search Google. When processing the results, do a redirect to the first one instead of showing the search results.

Additional context
DuckDuckGo has the concept of Bangs which are shortcuts to specific search results. The most useful is the I'm Feeling Lucky, which is just ! . In the future Whoogle could have other ones, or the ability to configure your own.

Originally created by @icelander on GitHub (May 12, 2020). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/35 **Describe the feature you'd like to see added** If you put an exclamation point at the beginning of your search, Whoogle would get the first result and redirect you to that page securely and privately. **Describe which parts of the project this would modify (front end/back end/configuration/etc)** When receiving the search query, check the beginning of the string for `! `. If it's there, remove it from the search query and search Google. When processing the results, do a redirect to the first one instead of showing the search results. **Additional context** DuckDuckGo has the concept of [Bangs](https://duckduckgo.com/bang) which are shortcuts to specific search results. The most useful is the I'm Feeling Lucky, which is just `! `. In the future Whoogle could have other ones, or the ability to configure your own.
Author
Owner

@benbusby commented on GitHub (May 12, 2020):

This is a really great idea, thanks for the suggestion! It doesn't sound too hard to add it in either, so I'll try to work this into the next release.

<!-- gh-comment-id:627650499 --> @benbusby commented on GitHub (May 12, 2020): This is a really great idea, thanks for the suggestion! It doesn't sound too hard to add it in either, so I'll try to work this into the next release.
Author
Owner

@icelander commented on GitHub (May 15, 2020):

Submitted a PR :)

<!-- gh-comment-id:628989808 --> @icelander commented on GitHub (May 15, 2020): [Submitted a PR](https://github.com/benbusby/whoogle-search/pull/46) :)
Author
Owner

@benbusby commented on GitHub (May 18, 2020):

Merged in #46

<!-- gh-comment-id:630296282 --> @benbusby commented on GitHub (May 18, 2020): Merged in #46
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#23
No description provided.