[PR #1132] [MERGED] Custom bangs #1089

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

📋 Pull Request Information

Original PR: https://github.com/benbusby/whoogle-search/pull/1132
Author: @pantherman594
Created: 3/22/2024
Status: Merged
Merged: 4/19/2024
Merged by: @benbusby

Base: mainHead: feature/bang_overrides


📝 Commits (2)

  • 963875b Custom bangs
  • 1cca8da Move bang loading and suggestions to bangs.py

📊 Changes

7 files changed (+112 additions, -23 deletions)

View changed files

📝 .gitignore (+3 -1)
📝 README.md (+10 -0)
📝 app/__init__.py (+8 -1)
📝 app/routes.py (+5 -17)
app/static/bangs/00-whoogle.json (+14 -0)
📝 app/utils/bangs.py (+65 -4)
📝 test/test_routes.py (+7 -0)

📄 Description

Add the possibility for user-defined bangs, stored in app/static/bangs. These are parsed in alphabetical order, with the DDG bangs parsed first.

Closes #289


🔄 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/1132 **Author:** [@pantherman594](https://github.com/pantherman594) **Created:** 3/22/2024 **Status:** ✅ Merged **Merged:** 4/19/2024 **Merged by:** [@benbusby](https://github.com/benbusby) **Base:** `main` ← **Head:** `feature/bang_overrides` --- ### 📝 Commits (2) - [`963875b`](https://github.com/benbusby/whoogle-search/commit/963875bdbbdfa843b8f10ff742cb6a8556139ada) Custom bangs - [`1cca8da`](https://github.com/benbusby/whoogle-search/commit/1cca8da0fb786e16b3834efc4f934ffa920fad15) Move bang loading and suggestions to bangs.py ### 📊 Changes **7 files changed** (+112 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+3 -1) 📝 `README.md` (+10 -0) 📝 `app/__init__.py` (+8 -1) 📝 `app/routes.py` (+5 -17) ➕ `app/static/bangs/00-whoogle.json` (+14 -0) 📝 `app/utils/bangs.py` (+65 -4) 📝 `test/test_routes.py` (+7 -0) </details> ### 📄 Description Add the possibility for user-defined bangs, stored in `app/static/bangs`. These are parsed in alphabetical order, with the DDG bangs parsed first. Closes #289 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 20:37:37 +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#1089
No description provided.