chadtmiller.com/pds.js
An atproto PDS in JavaScript, for Cloudflare Workers and Node
0
0
@pdsjs/blobs-deno
2.5.2
2.5.1
2.5.0
2.4.3
2.4.2
2.4.1
2.4.0
Patch Changes
- 6b79149: Video-ready blob hosting. Blob uploads and downloads stream:
uploadBlobhashes and stages bytes chunk by chunk instead of buffering the body, andgetBlobanswers byte ranges from a streamed read, so a 300 MB video fits through a Durable Object and seeks in a browser. The blob port gains optionalcreateWriterandgetStream; the fs, R2, S3 and Deno stores implement both, and each platform injects its native SHA-256. Drive stores a file as one blob of its own type when the store streams, takes large files across several requests through upload sessions, and offers a Link dialog with the blob ref any record can embed. The Worker serves public blobs through the edge cache, and a site's/.blobs/route serves ranges and now applies the same space-privacy filter asgetBlob. A newvideos.mjsexample app is a gallery over the drive's videos. The node server accepts ablobUploadLimitoption (PDS_BLOB_UPLOAD_LIMITin the example), which Bluesky video posting needs.