English | 简体中文
Source and published build of the official website for the WE Backdrop Augmentation Protocol (BAP) — an open, interoperable protocol that lets Wallpaper Engine wallpapers and components mix. Create freely, connect seamlessly, compose your way.
Live site: https://backdrop-augmentation-protocol.github.io/
- React 18 + Vite 5
- Bilingual Chinese / English UI
- GitHub Pages deployment through
.github/workflows/deploy-pages.yml
| Path | Purpose |
|---|---|
app/ |
React source, Vite config, and the Companion download page |
app/src/ |
App.jsx, Scrollytelling.jsx, CompanionDownloadPage.jsx, styles, and release metadata |
app/public/ |
Static assets copied into the build |
app/scripts/ |
sync-companion-release.mjs, which refreshes Companion release metadata |
assets/ |
Built JS/CSS bundles referenced by the published entry pages |
index.html, companion.html |
Published entry pages |
demo/, works/ |
Demo video and showcase images |
.github/workflows/deploy-pages.yml |
Build and deploy workflow |
cd app
npm install
npm run dev # start the Vite dev server
npm run build # production build to app/dist
npm run preview # preview the production buildTo refresh the Companion release information:
cd app
npm run sync:companion-releaseSet BAP_COMPANION_RELEASE_TAG to pin a specific release tag; leave it unset to use the latest
published release.
The Pages workflow checks out the repository, syncs Companion release metadata, runs npm ci and
npm run build inside app/, and deploys app/dist. It runs on manual dispatch and on the
bap_companion_release_published repository dispatch event.
- spec — protocol specification
- companion — Companion application
- component-sdk — component SDK
- host-sdk — host SDK
- conformance — conformance tests
- examples — example components