[READ ONLY MIRROR] Spark Social AppView Server github.com/sprksocial/server
atproto deno hono lexicon
5
fork

Configure Feed

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

use bsky cdn for now

+2 -2
+2 -2
services/appview/src/utils/post-transformer.ts
··· 49 49 embed = { 50 50 $type: 'so.sprk.embed.images#view', 51 51 images: post.embed.images.map((img: any) => ({ 52 - thumb: `https://cdn.sprk.so/image/${post.authorDid}/${img.image.ref.$link}`, 53 - fullsize: `https://cdn.sprk.so/image/${post.authorDid}/${img.image.ref.$link}`, 52 + thumb: `https://cdn.bsky.app/img/feed_thumbnail/plain/${post.authorDid}/${img.image.ref.$link}@jpeg`, 53 + fullsize: `https://cdn.bsky.app/img/feed_fullsize/plain/${post.authorDid}/${img.image.ref.$link}@jpeg`, 54 54 alt: img.alt, 55 55 aspectRatio: img.aspectRatio, 56 56 })),