- In Stash open Settings → Plugins, scroll to Available Plugins and click Add Source.
- Paste these values:
Namebprpisync/stash Source URLhttps://bprpisync.github.io/stash/main/index.yml Local pathbprpisync-stash
- Expand the new source, tick Random Backgrounds, then click Install.
Adding the source lets Stash show updates for it later.
Open http://localhost:9999/playground, paste this and press ▶. Stash downloads and installs in the background. No source needed.
mutation InstallPlugins {
installPackages(
type: Plugin
packages: [
{ id: "stash-randomBackgrounds", sourceURL: "https://bprpisync.github.io/stash/main/index.yml" }
]
)
}
Run in a terminal that can reach your Stash. Add your API key in Your Stash below if Stash has a login.
curl -X POST 'http://localhost:9999/graphql' \
-H 'Content-Type: application/json' \
--data '{"query":"mutation($p:[PackageSpecInput!]!){installPackages(type:Plugin,packages:$p)}","variables":{"p":[{"id":"stash-randomBackgrounds","sourceURL":"https://bprpisync.github.io/stash/main/index.yml"}]}}'
Merge into plugins: in Stash's config.yml and restart. Keep any sources you already have.
plugins:
package_sources:
- name: bprpisync/stash
url: https://bprpisync.github.io/stash/main/index.yml
local_path: bprpisync-stash
Your Stash: http://localhost:9999