PicGo Cloud Asset Pipeline & Storage Driver

PicGo Cloud Asset Pipeline & Storage Driver

@picgo/dsh-core·v1.3.1·storage

A unified cloud asset pipeline bridging autonomous agents with AWS S3, Cloudflare R2, Aliyun OSS, and Tencent COS. Features automated deduplication, CDN cache warmup, and signed URLs.

Storage-Pipeline · S3 · R2 · Cloud-Assets

GitHubNPM
Installation & Integration
bash
manager:
$ pnpm add @picgo/dsh-core

Architecture

PicGo Pipeline manages asset persistence for autonomous agents. When models generate charts, capture test screenshots, or produce build binaries, local container storage is ephemeral and unreliable. This plugin integrates cloud object storage drivers directly into the Cordis bus. Supporting SHA-256 deduplication, automatic image optimization to WebP, presigned temporary URL generation, and CDN cache warming, PicGo turns runtime visual artifacts into permanent, enterprise-grade cloud assets.

Core Features

01

Broad Multi-Cloud Drivers: Native adapters for AWS S3, Cloudflare R2, OSS, COS, and MinIO

02

Hash-Based Deduplication: Avoids duplicate uploads by matching SHA-256 content signatures

03

Expiring Presigned URLs: Generates time-bounded authorized links for sensitive artifacts

04

Storage Lifecycle Tiers: Automatically shifts aging screenshots into cheaper cold archive tiers

Core Workflow

01

Ingestion & Hash Check

Inspects binary streams and calculates SHA-256 hashes for instant deduplication.

02

Compression & Transcoding

Optimizes image payloads, transcoding to WebP or AVIF for lightweight delivery.

03

Multi-Cloud Upload

Uploads payloads to target buckets via encrypted SSL streams and verifies etags.

04

Signed Link Dispatch

Returns custom CDN URLs or expiring signed tokens ready for markdown embedding.

Configuration Parameters Reference (YAML / JSON)

ParameterTypeDefaultDescription
uploaderstrings3Default cloud storage provider adapter
customDomainstringhttps://cdn.example.comCustom CDN base URL for public asset delivery
autoWebPbooleantrueAutomatically transcode image uploads to WebP