fork of https://forged.synth.download/sd/pds-dash but with my cool and awesome customization!
0
fork

Configure Feed

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

use bsky cdn for images

zenfyr 5ac84f41 3096bcb3

+5 -5
+1 -1
src/lib/AccountComponent.svelte
··· 10 10 <img 11 11 id="avatar" 12 12 alt="avatar of {account.displayName}" 13 - src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={account.did}&cid={account.avatarCid}" 13 + src="https://cdn.bsky.app/img/avatar/plain/{account.did}/{account.avatarCid}@webp" 14 14 /> 15 15 <div id="accountName"> 16 16 {account.displayName || account.handle || account.did}
+4 -4
src/lib/PostComponent.svelte
··· 27 27 if (!post.imagesCid || index < 0 || index >= post.imagesCid.length) return; 28 28 29 29 const img = new Image(); 30 - img.src = `${Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did=${post.authorDid}&cid=${post.imagesCid[index]}`; 30 + img.src = `https://cdn.bsky.app/img/feed_fullsize/plain/${post.authorDid}/${post.imagesCid[index]}@webp`; 31 31 } 32 32 33 33 // Preload adjacent images when current index changes ··· 61 61 {#if post.authorAvatarCid} 62 62 <img 63 63 id="avatar" 64 - src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={post.authorDid}&cid={post.authorAvatarCid}" 64 + src="https://cdn.bsky.app/img/avatar/plain/{post.authorDid}/{post.authorAvatarCid}@webp" 65 65 alt="avatar of {post.displayName}" 66 66 /> 67 67 {/if} ··· 105 105 <img 106 106 id="embedImages" 107 107 alt="Post Image {currentImageIndex + 1} of {post.imagesCid.length}" 108 - src="{Config.PDS_URL}/xrpc/com.atproto.sync.getBlob?did={post.authorDid}&cid={post 109 - .imagesCid[currentImageIndex]}" 108 + src="https://cdn.bsky.app/img/feed_fullsize/plain/{post.authorDid}/{post 109 + .imagesCid[currentImageIndex]}@webp" 110 110 /> 111 111 112 112 {#if post.imagesCid.length > 1}