From 2f53243d6a76603bc854d16e4a08a0728f0fe9a8 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Thu, 23 Jul 2026 09:56:40 -0500 Subject: [PATCH] use typeahead.waow.tech for actor search drop-in swap from bsky's searchActors to the community typeahead endpoint (https://typeahead.waow.tech/docs), with an X-Client header for traffic attribution. Co-Authored-By: Claude Fable 5 --- src/lib/providers/bluesky-search.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/providers/bluesky-search.ts b/src/lib/providers/bluesky-search.ts index 7162245..c4c9405 100644 --- a/src/lib/providers/bluesky-search.ts +++ b/src/lib/providers/bluesky-search.ts @@ -1,4 +1,4 @@ -const BLUESKY_APPVIEW_URL = "https://public.api.bsky.app"; +const TYPEAHEAD_URL = "https://typeahead.waow.tech"; export type BlueskyActorSearchResult = { avatar?: string; @@ -20,8 +20,8 @@ export async function searchBlueskyActors( limit: "8", }); const response = await fetch( - `${BLUESKY_APPVIEW_URL}/xrpc/app.bsky.actor.searchActors?${params}`, - { signal }, + `${TYPEAHEAD_URL}/xrpc/app.bsky.actor.searchActorsTypeahead?${params}`, + { signal, headers: { "X-Client": "haunt" } }, ); if (!response.ok) { -- 2.51.2