Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Delete unused fake data, update bottom bar avi

+3 -203
+3 -203
src/lib/demo.ts
··· 1 1 import {type AppBskyFeedGetFeed} from '@atproto/api' 2 - import {subDays,subMinutes} from 'date-fns' 2 + import {subDays, subMinutes} from 'date-fns' 3 3 4 4 const DID = `did:plc:z72i7hdynmk6r22z27h6tvur` 5 5 const NOW = new Date() ··· 169 169 labels: [], 170 170 }, 171 171 }, 172 - /* 173 - { 174 - post: { 175 - uri: 'at://did:plc:5o6k7jvowuyaquloafzn3cfw/app.bsky.feed.post/3lng6lkuhxc2s', 176 - cid: 'bafyreifwapmjx76kz5lkoeejfoes4ct2xhyycfyxwccmyr3mtxht5juyli', 177 - author: { 178 - did: 'did:plc:5o6k7jvowuyaquloafzn3cfw', 179 - handle: 'johndoe.org', 180 - displayName: 'John Doe', 181 - avatar: 182 - 'https://cdn.bsky.app/img/avatar/plain/did:plc:5o6k7jvowuyaquloafzn3cfw/bafkreierrwtdsf5quwprs2xqmmh2lu2k7au2cibyegfpard6wqyjs7nd6i@jpeg', 183 - 184 - viewer: { 185 - muted: false, 186 - blockedBy: false, 187 - following: 188 - 'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3kcvvfzq6o32a', 189 - followedBy: 190 - 'at://did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.graph.follow/3jwawchotz22h', 191 - }, 192 - labels: [], 193 - createdAt: '2023-05-16T02:37:39.269Z', 194 - }, 195 - record: { 196 - $type: 'app.bsky.feed.post', 197 - createdAt: '2025-04-22T17:15:53.178Z', 198 - langs: ['en'], 199 - text: "I'm running out of ideas for these fake posts. Alas, such is the demands of modern life. Do you like blueberries? Just remembered that blueberries are delicious! They're so tasty! I can't wait to try them!", 200 - }, 201 - replyCount: 13, 202 - repostCount: 121, 203 - likeCount: 345, 204 - quoteCount: 6, 205 - indexedAt: '2025-04-22T17:15:53.351Z', 206 - viewer: { 207 - threadMuted: false, 208 - embeddingDisabled: false, 209 - }, 210 - labels: [], 211 - }, 212 - }, 213 - { 214 - post: { 215 - uri: 'at://did:plc:5ywatwbfxoecxgb4xq6ods72/app.bsky.feed.post/3lng5w2fbvs2g', 216 - cid: 'bafyreigi7d57fudzoybe4u6w7friw6ydz3pmzrdu3bvjwb5mvsvlprk23y', 217 - author: { 218 - did: 'did:plc:5ywatwbfxoecxgb4xq6ods72', 219 - handle: 'cooking.bsky.social', 220 - displayName: 'cooking tips', 221 - avatar: 222 - 'https://cdn.bsky.app/img/avatar/plain/did:plc:5ywatwbfxoecxgb4xq6ods72/bafkreibbsuyy25elibbys5vx25cnkcs6g4ih6dozypa4bomwhkwsi6f5wa@jpeg', 223 - 224 - viewer: { 225 - muted: false, 226 - blockedBy: false, 227 - following: 228 - 'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3kcvvfzq6o32a', 229 - followedBy: 230 - 'at://did:plc:vwzwgnygau7ed7b7wt5ux7y2/app.bsky.graph.follow/3jwawchotz22h', 231 - }, 232 - labels: [], 233 - createdAt: '2024-05-28T00:18:08.531Z', 234 - }, 235 - record: { 236 - $type: 'app.bsky.feed.post', 237 - createdAt: '2025-04-22T17:03:51.259Z', 238 - langs: ['en'], 239 - text: 'and another thing. I have more things to say. I think. I forget :/', 240 - }, 241 - replyCount: 1, 242 - repostCount: 4, 243 - likeCount: 20, 244 - quoteCount: 0, 245 - indexedAt: '2025-04-22T17:03:52.050Z', 246 - viewer: { 247 - threadMuted: false, 248 - embeddingDisabled: false, 249 - }, 250 - labels: [], 251 - }, 252 - }, 253 - { 254 - post: { 255 - uri: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3lng5izl7kc2c', 256 - cid: 'bafyreicsich65s4rq526rek5jmvd6djtcmr7kdavw26rrnf424awgvia7i', 257 - author: { 258 - did: 'did:plc:fpruhuo22xkm5o7ttr2ktxdo', 259 - handle: 'danabra.mov', 260 - displayName: 'dan', 261 - avatar: 262 - 'https://cdn.bsky.app/img/avatar/plain/did:plc:fpruhuo22xkm5o7ttr2ktxdo/bafkreif43mhqajnbnl62u3ezf37g6x22nd762im54thxbil4ga46eugcga@jpeg', 263 - associated: { 264 - chat: { 265 - allowIncoming: 'all', 266 - }, 267 - }, 268 - viewer: { 269 - muted: false, 270 - blockedBy: false, 271 - following: 272 - 'at://did:plc:p2cp5gopk7mgjegy6wadk3ep/app.bsky.graph.follow/3jtdzgbbysa2y', 273 - followedBy: 274 - 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.graph.follow/3k7ht6lwu6t2a', 275 - }, 276 - labels: [], 277 - createdAt: '2023-04-08T20:19:22.589Z', 278 - verification: { 279 - verifications: [ 280 - { 281 - issuer: 'did:plc:z72i7hdynmk6r22z27h6tvur', 282 - uri: 'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.verification/3lndpxompy32z', 283 - isValid: true, 284 - createdAt: '2025-04-21T10:48:53.876Z', 285 - }, 286 - ], 287 - verifiedStatus: 'valid', 288 - trustedVerifierStatus: 'none', 289 - }, 290 - }, 291 - record: { 292 - $type: 'app.bsky.feed.post', 293 - createdAt: '2025-04-22T16:56:34.198Z', 294 - langs: ['en'], 295 - text: 'maybe i should write something about vercel at some point', 296 - }, 297 - replyCount: 10, 298 - repostCount: 1, 299 - likeCount: 84, 300 - quoteCount: 1, 301 - indexedAt: '2025-04-22T16:56:34.356Z', 302 - viewer: { 303 - threadMuted: false, 304 - replyDisabled: false, 305 - embeddingDisabled: false, 306 - }, 307 - labels: [], 308 - threadgate: { 309 - uri: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.threadgate/3lng5izl7kc2c', 310 - cid: 'bafyreic4wpsh5wrmjvbngt7som5436xzjhdnld3mxnkzyhj2i4vh6lpefa', 311 - record: { 312 - $type: 'app.bsky.feed.threadgate', 313 - allow: [ 314 - { 315 - $type: 'app.bsky.feed.threadgate#followerRule', 316 - }, 317 - { 318 - $type: 'app.bsky.feed.threadgate#followingRule', 319 - }, 320 - { 321 - $type: 'app.bsky.feed.threadgate#mentionRule', 322 - }, 323 - ], 324 - createdAt: '2025-04-22T16:56:34.200Z', 325 - hiddenReplies: [], 326 - post: 'at://did:plc:fpruhuo22xkm5o7ttr2ktxdo/app.bsky.feed.post/3lng5izl7kc2c', 327 - }, 328 - lists: [], 329 - }, 330 - }, 331 - }, 332 - { 333 - post: { 334 - uri: 'at://did:plc:77tdak46psveqneyegsdyc7l/app.bsky.feed.post/3lnft75ivlc27', 335 - cid: 'bafyreic24reeweaymcfe6hdsuhmffazdpa5hoqyculxrdp2sr7xkoehgay', 336 - author: { 337 - did: 'did:plc:77tdak46psveqneyegsdyc7l', 338 - handle: 'werd.io', 339 - displayName: 'Ben Werdmuller', 340 - avatar: 341 - 'https://cdn.bsky.app/img/avatar/plain/did:plc:77tdak46psveqneyegsdyc7l/bafkreicoqtayuefjlw73nrx4c7sioc3ujq74uisgbh4ddmuamevjwzt4fu@jpeg', 342 - associated: { 343 - chat: { 344 - allowIncoming: 'following', 345 - }, 346 - }, 347 - viewer: { 348 - muted: false, 349 - blockedBy: false, 350 - }, 351 - labels: [], 352 - createdAt: '2023-03-07T15:40:54.229Z', 353 - }, 354 - record: { 355 - $type: 'app.bsky.feed.post', 356 - createdAt: '2025-04-22T13:52:05.353Z', 357 - langs: ['en'], 358 - text: 'This is obvious, but if people broadly rely on a black box to give them answers that help them understand the world, whoever controls the black box controls those answers and therefore the understanding that comes from them.\n\nOpenness is safety.', 359 - }, 360 - replyCount: 10, 361 - repostCount: 84, 362 - likeCount: 432, 363 - quoteCount: 2, 364 - indexedAt: '2025-04-22T13:52:05.755Z', 365 - viewer: { 366 - threadMuted: false, 367 - embeddingDisabled: false, 368 - }, 369 - labels: [], 370 - }, 371 - }, 372 - */ 373 172 ], 374 173 } satisfies AppBskyFeedGetFeed.OutputSchema 375 174 376 - export const BOTTOM_BAR_AVI = 'https://bsky.social/about/hero-social-card.webp' 175 + export const BOTTOM_BAR_AVI = 176 + 'https://cdn.bsky.app/img/avatar/plain/did:plc:3jpt2mvvsumj2r7eqk4gzzjz/bafkreibrhptgequemf4anrjxgbf5lpgo6szvjobjcxyvt76ui7jtvebrfa@jpeg'