[PR #96] [MERGED] Added ddg-style !bang-operators #785

Closed
opened 2026-02-25 20:36:43 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/96
Author: @marvinborner
Created: 6/25/2020
Status: Merged
Merged: 10/13/2020
Merged by: @benbusby

Base: developHead: develop


📝 Commits (5)

  • dd9d87d Added ddg-style !bang-operators
  • 5575bcd Merge branch 'develop' into develop
  • 348301f Added bang operator list generator
  • 2126742 Merge branch 'develop' into develop
  • ae05e8f Finished basic implementation of DDG bang feature

📊 Changes

7 files changed (+70 additions, -2 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 app/__init__.py (+8 -0)
📝 app/routes.py (+11 -0)
📝 app/static/js/autocomplete.js (+8 -2)
app/utils/gen_ddg_bangs.py (+26 -0)
📝 app/utils/routing_utils.py (+6 -0)
📝 test/test_routes.py (+10 -0)

📄 Description

I've just found this project and immediately fell in love with it!
I'm a long-time duckduckgo user and would love to use the famous 13.000+ !bang operators (if you don't know them, look them up - they're awesome!). While there is the "I'm feeling lucky"-bang already (#35), all the other operators are still missing.
I've created this pull request as a kind of proof of concept and it's definitely not mergeable yet. It uses hardcoded operators and the functions are scattered around in the code (I'm not that comfortable with the codebase, yet). The best-case-scenario for me (personally) would be the ability to use all of the ddg !bang operators, and I'm sure that many others would love this, too.

Basically, this is a general discussion whether this feature should get implemented and how exactly this could be accomplished without having a giant list of operators in the source-code.

Thanks for considering the implementation of this feature.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/benbusby/whoogle-search/pull/96 **Author:** [@marvinborner](https://github.com/marvinborner) **Created:** 6/25/2020 **Status:** ✅ Merged **Merged:** 10/13/2020 **Merged by:** [@benbusby](https://github.com/benbusby) **Base:** `develop` ← **Head:** `develop` --- ### 📝 Commits (5) - [`dd9d87d`](https://github.com/benbusby/whoogle-search/commit/dd9d87d25bacc48e0287650c46cea02b71ace81d) Added ddg-style !bang-operators - [`5575bcd`](https://github.com/benbusby/whoogle-search/commit/5575bcd0af97c009ea4be68be78766f24781273b) Merge branch 'develop' into develop - [`348301f`](https://github.com/benbusby/whoogle-search/commit/348301f201651c7ebc04db2cfbee8f9ebaa5c1ea) Added bang operator list generator - [`2126742`](https://github.com/benbusby/whoogle-search/commit/2126742b76b245adb930fe474ecea43ed8618dfb) Merge branch 'develop' into develop - [`ae05e8f`](https://github.com/benbusby/whoogle-search/commit/ae05e8ff8b4100f32990ef4bf6d918046ac15e9e) Finished basic implementation of DDG bang feature ### 📊 Changes **7 files changed** (+70 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `app/__init__.py` (+8 -0) 📝 `app/routes.py` (+11 -0) 📝 `app/static/js/autocomplete.js` (+8 -2) ➕ `app/utils/gen_ddg_bangs.py` (+26 -0) 📝 `app/utils/routing_utils.py` (+6 -0) 📝 `test/test_routes.py` (+10 -0) </details> ### 📄 Description I've just found this project and immediately fell in love with it! I'm a long-time duckduckgo user and would love to use the famous 13.000+ !bang operators (if you don't know them, look them up - they're awesome!). While there is the "I'm feeling lucky"-bang already (#35), all the other operators are still missing. I've created this pull request as a kind of proof of concept and it's definitely not mergeable yet. It uses hardcoded operators and the functions are scattered around in the code (I'm not that comfortable with the codebase, yet). The best-case-scenario for me (personally) would be the ability to use all of the ddg !bang operators, and I'm sure that many others would love this, too. Basically, this is a general discussion whether this feature should get implemented and how exactly this could be accomplished without having a giant list of operators in the source-code. Thanks for considering the implementation of this feature. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:36:43 +03:00
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#785
No description provided.