From a38c3686c8f022cb861ed7b9bd2cfceb610134d2 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sat, 17 Jan 2026 13:38:51 +0000 Subject: [PATCH] feat: implement runtime discovery of post (#1796) --- app/components/BlueskyComment.vue | 113 ++-------- app/pages/blog/[article].vue | 19 +- modules/bsky-comments.ts | 201 ++++++++++++------ .../server/discover-bluesky-post.get.ts | 46 ++++ package.json | 1 + pnpm-lock.yaml | 8 + shared/utils/bluesky.ts | 76 +++++++ test/unit/bundle.spec.ts | 6 +- 8 files changed, 299 insertions(+), 171 deletions(-) create mode 100644 modules/runtime/server/discover-bluesky-post.get.ts create mode 100644 shared/utils/bluesky.ts diff --git a/app/components/BlueskyComment.vue b/app/components/BlueskyComment.vue index 85f1b271..21026785 100644 --- a/app/components/BlueskyComment.vue +++ b/app/components/BlueskyComment.vue @@ -1,11 +1,10 @@ @@ -190,12 +111,12 @@ const maxDepth = 4