atproto explorer
0
fork

Configure Feed

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

add repo export

Juliet a3377067 57de249f

+8 -1
+8 -1
src/views/repo.tsx
··· 19 19 target: string; 20 20 }>(); 21 21 let rpc: XRPC; 22 + let pds: string; 22 23 let did = params.repo; 23 24 24 25 const describeRepo = query( ··· 29 30 30 31 const fetchRepo = async () => { 31 32 if (!did.startsWith("did:")) did = await resolveHandle(params.repo); 32 - const pds = await resolvePDS(did); 33 + pds = await resolvePDS(did); 33 34 rpc = new XRPC({ handler: new CredentialManager({ service: pds }) }); 34 35 const res = await describeRepo(did); 35 36 setDidDoc(didDocCache[did] as DidDocument); ··· 141 142 <div class="i-tabler-external-link ml-0.5 text-xs" /> 142 143 </a> 143 144 </Show> 145 + <a 146 + href={`${pds}/xrpc/com.atproto.sync.getRepo?did=${did}`} 147 + class="text-lightblue-500 flex w-fit items-center hover:underline" 148 + > 149 + Export repo 150 + </a> 144 151 <Show when={backlinks()}> 145 152 {(backlinks) => ( 146 153 <div class="mt-2 border-t border-neutral-500 pt-2">