Import Instagram archive to a Bluesky account
9
fork

Configure Feed

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

removed buffer since it made the payload too large and bsky only wants the blob ref.

+2 -4
+1 -3
src/bluesky/types/ImageEmbed.ts
··· 9 9 alt: string; 10 10 image: BlobRef; 11 11 mimeType: string; 12 - uploadData?: Buffer | Blob; 13 12 } 14 13 15 14 /** ··· 22 21 constructor( 23 22 public alt: string, 24 23 public image: BlobRef, 25 - public mimeType: string, 26 - public uploadData?: Buffer | Blob 24 + public mimeType: string 27 25 ) {} 28 26 29 27 toJSON() {
+1 -1
src/instagram-to-bluesky.ts
··· 219 219 mimeType! 220 220 ); 221 221 embeddedImages.push( 222 - new ImageEmbedImpl(postText, blobRef, mimeType!, mediaBuffer!) 222 + new ImageEmbedImpl(postText, blobRef, mimeType!) 223 223 ); 224 224 } 225 225