Skip to content

feat(websearch): add DuckDuckGo as free local web search provider#13368

Open
Shiina18 wants to merge 1 commit intoCherryHQ:mainfrom
Shiina18:main
Open

feat(websearch): add DuckDuckGo as free local web search provider#13368
Shiina18 wants to merge 1 commit intoCherryHQ:mainfrom
Shiina18:main

Conversation

@Shiina18
Copy link

@Shiina18 Shiina18 commented Mar 10, 2026

Add DuckDuckGo as a new web search provider option. DuckDuckGo is a free local provider following the same pattern as Baidu and Bing.
#13373

Changes:

  • Add LocalDuckDuckGoProvider implementation
  • Add DuckDuckGo logo asset
  • Register DuckDuckGo in WebSearchProviderFactory
  • Add DuckDuckGo configuration in webSearchProviders.ts
  • Add migration (v200) to add DuckDuckGo provider for existing users
  • Update UI components to display DuckDuckGo logo

What this PR does

Before this PR:

Cherry Studio did not support DuckDuckGo as a web search provider.

After this PR:

Users can now select DuckDuckGo as a web search provider in settings. DuckDuckGo is a free local provider. It is a good option for users who want a free, privacy-oriented search backend alongside existing options like Baidu and Bing.

Fixes #

Why we need it and why it was done in this way

The following tradeoffs were made:

  • Added migration (v200) to automatically add the DuckDuckGo provider for existing users, following the same pattern as other local providers.

The following alternatives were considered:

  • None

Links to places where the discussion took place: N/A

Breaking changes

None

Special notes for your reviewer

N/A

Checklist

This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.

Release note

Add DuckDuckGo as a new free web search provider option. No API key required; uses local browser-based search like Baidu and Bing.

@MaoJianwei
Copy link

Great

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.

2 participants