Skip to content

feat: default search to Kagi - #69

Merged
ralyodio merged 1 commit into
mainfrom
feature/default-kagi-search
Aug 3, 2026
Merged

feat: default search to Kagi#69
ralyodio merged 1 commit into
mainfrom
feature/default-kagi-search

Conversation

@ralyodio

@ralyodio ralyodio commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Makes Kagi (https://kagi.com/search?q=) the default search engine everywhere TronBrowser picks one.

Changes

  • Omnibox (apps/desktop/launcher/tronbrowser) — the once-per-profile default_search_provider_data seed now points at Kagi (suggestions_urlhttps://kagi.com/api/autosuggest?q={searchTerms}). The sentinel filename carries the engine name (.tron-search-kagi), so profiles created under the old NeoSearch default pick the new default up once; a user's own chrome://settings/search choice is still respected afterwards.
  • New tab (ai-sidebar/newtab.js) — kagi added to SEARCH_ENGINES, is the initial searchEngine, and is the fallback when a stored id is unknown. Placeholder and quick links updated.
  • Settings (extension options.html + web settings.html, and both settings-sections.js) — Kagi is the first option and labelled the default; the stored-value fallback resolves to kagi.
  • Mobile (apps/mobile/src/lib/navigation.ts) — the in-app browser's address-bar search falls back to Kagi. Tests updated.

NeoSearch, Xprivo, DuckDuckGo, Altpower, and Oxiverse remain available as alternatives; the Tor engine list is untouched.

Verification

  • pnpm build then pnpm test — full workspace green (mobile 6/6, desktop 113, api 62, browser-core 12, plus the rest).
  • pnpm lint — exit 0 (36 pre-existing no-explicit-any warnings in services/api, untouched).
  • bash -n apps/desktop/launcher/tronbrowser — clean.

Note

Kagi requires a signed-in account; signed-out users hit Kagi's landing page rather than results. Flagging in case the alternatives should be reordered for signed-out users.

🤖 Generated with Claude Code

Kagi (https://kagi.com/search?q=) becomes the default search engine
everywhere TronBrowser picks one:

- Omnibox: the launcher's once-per-profile default_search_provider_data
  now seeds Kagi. The sentinel filename carries the engine name
  (.tron-search-kagi), so profiles created under the old NeoSearch
  default get the new default applied once, and a user's own
  chrome://settings/search choice is still respected afterwards.
- New tab (ai-sidebar): Kagi is added to SEARCH_ENGINES, is the initial
  value of searchEngine, and is the fallback for an unknown stored id.
- Settings (extension options + web): Kagi is the first option and is
  labelled the default; the stored-value fallback now resolves to kagi.
- Mobile: the in-app browser's address-bar search falls back to Kagi.

NeoSearch, Xprivo, DuckDuckGo, Altpower, and Oxiverse remain available
as alternatives, and the Tor engine list is untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

vu1nz Security Review

0 finding(s) in PR #?

No security issues found.

@ralyodio
ralyodio marked this pull request as ready for review August 3, 2026 07:10
@ralyodio
ralyodio merged commit 4092358 into main Aug 3, 2026
9 checks passed
@ralyodio
ralyodio deleted the feature/default-kagi-search branch August 3, 2026 07:10
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