dsh-plugin-git-sync

Packs the third-party plugins installed in a DSH profile into tarballs and pushes them to a GitHub or Gitee repository; another machine pulls the manifest, compares versions and installs only what is missing or out of date. Needs a personal access token with write access to that repository (kept in the DSH credentials service); the tarballs contain each plugin's installed source, so use a private repository.

Overview

Packs the third-party plugins installed in a DSH profile into tarballs and pushes them to a GitHub or Gitee repository; another machine pulls the manifest, compares versions and installs only what is missing or out of date. Needs a personal access token with write access to that repository (kept in the DSH credentials service); the tarballs contain each plugin's installed source, so use a private repository.

Installation

Install from GitHub

dsh plugin --profile web add github:daoyan2142/dsh-plugin-git-sync

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.