Skip to content

✨ Feature: add browser SDK for PicGo Cloud - #1

Merged
Molunerfinn merged 8 commits into
mainfrom
feat-cloud-sdk
Sep 23, 2026
Merged

Molunerfinn merged 8 commits into
mainfrom
feat-cloud-sdk

Conversation

@Molunerfinn

@Molunerfinn Molunerfinn commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Add @picgo/cloud-sdk, a zero-runtime-dependency TypeScript SDK for third-party browser applications. Users provide their own PicGo Cloud token to upload files, list and inspect media, edit metadata, and delete individual or batches of media.

The SDK provides progress reporting, pause/resume/cancel, persistent upload recovery, a required MediaItem.url for every media type, typed errors, ESM output, and type declarations. English and Chinese documentation covers application integration and SDK usage. A local playground supports PICGO_API_URL configuration through .env; its public examples use the standard PicGo Cloud API URL.

Validation: TypeScript, ESLint, 53 SDK tests, 5 development/release tests, build, actionlint, package inspection, and npm publish dry-run passed. Browser checks covered uploads, recovery, media operations, and API error handling. Authenticated end-to-end testing against the live service remains pending.

Tag-triggered npm publishing uses Trusted Publishing (OIDC), validates tag/version and main-branch ancestry, and publishes the verified tarball with provenance. No package has been published by this work.

Release preparation uses @picgo/bump-version 3 with the PicGo commit convention, Commitizen, and commitlint hooks. pnpm release:dry previews version/changelog changes; pnpm release prepares the release commit and tag for the existing npm workflow. Dependency installation, frozen-lockfile installation, commitlint configuration, and the no-mutation release preview were verified.

@Molunerfinn Molunerfinn changed the title feat: add browser SDK for PicGo Cloud ✨ Feature: add browser SDK for PicGo Cloud Sep 23, 2026
@Molunerfinn
Molunerfinn merged commit a6d5cb0 into main Sep 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant