Skip to content

Add You.com web search provider - #125

Open
tra371 wants to merge 1 commit into
aingdesk:mainfrom
Cooperation-org:feature/youchannels-search
Open

Add You.com web search provider#125
tra371 wants to merge 1 commit into
aingdesk:mainfrom
Cooperation-org:feature/youchannels-search

Conversation

@tra371

@tra371 tra371 commented Jul 2, 2026

Copy link
Copy Markdown

Summary

  • Add You.com as a built-in web search provider for AingDesk's existing online search flow.
  • Expose You.com in the default search engine selector with an English-only label.
  • Document the runtime environment variable YDC_API_KEY required for You.com search.
  • Add focused tests for You.com response mapping and provider registration.

Validation

  • npx vitest run electron/search_engines/youchannels.test.ts -> 8 tests passed
  • Live smoke test with YDC_API_KEY against ydc-index.io/v1/search -> returned 10 results

Notes

  • Uses X-API-Key auth header per the You.com OpenAPI spec
  • YDC_API_KEY is read at runtime and is not committed.

{ label: $t("百度"), value: "baidu" },
{ label: $t("搜狗"), value: "sogou" },
{ label: $t("360搜索"), value: "360" },
{ label: $t("You.com"), value: "youchannels" },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@tra371 do we know if its desired to have a Chinese language label for You.com ?

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