Skip to content

feat: add !gw for google web-only#148

Open
CALLmeDOMIN wants to merge 2 commits intoT3-Content:mainfrom
CALLmeDOMIN:google-no-ai-search
Open

feat: add !gw for google web-only#148
CALLmeDOMIN wants to merge 2 commits intoT3-Content:mainfrom
CALLmeDOMIN:google-no-ai-search

Conversation

@CALLmeDOMIN
Copy link
Copy Markdown

@CALLmeDOMIN CALLmeDOMIN commented Mar 23, 2026

New bang for google search without the ai overview

Note

Add !gweb bang for Google web-only search

Adds a new gweb bang to bang.ts that searches Google with the udm=14 parameter, which filters results to web pages only.

Macroscope summarized 707b32d.

Summary by CodeRabbit

  • New Features
    • Added a "Google (Web Only)" search option accessible via the "gweb" keyword to produce web-only Google search results.
    • This new option integrates alongside existing search choices; no existing search entries were removed or modified.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b8919081-cb22-4d5c-9e70-b5f11a032d53

📥 Commits

Reviewing files that changed from the base of the PR and between c50d13d and 707b32d.

📒 Files selected for processing (1)
  • src/bang.ts
✅ Files skipped from review due to trivial changes (1)
  • src/bang.ts

📝 Walkthrough

Walkthrough

Added a new bang entry to the exported bangs array in src/bang.ts with keyword t: "gweb", title s: "Google (Web Only)", URL template u: "https://www.google.com/search?q={{{s}}}&udm=14", and category c: "web".

Changes

Cohort / File(s) Summary
Bang entry addition
src/bang.ts
Inserted a new bang object { t: "gweb", u: "https://www.google.com/search?q={{{s}}}&udm=14", s: "Google (Web Only)", c: "web" } into the exported bangs array (6 lines added).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • add npmx bang #147: Adds a different bang entry to the same src/bang.ts bangs array using the same pattern.

Poem

🐇 I hopped a quick route, tail a-flip,
A tiny bang tucked in my grip,
"gweb" points to Google, clear and neat,
Web-only pathways, tidy and sweet,
Hooray — a rabbit's search treat! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title refers to '!gw' but the actual implementation uses 'gweb' as the keyword, making the title inaccurate. Update the title to 'feat: add !gweb for google web-only' to match the actual bang keyword implemented in the code.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@src/bang.ts`:
- Around line 122074-122079: The new Google Web Only bang object currently uses
the keyword "gw" (field t) which conflicts with the existing Gentoo Wiki entry
and will be shadowed by Array.find; update the t value to a unique keyword such
as "gwo" or "gweb" (or another unused token) in the object where t: "gw",
preserving the rest of the fields (u, s, c) so the entry becomes reachable and
avoids the Gentoo Wiki collision.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0e19933b-12c8-43be-8cd9-32ec7ab52fb5

📥 Commits

Reviewing files that changed from the base of the PR and between c1b821d and c50d13d.

📒 Files selected for processing (1)
  • src/bang.ts

Comment thread src/bang.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant