an independent Bluesky client using Constellation, PDS Queries, and other services reddwarf.app
frontend spa bluesky reddwarf microcosm client app
99
fork

Configure Feed

Select the types of activity you want to include in your feed.

at efb287ec9c4370f9f40206c7e8c242ff73f70aa9 14 lines 681 B view raw
1import { BrowserOAuthClient, type ClientMetadata } from '@atproto/oauth-client-browser'; 2 3// i tried making this https://pds-nd.whey.party but cors is annoying as fuck 4const handleResolverPDS = 'https://bsky.social'; 5 6// eslint-disable-next-line @typescript-eslint/ban-ts-comment 7// @ts-ignore this should be fine ? the vite plugin should generate this before errors 8import clientMetadata from '../../public/client-metadata.json' with { type: 'json' }; 9 10export const oauthClient = new BrowserOAuthClient({ 11 // The type assertion is needed because the static import isn't strictly typed 12 clientMetadata: clientMetadata as ClientMetadata, 13 handleResolver: handleResolverPDS, 14});