this repo has no description
atproto bluesky typescript express

idk what to do

+6 -19
+2 -11
src/lib/feed.ts
··· 1 1 import { AtpAgent } from "@atproto/api"; 2 2 3 - export async function getFeed( 4 - agent: AtpAgent, 5 - did: string, 6 - record: string, 7 - cursor?: string, 8 - ) { 3 + export async function getFeed(agent: AtpAgent, did: string, record: string, cursor?: string) { 9 4 const response = await agent.app.bsky.feed.getFeed({ 10 5 feed: "at://" + did + "/app.bsky.feed.generator/" + record, 11 6 cursor: cursor, ··· 13 8 return response.data; 14 9 } 15 10 16 - export async function getFeedData( 17 - agent: AtpAgent, 18 - did: string, 19 - record: string, 20 - ) { 11 + export async function getFeedData(agent: AtpAgent, did: string, record: string) { 21 12 const response = await agent.app.bsky.feed.getFeedGenerators({ 22 13 feeds: ["at://" + did + "/app.bsky.feed.generator/" + record], 23 14 });
+4 -8
src/reviews.ts
··· 2 2 { 3 3 name: "Matt Mullenweg", 4 4 title: "Automattic CEO", 5 - review: 6 - "Bluesky proves that it is computationally possible to solve the problems of Twitter-like social networking in a distributed fashion, with a clean user experience. That is really exciting to me.", 5 + review: "Bluesky proves that it is computationally possible to solve the problems of Twitter-like social networking in a distributed fashion, with a clean user experience. That is really exciting to me.", 7 6 }, 8 7 { 9 8 name: "mondyspartan", 10 9 title: "Graphic Designer", 11 - review: 12 - "We're now getting the YT2009 equivalent of Bsky. In a way that it simulates the look and feel of older Twitter.", 10 + review: "We're now getting the YT2009 equivalent of Bsky. In a way that it simulates the look and feel of older Twitter.", 13 11 }, 14 12 { 15 13 name: "massacre", ··· 19 17 { 20 18 name: "Allison", 21 19 title: "aka ArchiverXP", 22 - review: 23 - 'read bleating heart on <a href="https://bleatingheart.webcomic.ws/comics/1/">https://bleatingheart.webcomic.ws/comics/1/</a>', 20 + review: 'read bleating heart on <a href="https://bleatingheart.webcomic.ws/comics/1/">https://bleatingheart.webcomic.ws/comics/1/</a>', 24 21 }, 25 22 { 26 23 name: "amyot2008", 27 24 title: "aka amyoteus", 28 - review: 29 - "bsky is the new way of communication, now we don't need to constantly send e-mails or SMS messages to our friends just to notify them what are we doing currently!", 25 + review: "bsky is the new way of communication, now we don't need to constantly send e-mails or SMS messages to our friends just to notify them what are we doing currently!", 30 26 }, 31 27 ]; 32 28